Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
interface AzureAI

Docs: https://learn.microsoft.com/en-us/azure/ai-studio/reference

Link copied to clipboard
interface AzureAIAction<R> : Action<Result<R, RemoteFailure>>
Link copied to clipboard
typealias AzureAIApiKey = ApiKey
Link copied to clipboard
@KotshiJsonAdapterFactory
object AzureAIJsonAdapterFactory : JsonAdapter.Factory
Link copied to clipboard
object AzureAIMoshi : ConfigurableMoshi
Link copied to clipboard
class AzureHost
Link copied to clipboard
Link copied to clipboard
typealias CompletionId = ResponseId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
typealias GitHubToken = ApiKey
Link copied to clipboard
Link copied to clipboard
class ModelType
Link copied to clipboard
class ObjectId
Link copied to clipboard
Link copied to clipboard
typealias Prompt = UserPrompt
Link copied to clipboard
class Region
Link copied to clipboard
class TokenId
Link copied to clipboard
class User

Properties

Link copied to clipboard
val StopReason.Companion.content_filter: StopReason
Link copied to clipboard
val StopReason.Companion.length: StopReason
Link copied to clipboard
val StopReason.Companion.stop: StopReason
Link copied to clipboard
val StopReason.Companion.tool_calls: StopReason

Functions

Link copied to clipboard
fun AzureAI.Companion.Http(token: ApiKey, http: <Error class: unknown class> = JavaHttpClient()): AzureAI

Use this API with GitHubModels

fun AzureAI.Companion.Http(resource: AzureResource, region: Region, token: ApiKey, http: <Error class: unknown class> = JavaHttpClient()): AzureAI

Use this API with Azure resources

fun AzureAI.Companion.Http(token: ApiKey, host: AzureHost, region: Region, http: <Error class: unknown class> = JavaHttpClient(), apiVersion: ApiVersion = PREVIEW, extraParameters: ExtraParameters? = null, deployment: Deployment? = null): AzureAI