- Remove use_combined_context parameter from search functions - Remove CombinedSearchResult class from types module - Update API routers to remove combined search support - Remove prepare_combined_context helper function - Update tutorial notebook to remove use_combined_context usage - Simplify search return types to always return List[SearchResult] This removes the combined search feature which aggregated results across multiple datasets into a single response. Users can still search across multiple datasets and get results per dataset. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
31 lines
1.1 KiB
Python
31 lines
1.1 KiB
Python
await cognee.add(
|
|
"d18g11dwdlgfey.cloudfront.net/tutorials/python-development-with-cognee/data/copilot_conversations.json",
|
|
node_set=["developer_data"],
|
|
dataset_name="python-development-with-cognee",
|
|
)
|
|
|
|
await cognee.add(
|
|
"d18g11dwdlgfey.cloudfront.net/tutorials/python-development-with-cognee/data/my_developer_rules.md",
|
|
node_set=["developer_data"],
|
|
dataset_name="python-development-with-cognee",
|
|
)
|
|
|
|
await cognee.add(
|
|
"d18g11dwdlgfey.cloudfront.net/tutorials/python-development-with-cognee/data/zen_principles.md",
|
|
node_set=["principles_data"],
|
|
dataset_name="python-development-with-cognee",
|
|
)
|
|
|
|
await cognee.add(
|
|
"d18g11dwdlgfey.cloudfront.net/tutorials/python-development-with-cognee/data/pep_style_guide.md",
|
|
node_set=["principles_data"],
|
|
dataset_name="python-development-with-cognee",
|
|
)
|
|
|
|
await cognee.cognify(datasets=["python-development-with-cognee"], temporal_cognify=True)
|
|
|
|
results = await cognee.search(
|
|
"What Python type hinting challenges did I face, and how does Guido approach similar problems in mypy?",
|
|
datasets=["python-development-with-cognee"],
|
|
)
|
|
print(results)
|