io.github.quafadas.dairect.AssistantMetaData.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api_3 Show documentation
Show all versions of api_3 Show documentation
Open AI API and examples
The newest version!
package io.github.quafadas.dairect
import smithy4s.Hints
import smithy4s.Newtype
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.schema.Schema.bijection
import smithy4s.schema.Schema.map
import smithy4s.schema.Schema.string
object AssistantMetaData extends Newtype[Map[String, String]] {
val id: ShapeId = ShapeId("io.github.quafadas.dairect", "AssistantMetaData")
val hints: Hints = Hints.empty
val underlyingSchema: Schema[Map[String, String]] = map(string, string).withId(id).addHints(hints)
implicit val schema: Schema[AssistantMetaData] = bijection(underlyingSchema, asBijection)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy