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:
lorenzejay
2025-04-17 15:49:03 -07:00
parent d93e08a3a6
commit 18db1cd294
4 changed files with 7 additions and 7 deletions

View File

@@ -2,5 +2,5 @@ from pydantic import BaseModel
class KnowledgeConfig(BaseModel):
limit: int = 3
results_limit: int = 3
score_threshold: float = 0.35