diff --git a/Grocq with Redis + Supabase.json b/Grocq with Redis + Supabase.json index 04a3ef6..22230c2 100644 --- a/Grocq with Redis + Supabase.json +++ b/Grocq with Redis + Supabase.json @@ -1 +1 @@ -{"createdAt":"2024-07-07T12:17:31.634Z","updatedAt":"2024-07-07T14:30:01.109Z","id":"zGnRcHR1stcreqZM","name":"Grocq with Redis + Supabase","active":true,"nodes":[{"parameters":{"model":"llama3-70b-8192","options":{},"requestOptions":{}},"id":"fadd999f-1222-437d-91c0-745ef8d99a61","name":"Groq Chat Model","type":"@n8n/n8n-nodes-langchain.lmChatGroq","typeVersion":1,"position":[1040,520],"credentials":{"groqApi":{"id":"u4SobGEjjuXQixeQ","name":"Groq account"}}},{"parameters":{},"id":"5aabb27f-ba4e-43b2-9433-5724fa9141f1","name":"Question and Answer Chain","type":"@n8n/n8n-nodes-langchain.chainRetrievalQa","typeVersion":1.3,"position":[740,300]},{"parameters":{"requestOptions":{}},"id":"387d2a2c-dc1f-483a-9583-a3e0382d444e","name":"Vector Store Retriever","type":"@n8n/n8n-nodes-langchain.retrieverVectorStore","typeVersion":1,"position":[740,500]},{"parameters":{"tableName":{"__rl":true,"value":"documents","mode":"list","cachedResultName":"documents"},"options":{}},"id":"e463cb12-4fd1-4818-a347-51b0af5c53bd","name":"Supabase Vector Store","type":"@n8n/n8n-nodes-langchain.vectorStoreSupabase","typeVersion":1,"position":[680,660],"credentials":{"supabaseApi":{"id":"CnHxzmO9V8bcBMlt","name":"Supabase account"}}},{"parameters":{"options":{"endpointUrl":""},"requestOptions":{}},"id":"7cda3952-6dc7-4d6a-bdef-c3730232c170","name":"Embeddings HuggingFace Inference","type":"@n8n/n8n-nodes-langchain.embeddingsHuggingFaceInference","typeVersion":1,"position":[820,800],"credentials":{"huggingFaceApi":{"id":"sG1DWgbq7Q3simy5","name":"HuggingFaceApi account"}}},{"parameters":{"sessionIdType":"customKey","sessionKey":"test-c99ec669-866e-4437-86d5-32584de03cfb","requestOptions":{}},"id":"ce08f3b6-4a5f-41e8-95ba-f0d1eac08dc7","name":"Redis Chat Memory1","type":"@n8n/n8n-nodes-langchain.memoryRedisChat","typeVersion":1.2,"position":[1060,800],"credentials":{"redis":{"id":"wWb5QYSGlU3ORgUe","name":"Redis account"}}},{"parameters":{"promptType":"define","text":"={{ $node['When chat message received'].json.chatInput }}","options":{"systemMessage":"=Dans ta base de données personnelle de connaissance, tu disposer de cette réponse \"{{ $json.response.text }}\". Prend la en considération si elle apporte des informations supplémentaires sinon ignore là. Lorsque tu fais référence au texte que l'on t'a fournis, parle des tes connaissances personnelles.\n\nSoit bref dans ta réponse et ne répète sous aucun cas la question. Formule ta réponse en français dans un langage plutôt soutenu."}},"id":"4711e3d4-f5a2-48e4-bc56-96bfa697af76","name":"AI Agent1","type":"@n8n/n8n-nodes-langchain.agent","typeVersion":1.6,"position":[1100,300]},{"parameters":{"public":true,"initialMessages":"Tu parles avec un agent conversationnel à double mémoire :\n- apprentissage RAG de la spéléologie\n- mémoire des précédentes conversations","options":{"inputPlaceholder":"Tapez votre question...","loadPreviousSession":"memory","responseMode":"lastNode","showWelcomeScreen":true,"getStarted":"Nouvelle conversation","subtitle":"🗣️ IA Vecteur RAG + Mémoire Redis 🚀","title":"https://n8n.ia86.cc"}},"id":"a3b85900-1ea9-4119-b693-af0d48a767cd","name":"When chat message received","type":"@n8n/n8n-nodes-langchain.chatTrigger","typeVersion":1,"position":[460,300],"webhookId":"a03c26d4-7eaa-4f8d-a0c5-978ddde578df"}],"connections":{"Groq Chat Model":{"ai_languageModel":[[{"node":"Question and Answer Chain","type":"ai_languageModel","index":0},{"node":"AI Agent1","type":"ai_languageModel","index":0}]]},"Vector Store Retriever":{"ai_retriever":[[{"node":"Question and Answer Chain","type":"ai_retriever","index":0}]]},"Supabase Vector Store":{"ai_vectorStore":[[{"node":"Vector Store Retriever","type":"ai_vectorStore","index":0}]]},"Embeddings HuggingFace Inference":{"ai_embedding":[[{"node":"Supabase Vector Store","type":"ai_embedding","index":0}]]},"Question and Answer Chain":{"main":[[{"node":"AI Agent1","type":"main","index":0}]]},"Redis Chat Memory1":{"ai_memory":[[{"node":"When chat message received","type":"ai_memory","index":0},{"node":"AI Agent1","type":"ai_memory","index":0}]]},"When chat message received":{"main":[[{"node":"Question and Answer Chain","type":"main","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":null,"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"ed61278c-9588-4381-8438-0c0d3281d438","triggerCount":2,"tags":[]} \ No newline at end of file +{"createdAt":"2024-07-07T12:17:31.634Z","updatedAt":"2024-07-17T16:03:27.828Z","id":"zGnRcHR1stcreqZM","name":"Grocq with Redis + Supabase","active":true,"nodes":[{"parameters":{"model":"llama3-70b-8192","options":{},"requestOptions":{}},"id":"fadd999f-1222-437d-91c0-745ef8d99a61","name":"Groq Chat Model","type":"@n8n/n8n-nodes-langchain.lmChatGroq","typeVersion":1,"position":[1040,520],"credentials":{"groqApi":{"id":"u4SobGEjjuXQixeQ","name":"Groq account"}}},{"parameters":{},"id":"5aabb27f-ba4e-43b2-9433-5724fa9141f1","name":"Question and Answer Chain","type":"@n8n/n8n-nodes-langchain.chainRetrievalQa","typeVersion":1.3,"position":[740,300]},{"parameters":{"requestOptions":{}},"id":"387d2a2c-dc1f-483a-9583-a3e0382d444e","name":"Vector Store Retriever","type":"@n8n/n8n-nodes-langchain.retrieverVectorStore","typeVersion":1,"position":[740,500]},{"parameters":{"options":{"endpointUrl":""},"requestOptions":{}},"id":"7cda3952-6dc7-4d6a-bdef-c3730232c170","name":"Embeddings HuggingFace Inference","type":"@n8n/n8n-nodes-langchain.embeddingsHuggingFaceInference","typeVersion":1,"position":[820,800],"credentials":{"huggingFaceApi":{"id":"sG1DWgbq7Q3simy5","name":"HuggingFaceApi account"}}},{"parameters":{"sessionIdType":"customKey","sessionKey":"test-c99ec669-866e-4437-86d5-32584de03cfb","requestOptions":{}},"id":"ce08f3b6-4a5f-41e8-95ba-f0d1eac08dc7","name":"Redis Chat Memory1","type":"@n8n/n8n-nodes-langchain.memoryRedisChat","typeVersion":1.2,"position":[1060,800],"credentials":{"redis":{"id":"wWb5QYSGlU3ORgUe","name":"Redis account"}}},{"parameters":{"promptType":"define","text":"={{ $node['When chat message received'].json.chatInput }}","options":{"systemMessage":"=Dans ta base de données personnelle de connaissance, tu disposer de cette réponse \"{{ $json.response.text }}\". Prend la en considération si elle apporte des informations supplémentaires sinon ignore là. Lorsque tu fais référence au texte que l'on t'a fournis, parle des tes connaissances personnelles.\n\nSoit bref dans ta réponse et ne répète sous aucun cas la question. Formule ta réponse en français dans un langage plutôt soutenu."}},"id":"4711e3d4-f5a2-48e4-bc56-96bfa697af76","name":"AI Agent1","type":"@n8n/n8n-nodes-langchain.agent","typeVersion":1.6,"position":[1100,300]},{"parameters":{"public":true,"initialMessages":"Tu parles avec un agent conversationnel à double mémoire :\n- apprentissage RAG de la spéléologie\n- mémoire des précédentes conversations","options":{"inputPlaceholder":"Tapez votre question...","loadPreviousSession":"memory","responseMode":"lastNode","showWelcomeScreen":true,"getStarted":"Nouvelle conversation","subtitle":"🗣️ IA Vecteur RAG + Mémoire Redis 🚀","title":"https://n8n.ia86.cc"}},"id":"a3b85900-1ea9-4119-b693-af0d48a767cd","name":"When chat message received","type":"@n8n/n8n-nodes-langchain.chatTrigger","typeVersion":1,"position":[460,300],"webhookId":"a03c26d4-7eaa-4f8d-a0c5-978ddde578df"},{"parameters":{"tableName":{"__rl":true,"value":"documents","mode":"list","cachedResultName":"documents"},"options":{}},"id":"e463cb12-4fd1-4818-a347-51b0af5c53bd","name":"Supabase Vector Store","type":"@n8n/n8n-nodes-langchain.vectorStoreSupabase","typeVersion":1,"position":[680,660],"credentials":{"supabaseApi":{"id":"CnHxzmO9V8bcBMlt","name":"Supabase account"}}}],"connections":{"Groq Chat Model":{"ai_languageModel":[[{"node":"Question and Answer Chain","type":"ai_languageModel","index":0},{"node":"AI Agent1","type":"ai_languageModel","index":0}]]},"Vector Store Retriever":{"ai_retriever":[[{"node":"Question and Answer Chain","type":"ai_retriever","index":0}]]},"Embeddings HuggingFace Inference":{"ai_embedding":[[{"node":"Supabase Vector Store","type":"ai_embedding","index":0}]]},"Question and Answer Chain":{"main":[[{"node":"AI Agent1","type":"main","index":0}]]},"Redis Chat Memory1":{"ai_memory":[[{"node":"When chat message received","type":"ai_memory","index":0},{"node":"AI Agent1","type":"ai_memory","index":0}]]},"When chat message received":{"main":[[{"node":"Question and Answer Chain","type":"main","index":0}]]},"Supabase Vector Store":{"ai_vectorStore":[[{"node":"Vector Store Retriever","type":"ai_vectorStore","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":null,"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"714afef8-916f-4d60-a040-c63225664343","triggerCount":2,"tags":[]} \ No newline at end of file diff --git a/README.md b/README.md index 7d76787..3a74cd3 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# Sauvegarde
All publication prepare.json
Gitea auto AI Groq.json
Grocq with Redis + Supabase.json
Grocq with Redis.json
Huggin Face tests with supabase.json
Huggin Face tests.json
LinkedIn publication prepare.json
LinkedIn publication submit.json
Sauvegarde Gitea.json
Scrap web site copy - sub.json
Scrap web site.json
Twitter publication submit.json
autoinspect.json +# Sauvegarde
All publication prepare.json
Gitea auto AI Groq.json
Grocq with Redis + Supabase.json
Grocq with Redis.json
Huggin Face tests with supabase.json
Huggin Face tests.json
LinkedIn publication prepare.json
LinkedIn publication submit.json
Sauvegarde Gitea.json
Scrap web site copy - sub.json
Scrap web site.json
Twitter publication submit.json
Télégram.json
autoinspect destroy.json
autoinspect.json diff --git a/Télégram.json b/Télégram.json new file mode 100644 index 0000000..178707c --- /dev/null +++ b/Télégram.json @@ -0,0 +1 @@ +{"createdAt":"2024-07-17T23:37:33.287Z","updatedAt":"2024-07-17T23:38:17.815Z","id":"Wnj3RA5tblpCvBxk","name":"Télégram","active":false,"nodes":[{"parameters":{},"id":"e297703a-878c-440e-8a8b-3cbd6e27458a","name":"When clicking ‘Test workflow’","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[760,340]},{"parameters":{"chatId":"7235468493","text":"test","additionalFields":{}},"id":"19fb6f2c-ab12-4da0-aa57-e94c7d62afe2","name":"Telegram","type":"n8n-nodes-base.telegram","typeVersion":1.2,"position":[980,340],"credentials":{"telegramApi":{"id":"KFWI7qLIHPlvnE99","name":"Telegram account"}}}],"connections":{"When clicking ‘Test workflow’":{"main":[[{"node":"Telegram","type":"main","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":null,"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"694b694b-c00c-4979-acc1-f324cfe2ee54","triggerCount":0,"tags":[]} \ No newline at end of file diff --git a/autoinspect destroy.json b/autoinspect destroy.json new file mode 100644 index 0000000..2d5c52f --- /dev/null +++ b/autoinspect destroy.json @@ -0,0 +1 @@ +{"createdAt":"2024-07-18T23:52:14.391Z","updatedAt":"2024-07-18T23:52:36.218Z","id":"GbP3nhECsHAEvCex","name":"autoinspect destroy","active":false,"nodes":[{"parameters":{},"id":"c127afd5-93bd-4266-bb51-8e39cec63e3b","name":"When clicking ‘Test workflow’","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[280,220]},{"parameters":{"operation":"executeQuery","query":"delete from execution_entity where \"workflowId\" = 'iGw2rg9kxx5SmGQw'","options":{}},"id":"25200981-c96c-4e19-9d99-867d1964f8d4","name":"Postgres","type":"n8n-nodes-base.postgres","typeVersion":2.4,"position":[660,220],"credentials":{"postgres":{"id":"9DMYRCcVXp7aX3WV","name":"Postgres account"}}},{"parameters":{"operation":"executeQuery","query":"delete from execution_data where \"executionId\" in (select id from execution_entity where \"workflowId\" = 'iGw2rg9kxx5SmGQw')","options":{}},"id":"beb1634d-6d17-4fc5-92a7-81ea5fec7a5a","name":"Postgres1","type":"n8n-nodes-base.postgres","typeVersion":2.4,"position":[480,220],"credentials":{"postgres":{"id":"9DMYRCcVXp7aX3WV","name":"Postgres account"}}}],"connections":{"Postgres1":{"main":[[{"node":"Postgres","type":"main","index":0}]]},"When clicking ‘Test workflow’":{"main":[[{"node":"Postgres1","type":"main","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":null,"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"3d9e89f0-65ca-41f1-90ab-49060d87c64c","triggerCount":0,"tags":[]} \ No newline at end of file diff --git a/autoinspect.json b/autoinspect.json index a73b833..b407a44 100644 --- a/autoinspect.json +++ b/autoinspect.json @@ -1 +1 @@ -{"createdAt":"2024-07-17T13:39:28.907Z","updatedAt":"2024-07-17T14:17:27.473Z","id":"MOOkHvSIRpzMukzY","name":"autoinspect","active":false,"nodes":[{"parameters":{},"id":"360fc90a-b2f6-44c3-9622-0ac7d8f8d191","name":"When clicking ‘Test workflow’","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[760,420]},{"parameters":{"operation":"executeQuery","query":"update execution_entity set status = 'error' where status = 'running' or status = 'new'","options":{}},"id":"fc209e5e-1033-4653-b1f4-6ef0cad9c164","name":"Postgres","type":"n8n-nodes-base.postgres","typeVersion":2.4,"position":[980,420],"credentials":{"postgres":{"id":"9DMYRCcVXp7aX3WV","name":"Postgres account"}}},{"parameters":{"operation":"executeQuery","query":"select * from execution_entity where id = 7104","options":{}},"id":"efadc240-6058-4350-b762-0da8ce400777","name":"Postgres1","type":"n8n-nodes-base.postgres","typeVersion":2.4,"position":[980,260],"credentials":{"postgres":{"id":"9DMYRCcVXp7aX3WV","name":"Postgres account"}}}],"connections":{"When clicking ‘Test workflow’":{"main":[[{"node":"Postgres","type":"main","index":0},{"node":"Postgres1","type":"main","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":null,"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"44babc96-7b03-4111-b316-7cbd301562ce","triggerCount":0,"tags":[]} \ No newline at end of file +{"createdAt":"2024-07-17T13:39:28.907Z","updatedAt":"2024-07-18T23:52:43.854Z","id":"MOOkHvSIRpzMukzY","name":"autoinspect","active":false,"nodes":[{"parameters":{},"id":"360fc90a-b2f6-44c3-9622-0ac7d8f8d191","name":"When clicking ‘Test workflow’","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[280,220]},{"parameters":{"operation":"select","schema":{"__rl":true,"value":"public","mode":"list","cachedResultName":"public"},"table":{"__rl":true,"value":"project","mode":"list","cachedResultName":"project"},"options":{}},"id":"ae18f17d-dac8-4fc9-ae96-c68a145b6cfd","name":"Postgres2","type":"n8n-nodes-base.postgres","typeVersion":2.4,"position":[500,320],"credentials":{"postgres":{"id":"9DMYRCcVXp7aX3WV","name":"Postgres account"}}},{"parameters":{"fromEmail":"=nico@ia86.cc","toEmail":"={{ $json.data[5].name }}","subject":"My n8n installation","html":"=

Configuration N8N

\n

Installation

\n

\nID: {{ $json.data[5].id }}
\nType: {{ $json.data[5].type }}
\nDate: {{ $json.data[5].createdAt }}
\n

\n

Statistiques

\n

\nDonnées chargées: {{ $json.data[0].sum }}
\nErreurs en manuel: {{ $json.data[1].sum }}
\nSuccès en manuel: {{ $json.data[2].sum }}
\nErreurs production: {{ $json.data[3].sum }}
\nSuccès production: {{ $json.data[4].sum }}
","options":{}},"id":"1cb68d10-a296-4c18-8cd6-b64daa69e9ab","name":"Send Email","type":"n8n-nodes-base.emailSend","typeVersion":2.1,"position":[1040,220],"credentials":{"smtp":{"id":"d4ZAN48vF9GTpVON","name":"SMTP account"}}},{"parameters":{"operation":"executeQuery","query":"select distinct \"name\" as info, sum(count) from workflow_statistics group by name order by name","options":{}},"id":"1af5f9a4-0d5e-42d1-89c7-a8e27b3f4982","name":"Postgres3","type":"n8n-nodes-base.postgres","typeVersion":2.4,"position":[500,140],"credentials":{"postgres":{"id":"9DMYRCcVXp7aX3WV","name":"Postgres account"}}},{"parameters":{},"id":"4290eb5e-82b0-429c-9412-023b43fc4235","name":"Merge","type":"n8n-nodes-base.merge","typeVersion":2.1,"position":[720,220]},{"parameters":{"aggregate":"aggregateAllItemData","options":{}},"id":"a26f4968-f54c-4899-89b8-6890edffaaba","name":"Aggregate","type":"n8n-nodes-base.aggregate","typeVersion":1,"position":[880,220]}],"connections":{"When clicking ‘Test workflow’":{"main":[[{"node":"Postgres3","type":"main","index":0},{"node":"Postgres2","type":"main","index":0}]]},"Postgres2":{"main":[[{"node":"Merge","type":"main","index":1}]]},"Postgres3":{"main":[[{"node":"Merge","type":"main","index":0}]]},"Merge":{"main":[[{"node":"Aggregate","type":"main","index":0}]]},"Send Email":{"main":[[]]},"Aggregate":{"main":[[{"node":"Send Email","type":"main","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":null,"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"41d227f8-2c4f-4115-b225-41a89b4ff9f2","triggerCount":0,"tags":[]} \ No newline at end of file