include insights search in cognee option

This commit is contained in:
Rita Aleksziev 2025-01-22 10:51:08 +01:00
parent 9fec8fd322
commit e0980361a1

View file

@ -70,7 +70,7 @@ def _insight_to_string(triplet: tuple) -> str:
async def get_context_with_cognee(
instance: dict,
task_indices: list[int] = None,
search_types: list[SearchType] = [SearchType.SUMMARIES, SearchType.CHUNKS],
search_types: list[SearchType] = [SearchType.INSIGHTS, SearchType.SUMMARIES, SearchType.CHUNKS],
) -> str:
await cognify_instance(instance, task_indices)