ArchAstro. V1. Ai. Chat
(archastro v0.2.0)
Copy Markdown
Chat API resource.
Summary
Functions
List available AI models
Functions
@spec models(ArchAstro.Client.t()) :: {:ok, ArchAstro.Types.Operations.GetApiV1AiChatModels.Response.t()} | {:error, ArchAstro.Error.reason()}
List available AI models
Returns the set of AI models that can be used with the chat completion and workflow endpoints. The list reflects models currently enabled for the platform and includes each model's identifier and whether it is the default.
Use the model field from any entry in data as the value for
opts.model when calling the completions or workflows endpoint.
Successful response