docs: Update README to clarify support for OpenAI-compatible endpoints
This commit is contained in:
parent
23bb7f3654
commit
ce4bd81f42
|
@ -25,13 +25,15 @@ go get gopkg.in/yaml.v3
|
||||||
Create a configuration file at `~/.config/gonamer.yaml` with the following structure:
|
Create a configuration file at `~/.config/gonamer.yaml` with the following structure:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apikey: "your-openai-api-key"
|
apikey: "your-api-key"
|
||||||
model: "gpt-4-vision-preview"
|
model: "gpt-4-vision-preview"
|
||||||
endpoint: "https://api.openai.com/v1/chat/completions"
|
endpoint: "https://api.openai.com/v1/chat/completions"
|
||||||
temperature: 0.7
|
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
|
## Usage
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue