Spaces:
Sleeping
Sleeping
Update configuration/parameters.py
Browse files
configuration/parameters.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
from pydantic import Field, field_validator
|
| 3 |
from typing import Optional
|
| 4 |
import os
|
|
@@ -53,7 +53,7 @@ class Settings(BaseSettings):
|
|
| 53 |
|
| 54 |
# Retriever parameters
|
| 55 |
VECTOR_SEARCH_K: int = 25
|
| 56 |
-
|
| 57 |
VECTOR_FETCH_K: int = 35
|
| 58 |
VECTOR_SCORE_THRESHOLD: float = 0.3
|
| 59 |
BM25_SEARCH_K: int = 8
|
|
|
|
| 1 |
+
from pydantic_settings import BaseSettings, SettingsConfigDict
|
| 2 |
from pydantic import Field, field_validator
|
| 3 |
from typing import Optional
|
| 4 |
import os
|
|
|
|
| 53 |
|
| 54 |
# Retriever parameters
|
| 55 |
VECTOR_SEARCH_K: int = 25
|
| 56 |
+
VECTOR_SEARCH_K_CHROMA: int = 15 # Fixed typo: was VECTOR_Search_K_CHROMA
|
| 57 |
VECTOR_FETCH_K: int = 35
|
| 58 |
VECTOR_SCORE_THRESHOLD: float = 0.3
|
| 59 |
BM25_SEARCH_K: int = 8
|