package
Version:
v0.0.0-...-e3ae68d
Opens a new window with list of versions in this module.
Published: Aug 23, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
OpenAIURL = "https://api.openai.com/v1"
OllamaURL = "http://localhost:11434/v1"
GeminiURL = "https://generativelanguage.googleapis.com/v1beta/openai"
)
NewClient returns a chat client that can begin chat sessions with an LLM service that speaks
the OpenAI chat completion API.
const (
ChatCompletions API = iota
Responses
)
type Option func(*client)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.