feat: non-english youtube support

This commit is contained in:
Timothy J. Baek committed 2024-05-08 10:47:05 -07:00
1 parent 87daf122db
commit d3822f782c
4 files changed
+73 -3

No files matched your search

+6
View File
@@ -32,10 +32,16 @@ type ChunkConfigForm = {
chunk_overlap: number;
};
type YoutubeConfigForm = {
language: string[];
translation?: string | null;
};
type RAGConfigForm = {
pdf_extract_images?: boolean;
chunk?: ChunkConfigForm;
web_loader_ssl_verification?: boolean;
youtube?: YoutubeConfigForm;
};
export const updateRAGConfig = async (token: string, payload: RAGConfigForm) => {