mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
Refactor knowledge configuration parameters in CrewAI
- Renamed `limit` to `results_limit` in `KnowledgeConfig`, `query_knowledge`, and `query` methods for consistency and clarity. - Updated related documentation to reflect the new parameter name, ensuring users understand the configuration options for knowledge retrieval.
This commit is contained in:
@@ -2,5 +2,5 @@ from pydantic import BaseModel
|
||||
|
||||
|
||||
class KnowledgeConfig(BaseModel):
|
||||
limit: int = 3
|
||||
results_limit: int = 3
|
||||
score_threshold: float = 0.35
|
||||
|
||||
Reference in New Issue
Block a user