docstrings added

This commit is contained in:
lorenzejay
2025-04-18 18:25:23 -07:00
parent d7e97ed509
commit 023a32758d

View File

@@ -2,6 +2,13 @@ from pydantic import BaseModel, Field
class KnowledgeConfig(BaseModel):
"""Configuration for knowledge retrieval.
Args:
results_limit (int): The number of relevant documents to return.
score_threshold (float): The minimum score for a document to be considered relevant.
"""
results_limit: int = Field(default=3, description="The number of results to return")
score_threshold: float = Field(
default=0.35,