Merge branch 'dev' into feat/add-support-to-start-ui-programmatically

This commit is contained in:
Vasilije 2025-09-11 05:42:28 -07:00 committed by GitHub
commit e91d225cb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View file

@ -43,7 +43,7 @@
**🚀 We launched Cogwit beta (Fully-hosted AI Memory): Sign up [here](https://platform.cognee.ai/)! 🚀** **🚀 We launched Cogwit beta (Fully-hosted AI Memory): Sign up [here](https://platform.cognee.ai/)! 🚀**
Build dynamic memory for Agents and replace RAG using scalable, modular ECL (Extract, Cognify, Load) pipelines. Build dynamic memory for Agents and replace RAG using scalable, modular ECL (Extract, Cognify, Load) pipelines.
@ -174,9 +174,9 @@ Example output:
You can also cognify your files and query using cognee UI. You can also cognify your files and query using cognee UI.
<img src="assets/cognee-ui-2.webp" width="100%" alt="Cognee UI 2"></a> <img src="assets/cognee-new-ui.webp" width="100%" alt="Cognee UI 2"></a>
Try cognee UI out locally [here](https://docs.cognee.ai/how-to-guides/cognee-ui). Try cognee UI by runnning ``` cognee -ui ``` command on your terminal.
## Understand our architecture ## Understand our architecture

BIN
assets/cognee-new-ui.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 KiB

View file

@ -4,6 +4,7 @@ from datetime import datetime
from pydantic import Field from pydantic import Field
from fastapi import Depends, APIRouter from fastapi import Depends, APIRouter
from fastapi.responses import JSONResponse from fastapi.responses import JSONResponse
from fastapi.encoders import jsonable_encoder
from cognee.modules.search.types import SearchType from cognee.modules.search.types import SearchType
from cognee.api.DTO import InDTO, OutDTO from cognee.api.DTO import InDTO, OutDTO
@ -136,7 +137,7 @@ def get_search_router() -> APIRouter:
use_combined_context=payload.use_combined_context, use_combined_context=payload.use_combined_context,
) )
return JSONResponse(content=results) return jsonable_encoder(results)
except PermissionDeniedError: except PermissionDeniedError:
return [] return []
except Exception as error: except Exception as error: