Package bg.codexio.ai.openai.api.sdk.chat
package bg.codexio.ai.openai.api.sdk.chat
-
ClassesClassDescriptionConfigures temperature, topP, penalties and seed.A stage to choose a model supported by /v1/chat/completions model endpoint compatibility .Async context to choose between raw response or just a simple string answer.Promise abstraction.Promise abstraction.Entrypoint for Chat Completions API.
The interaction starts by configuring the HTTP connection
either by providing a preconfiguredChatHttpExecutorhttp client,
HttpExecutorContext,SdkAuthor leave it toChat.defaults().Base for all Chat stagesConfigures how the HTTP client to act.Synchronous context to choose between raw response or just a simple string answer.Configures tokens, tools and accuracy/Configures messages such as system and assistant messages.Reactive context to choose between raw response or just a simple string answer.A simplified stage where some things such as AI Model Type and creativity are already configured.Configures the temperature or in other words, the creativity of the model.Configures maxTokens, N(choices) and stop.Configures tools such as functions.