mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-08-08 14:02:09 +02:00
Address comments
This commit is contained in:
@@ -82,7 +82,9 @@ def load_personas_from_yaml(
|
||||
persona_id=(-1 * p_id) if p_id is not None else None,
|
||||
name=persona["name"],
|
||||
description=persona["description"],
|
||||
num_chunks=persona.get("num_chunks", default_chunks),
|
||||
num_chunks=persona.get("num_chunks")
|
||||
if persona.get("num_chunks") is not None
|
||||
else default_chunks,
|
||||
use_recent_documents=persona.get("use_recent_documents", False),
|
||||
num_days=persona.get("num_days"),
|
||||
llm_relevance_filter=persona.get("llm_relevance_filter"),
|
||||
|
@@ -1,9 +1,9 @@
|
||||
fastapi==0.109.2
|
||||
h5py==3.10.0
|
||||
h5py==3.9.0
|
||||
pydantic==1.10.13
|
||||
safetensors==0.4.2
|
||||
sentence-transformers==2.6.1
|
||||
tensorflow==2.16.1
|
||||
torch==2.3.1
|
||||
tensorflow==2.15.0
|
||||
torch==2.0.1
|
||||
transformers==4.39.2
|
||||
uvicorn==0.21.1
|
||||
|
Reference in New Issue
Block a user