1 line
4.8 KiB
JSON
1 line
4.8 KiB
JSON
|
{"createdAt":"2024-06-17T21:23:09.730Z","updatedAt":"2024-07-07T07:02:45.107Z","id":"WaXdrLRNT2zrG54T","name":"Huggin Face tests with supabase","active":false,"nodes":[{"parameters":{"promptType":"define","text":"={{ $json.chatInput }}"},"id":"0e8d9d11-e953-44d2-bcb6-82948225045e","name":"Question and Answer Chain","type":"@n8n/n8n-nodes-langchain.chainRetrievalQa","typeVersion":1.3,"position":[1260,200]},{"parameters":{},"id":"c597eb6f-5e59-468b-a3a5-f79c97377dc5","name":"When clicking ‘Test workflow’","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[280,200]},{"parameters":{"options":{},"requestOptions":{}},"id":"57de20a7-3ab9-44e4-9f2d-3db13467d360","name":"Embeddings HuggingFace Inference1","type":"@n8n/n8n-nodes-langchain.embeddingsHuggingFaceInference","typeVersion":1,"position":[580,420],"credentials":{"huggingFaceApi":{"id":"sG1DWgbq7Q3simy5","name":"HuggingFaceApi account"}}},{"parameters":{"dataType":"binary","loader":"pdfLoader","options":{},"requestOptions":{}},"id":"0f02551e-1588-4b55-8574-06fa612f2a70","name":"Default Data Loader","type":"@n8n/n8n-nodes-langchain.documentDefaultDataLoader","typeVersion":1,"position":[720,400]},{"parameters":{"chunkSize":3000,"chunkOverlap":200,"options":{},"requestOptions":{}},"id":"c6524478-c6f8-4a1b-8bb7-39361d4e5b7d","name":"Recursive Character Text Splitter","type":"@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter","typeVersion":1,"position":[720,580]},{"parameters":{"url":"https://efs.ffspeleo.fr/images/les_cahiers_de_l_efs_n_16_incitation___la_d_couverte_et_la_connaissance_du_milieu_souterrain.pdf","options":{}},"id":"6783c349-9206-43ef-8603-134481cbd1a9","name":"HTTP Request","type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[460,200],"alwaysOutputData":true},{"parameters":{"mode":"insert","tableName":{"__rl":true,"value":"documents","mode":"list","cachedResultName":"documents"},"options":{}},"id":"aaa76c46-9b18-4d2f-8fd6-9aa2174034a3","name":"Supabase Vector Store","type":"@n8n/n8n-nodes-langchain.vectorStoreSupabase","typeVersion":1,"position":[640,200],"credentials":{"supabaseApi":{"id":"CnHxzmO9V8bcBMlt","name":"Supabase account"}}},{"parameters":{"requestOptions":{}},"id":"84743ea0-eed7-4d82-aab3-6cc34dc703de","name":"Vector Store Retriever","type":"@n8n/n8n-nodes-langchain.retrieverVectorStore","typeVersion":1,"position":[1340,400]},{"parameters":{"model":"llama3-70b-8192","options":{},"requestOptions":{}},"id":"2765b0f8-7dd4-45cc-81a9-c4be1aad6287","name":"Groq Chat Model","type":"@n8n/n8n-nodes-langchain.lmChatGroq","typeVersion":1,"position":[1200,420],"credentials":{"groqApi":{"id":"u4SobGEjjuXQixeQ","name":"Groq account"}}},{"parameters":{},"id":"3815c898-cb62-4558-94a4-abdbcd9c8aca","name":"When chat message received","type":"@n8n/n8n-nodes-langchain.chatTrigger","typeVersion":1,"position":[1060,200],"webhookId":"d75b5ef0-5024-4d2d-83fd-e563875d73f0"},{"parameters":{"tableName":{"__rl":true,"value":"documents","mode":"list","cachedResultName":"documents"},"options":{}},"id":"0f2b2d2f-5666-449b-b55c-41a613798aaf","name":"Supabase Vector Store1","type":"@n8n/n8n-nodes-langchain.vectorStoreSupabase","typeVersion":1,"position":[1280,580],"credentials":{"supabaseApi":{"id":"CnHxzmO9V8bcBMlt","name":"Supabase account"}}},{"parameters":{"options":{},"requestOptions":{}},"id":"6f64bca9-62a7-45c5-bc3d-f2c845a75b62","name":"Embeddings HuggingFace Inference","type":"@n8n/n8n-nodes-langchain.embeddingsHuggingFaceInference","typeVersion":1,"position":[1280,780],"credentials":{"huggingFaceApi":{"id":"sG1DWgbq7Q3simy5","name":"HuggingFaceApi account"}}}],"connections":{"Embeddings HuggingFace Inference1":{"ai_embedding":[[{"node":"Supabase Vector Store","type":"ai_embedding","index":0}]]},"Default Data Loader":{"ai_document":[[{"node":"Supabase Vector Store","type":"ai_document","index":0}]]},"Recursive Character Text Splitter":{"ai_textSplitter":[[{"node":"Default Data Loader","type":"ai_textSplitter","index":0}]]},"When clicking ‘Test workflow’":{"main":[[{"node":"HTTP Request","type":"main","index":0}]]},"HT
|