docs: Update README to clarify support for OpenAI-compatible endpoints

This commit is contained in:
Steve White 2025-01-28 11:23:38 -06:00
parent 23bb7f3654
commit ce4bd81f42
1 changed files with 4 additions and 2 deletions

View File

@ -25,13 +25,15 @@ go get gopkg.in/yaml.v3
Create a configuration file at `~/.config/gonamer.yaml` with the following structure:
```yaml
apikey: "your-openai-api-key"
apikey: "your-api-key"
model: "gpt-4-vision-preview"
endpoint: "https://api.openai.com/v1/chat/completions"
temperature: 0.7
```
Make sure to replace `your-openai-api-key` with your actual OpenAI API key.
Make sure to replace:
- `your-api-key` with your API key
- `endpoint` with your preferred OpenAI-compatible API endpoint (supports OpenAI, Azure OpenAI, or any compatible API provider)
## Usage