AxiomAi.Client (AxiomAI v0.1.9)
View SourceClient struct and core functionality for AxiomAI.
Summary
Functions
Sends a chat message using the configured provider.
Sends a chat message with system prompt, history, and user prompt using the configured provider.
Generates a completion using the configured provider.
Streams a chat message using the configured provider.
Streams a chat message with system prompt, history, and user prompt using the configured provider.
Types
Functions
Sends a chat message using the configured provider.
Sends a chat message with system prompt, history, and user prompt using the configured provider.
Generates a completion using the configured provider.
@spec stream(t(), String.t()) :: {:ok, Enumerable.t()} | {:error, any()}
Streams a chat message using the configured provider.
Streams a chat message with system prompt, history, and user prompt using the configured provider.