Skip to content

Commit bc920ed

Browse files
fix incorrect statement regarding apiKey and env vars for ollama
1 parent ff23c55 commit bc920ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/api/settings.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2635,7 +2635,7 @@ Authentication token Meilisearch should send with each request to the embedder.
26352635

26362636
This field is mandatory if using a protected `rest` embedder.
26372637

2638-
This field is optional for `openAI` and `ollama` embedders. If you don't specify `apiKey`, Meilisearch will attempt to read it from environment variables `OPENAI_API_KEY` and `MEILI_OLLAMA_URL`, respectively.
2638+
This field is optional for `openAI` and `ollama` embedders. If you don't specify `apiKey` when using `openAI`, Meilisearch attempts to read it from the `OPENAI_API_KEY` environment variable.
26392639

26402640
This field is incompatible with `huggingFace` and `userProvided` embedders.
26412641

0 commit comments

Comments
 (0)