quivr/frontend/lib/api/brain/config.ts
Mamadou DICKO 8172704b61
feat: add public brain page (#1230)
* feat: add brain library button

* feat(Field): add inputClassName key

* feat: add GET brains/public route

* feat: add brains library layout

* feat: add brain subscriber count
2023-09-21 09:35:53 +02:00

10 lines
305 B
TypeScript

const BRAIN_DATA_KEY = "quivr-brains";
export const getBrainDataKey = (brainId: string): string =>
`${BRAIN_DATA_KEY}-${brainId}`;
export const getBrainKnowledgeDataKey = (brainId: string): string =>
`${BRAIN_DATA_KEY}-${brainId}-knowledge`;
export const PUBLIC_BRAINS_KEY = "quivr-public-brains";