Merge branch 'dev' into feat/add-support-to-start-ui-programmatically
This commit is contained in:
commit
e91d225cb1
3 changed files with 5 additions and 4 deletions
|
|
@ -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.
|
||||
|
||||
|
|
@ -174,9 +174,9 @@ Example output:
|
|||
|
||||
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
|
||||
|
||||
|
|
|
|||
BIN
assets/cognee-new-ui.webp
Normal file
BIN
assets/cognee-new-ui.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 446 KiB |
|
|
@ -4,6 +4,7 @@ from datetime import datetime
|
|||
from pydantic import Field
|
||||
from fastapi import Depends, APIRouter
|
||||
from fastapi.responses import JSONResponse
|
||||
from fastapi.encoders import jsonable_encoder
|
||||
|
||||
from cognee.modules.search.types import SearchType
|
||||
from cognee.api.DTO import InDTO, OutDTO
|
||||
|
|
@ -136,7 +137,7 @@ def get_search_router() -> APIRouter:
|
|||
use_combined_context=payload.use_combined_context,
|
||||
)
|
||||
|
||||
return JSONResponse(content=results)
|
||||
return jsonable_encoder(results)
|
||||
except PermissionDeniedError:
|
||||
return []
|
||||
except Exception as error:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue