mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 01:21:48 +03:00
ea227df30e
https://github.com/StanGirard/quivr/assets/63923024/08554dd5-2765-436a-b900-48b38d582f6c https://github.com/StanGirard/quivr/issues/1389
3 lines
114 B
TypeScript
3 lines
114 B
TypeScript
export const getChatNameFromQuestion = (question: string): string =>
|
|
question.split(" ").slice(0, 3).join(" ");
|