mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-17 07:31:42 +03:00
d2b4ef4aff
* ✨ get all knowledge utils * ✨ add remove knowledge and update router * ✨ new knowledge provider * 🚨 remove eslint -disable * ✨ new useKnowledgeApi * ✨ set up KnowledgeItem * ✨ add KnowledgeTable component in knowledge tab * 🔥 remove DocumentData replaced by KnowledgeItem * 🐛 fix weird characters instead of '/' * 💄 truncate knowledge name * ✨ add DownloadUploadedKnowledge component * ⚰️ unused code * 🏷️ introduce UploadedKnowledge and CrawledKnowledge types * 💄 remove thread * 💄 bin for delete knowledge * 🌐 update wording for knowledge tab * 🔇 remove logs and comments
7 lines
175 B
TypeScript
7 lines
175 B
TypeScript
import { UUID } from "crypto";
|
|
|
|
const brainDataKey = "quivr-knowledge";
|
|
|
|
export const getKnowledgeDataKey = (knowledgeId: UUID): string =>
|
|
`${brainDataKey}-${knowledgeId}`;
|