From f72fe6ed9cc98b6542ff781acb224236b4ea532e Mon Sep 17 00:00:00 2001 From: Andrey Oskin Date: Sun, 12 May 2024 06:40:05 +1100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=9D=20docs(rag=5Fapi):=20Add=20ref?= =?UTF-8?q?erence=20to=20ollama=20docker=20url=20(#2671)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/docs/configuration/rag_api.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/docs/configuration/rag_api.mdx b/pages/docs/configuration/rag_api.mdx index e2f943d9b..fd2602668 100644 --- a/pages/docs/configuration/rag_api.mdx +++ b/pages/docs/configuration/rag_api.mdx @@ -64,10 +64,11 @@ Here are some notable configurations: - `CHUNK_OVERLAP`: The overlap between chunks during text processing. Default is "100". - `EMBEDDINGS_PROVIDER`: The embeddings provider to use. Options are "openai", "azure", "huggingface", "huggingfacetei", or "ollama". Default is "openai". - `EMBEDDINGS_MODEL`: The specific embeddings model to use from the configured provider. Default is dependent on the provider; for "openai", the model is "text-embedding-3-small". +- `OLLAMA_BASE_URL`: It should be provided if RAG API runs in docker and usually is `http://host.docker.internal:11434`. There are several more configuration options. -For a complete list and their descriptions, please refer to the [RAG API repo.](https://github.com/danny-avila/rag_api/) +For a complete list and their descriptions, please refer to the [RAG API repo.](https:\/\/github.com/danny-avila/rag_api/) ## Usage From e9bf6c0ab2b8696ee6d5a00ccf8f16cb4035f777 Mon Sep 17 00:00:00 2001 From: Fuegovic <32828263+fuegovic@users.noreply.github.com> Date: Sat, 11 May 2024 16:52:05 -0400 Subject: [PATCH 2/2] Update rag_api.mdx --- pages/docs/configuration/rag_api.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/configuration/rag_api.mdx b/pages/docs/configuration/rag_api.mdx index fd2602668..e55d22e16 100644 --- a/pages/docs/configuration/rag_api.mdx +++ b/pages/docs/configuration/rag_api.mdx @@ -68,7 +68,7 @@ Here are some notable configurations: There are several more configuration options. -For a complete list and their descriptions, please refer to the [RAG API repo.](https:\/\/github.com/danny-avila/rag_api/) +For a complete list and their descriptions, please refer to the [RAG API repo.](https://github.com/danny-avila/rag_api/) ## Usage