Fix linting
This commit is contained in:
@@ -41,12 +41,14 @@ from .ollama_api import ollama_server_infos
|
||||
# Load environment variables
|
||||
load_dotenv()
|
||||
|
||||
|
||||
class RAGStorageConfig:
|
||||
KV_STORAGE = "JsonKVStorage"
|
||||
DOC_STATUS_STORAGE = "JsonDocStatusStorage"
|
||||
GRAPH_STORAGE = "NetworkXStorage"
|
||||
VECTOR_STORAGE = "NanoVectorDBStorage"
|
||||
|
||||
|
||||
# Initialize rag storage config
|
||||
rag_storage_config = RAGStorageConfig()
|
||||
|
||||
@@ -592,6 +594,7 @@ class SearchMode(str, Enum):
|
||||
hybrid = "hybrid"
|
||||
mix = "mix"
|
||||
|
||||
|
||||
class QueryRequest(BaseModel):
|
||||
query: str
|
||||
mode: SearchMode = SearchMode.hybrid
|
||||
|
Reference in New Issue
Block a user