mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-09 13:09:40 +00:00
Added embedding provider config (#622)
This commit is contained in:
1 parent
30197cf507
commit
7110fb866f
12 files changed
+166
-26
No files matched your search
@@ -70,6 +70,24 @@ CONFIG["LLM_PROVIDERS"][#CONFIG["LLM_PROVIDERS"]+1] = {
|
||||
}
|
||||
}
|
||||
|
||||
-- Embedding providers for local RAG (Retrieval-Augmented Generation) functionality:
|
||||
CONFIG["EMBEDDING_PROVIDERS"] = {}
|
||||
|
||||
-- An example of an embedding provider configuration:
|
||||
-- CONFIG["EMBEDDING_PROVIDERS"][#CONFIG["EMBEDDING_PROVIDERS"]+1] = {
|
||||
-- ["Id"] = "00000000-0000-0000-0000-000000000000",
|
||||
-- ["Name"] = "<user-friendly name for the embedding provider>",
|
||||
-- ["UsedLLMProvider"] = "SELF_HOSTED",
|
||||
--
|
||||
-- -- Allowed values for Host are: LM_STUDIO, LLAMACPP, OLLAMA, and VLLM
|
||||
-- ["Host"] = "OLLAMA",
|
||||
-- ["Hostname"] = "<https address of the server>",
|
||||
-- ["Model"] = {
|
||||
-- ["Id"] = "<the model ID, e.g., nomic-embed-text>",
|
||||
-- ["DisplayName"] = "<user-friendly name of the model>",
|
||||
-- }
|
||||
-- }
|
||||
|
||||
CONFIG["SETTINGS"] = {}
|
||||
|
||||
-- Configure the update check interval:
|
||||
|
||||
Reference in new issue
Block a user