Merge branch 'main' into itsliamdowd/main

# Conflicts:
#	poetry.lock
This commit is contained in:
Javier Martinez 2024-09-11 16:36:46 +02:00
commit 277f81081f
No known key found for this signature in database
20 changed files with 429 additions and 112 deletions

View file

@ -104,6 +104,7 @@ class DataSettings(BaseModel):
"It will be treated as an absolute path if it starts with /"
)
class LLMSettings(BaseModel):
mode: Literal[
"llamacpp",
@ -196,7 +197,14 @@ class HuggingFaceSettings(BaseModel):
class EmbeddingSettings(BaseModel):
mode: Literal[
"huggingface", "openai", "azopenai", "sagemaker", "ollama", "mock", "gemini", "mistralai"
"huggingface",
"openai",
"azopenai",
"sagemaker",
"ollama",
"mock",
"gemini",
"mistralai",
]
ingest_mode: Literal["simple", "batch", "parallel", "pipeline"] = Field(
"simple",