package
1.0.1
Repository: https://github.com/datadog/documentor.git
Documentation: pkg.go.dev

# Packages

Package anthropic provides a client wrapper for the Anthropic API that complies with the ai.Provider interface.
Package openai provides a client wrapper for the OpenAI API that complies with the ai.Provider interface.

# Functions

NewRequest returns a new Request instance for a text-based user prompt.
NewRequestWithImage returns a new Request instance for an user prompt with a base64-encoded image attachment.

# Constants

List of supported AI providers.
List of supported AI providers.

# Structs

Request represents an HTTP request to an AI provider's API.

# Interfaces

Provider represents an LLM provider such as OpenAI, Anthropic, Mistral, etc.