openai

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderName = "openai"

Variables

This section is empty.

Functions

func NewOpenAIClient

func NewOpenAIClient(provider, key, model, baseURL string) *openaic.Client

NewOpenAIClient returns an OpenAI-compatible client powered by the official SDK. It reuses the generic compat client to avoid duplication.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL