mirror of
https://github.com/QuivrHQ/quivr.git
synced 2025-01-03 13:15:15 +03:00
70ffa5d6be
* feat: add Knowledge tab * feat: use tanstack query for knowledges fetching
8 lines
242 B
TypeScript
8 lines
242 B
TypeScript
const brainDataKey = "quivr-brains";
|
|
|
|
export const getBrainDataKey = (brainId: string): string =>
|
|
`${brainDataKey}-${brainId}`;
|
|
|
|
export const getBrainKnowledgeDataKey = (brainId: string): string =>
|
|
`${brainDataKey}-${brainId}-knowledge`;
|