auto: 2024-06-21T03:23:33.558-04:00

This commit is contained in:
Linux User 2024-06-21 07:23:33 +00:00
parent 6156c8813c
commit 41aac585e6
5 changed files with 5 additions and 4 deletions

View File

@ -0,0 +1 @@
{"createdAt":"2024-06-18T13:46:16.623Z","updatedAt":"2024-06-21T07:20:34.705Z","id":"dGYcvZCeFm5cqc14","name":"All publication prepare","active":true,"nodes":[{"parameters":{"model":"llama3-70b-8192","options":{"maxTokensToSample":2048},"requestOptions":{}},"id":"e79f7e68-5e26-48d5-8982-fc254344aae7","name":"Groq Chat Model","type":"@n8n/n8n-nodes-langchain.lmChatGroq","typeVersion":1,"position":[-120,440],"notesInFlow":true,"credentials":{"groqApi":{"id":"u4SobGEjjuXQixeQ","name":"Groq account"}},"notes":"IA Groq"},{"parameters":{"operation":"create","docId":"pfyRAyDpaei1RyyPQYUqLV","tableId":"Table1","fieldsToSend":{"properties":[{"fieldId":"Sujet","fieldValue":"={{ $node[\"Webhook\"].json[\"query\"][\"subject\"] }}"},{"fieldId":"Contenu","fieldValue":"={{ $node[\"LLM\"].json[\"text\"] }}"},{"fieldId":"Date_soumission","fieldValue":"={{ $node[\"DateTime\"].json[\"currentDate\"] }}"},{"fieldId":"LinkedIn","fieldValue":"En attente"},{"fieldId":"Image","fieldValue":"={{ $node[\"Webhook\"].json[\"query\"][\"image\"] }}"},{"fieldId":"Facebook","fieldValue":"En attente"},{"fieldId":"Twitter","fieldValue":"En attente"},{"fieldId":"Twitt","fieldValue":"={{ $node[\"Summarization\"].json[\"response\"][\"text\"] }}"}]}},"id":"ba7eca73-bade-4b0c-8de1-8ee1a16b6d97","name":"Grist","type":"n8n-nodes-base.grist","typeVersion":1,"position":[480,240],"notesInFlow":true,"credentials":{"gristApi":{"id":"FP4qhcxgUb7jbXcL","name":"Grist account"}},"notes":"Enregistrement article"},{"parameters":{"options":{}},"id":"3043a137-a0e0-488b-ac9c-00e9874badd0","name":"DateTime","type":"n8n-nodes-base.dateTime","typeVersion":2,"position":[300,240],"notesInFlow":true,"notes":"Récupération date actuelle"},{"parameters":{"httpMethod":"POST","path":"cff0c7ed-2701-47ea-85da-faa88a9ddccc","options":{}},"id":"72e8420d-2d6c-4b9f-ba07-030382e8a052","name":"Webhook","type":"n8n-nodes-base.webhook","typeVersion":2,"position":[-500,240],"webhookId":"cff0c7ed-2701-47ea-85da-faa88a9ddccc","notesInFlow":true,"notes":"Déclenchement formulaire"},{"parameters":{"chunkingMode":"advanced","options":{"summarizationMethodAndPrompts":{"values":{"summarizationMethod":"stuff","prompt":"Write a concise summary in french of only 200 characters without specifying this is a summary. Add emoji at beginning and end of the text. Place a link to the official website.\n\n\n\"{text}\""}}}},"id":"c2e83432-0d26-4d1d-a0b2-b11126cfa2ea","name":"Summarization","type":"@n8n/n8n-nodes-langchain.chainSummarization","typeVersion":2,"position":[-20,240]},{"parameters":{"promptType":"define","text":"=Write an article on “{{ $json[\"query\"][\"subject\"] }}” in French. You can use technical words and content because article is intended to be read by information and technology professionals. First introduce with 200 characters with the description of the technology. Then write 100 characters with his history with some dates and important changes. After, on 250 characters on good points on using this and domain where its very efficient. With 250 more characters, insist on bad points on using this. Compare this with others and be precise on the added value of this. And finally conclude with other things not aborded previously. Close the article with a hook phrase to induct other readers to add comments, be creative. Add emoji at the beginning of each paragraph in correlation with the thematic aborded on it. Add a global title in English. It must contain the name of the subject and from 3 to 10 words and begin it with musical score emoji 🎼 and end it with musical notes emoji 🎶. Don't add markdown or HTML formating or characters under titles. Add 3 hashtags writed in uppercase at the bottom of the article with the most significatives words used."},"id":"81691874-ac33-4fff-bb27-065abff8b0fd","name":"LLM","type":"@n8n/n8n-nodes-langchain.chainLlm","typeVersion":1.4,"position":[-340,240],"notesInFlow":true,"notes":"Rédaction article"}],"connections":{"Groq Chat Model":{"ai_languageModel":[[{"node":"LLM","type":"ai_languageModel","index":0},{"node":"Summarization","type":"ai_languageModel","index":0}]]},"Webhook":{"main":[[{"node":"LLM","type":"main","index":0}]]},"DateTime":{"main":[[{"node":"Grist","type":"main","index":0}]]},"Summarization":{"main":[[{"node":"DateTime","type":"main","index":0}]]},"LLM":{"main":[[{"node":"Summarization","type":"main","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":{"node:Schedule Trigger":{"recurrencyRules":[]}},"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"961d8233-ec78-4e18-856c-53c4c20aeec3","triggerCount":1,"tags":[]}

View File

@ -1 +1 @@
{"createdAt":"2024-06-17T21:23:09.730Z","updatedAt":"2024-06-18T13:47:51.218Z","id":"WaXdrLRNT2zrG54T","name":"Huggin Face tests","active":false,"nodes":[{"parameters":{"model":"2Noise/ChatTTS","options":{},"requestOptions":{}},"id":"43bd4531-9cc1-40d5-b139-fdf704cedf4e","name":"Hugging Face Inference Model","type":"@n8n/n8n-nodes-langchain.lmOpenHuggingFaceInference","typeVersion":1,"position":[880,400],"credentials":{"huggingFaceApi":{"id":"sG1DWgbq7Q3simy5","name":"HuggingFaceApi account"}}},{"parameters":{},"id":"3815c898-cb62-4558-94a4-abdbcd9c8aca","name":"When chat message received","type":"@n8n/n8n-nodes-langchain.chatTrigger","typeVersion":1,"position":[660,180],"webhookId":"d75b5ef0-5024-4d2d-83fd-e563875d73f0"},{"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":[860,180]},{"parameters":{"requestOptions":{}},"id":"b9201477-f231-4084-aa55-9b307ad92273","name":"Vector Store Retriever","type":"@n8n/n8n-nodes-langchain.retrieverVectorStore","typeVersion":1,"position":[1060,400]},{"parameters":{},"id":"b92bc47c-38b6-4bee-b524-b09279780e00","name":"In-Memory Vector Store","type":"@n8n/n8n-nodes-langchain.vectorStoreInMemory","typeVersion":1,"position":[1080,600]},{"parameters":{"options":{},"requestOptions":{}},"id":"ee92afe3-954b-4270-bf84-ec9fdb4aee0d","name":"Embeddings HuggingFace Inference","type":"@n8n/n8n-nodes-langchain.embeddingsHuggingFaceInference","typeVersion":1,"position":[1080,740],"credentials":{"huggingFaceApi":{"id":"sG1DWgbq7Q3simy5","name":"HuggingFaceApi account"}}}],"connections":{"When chat message received":{"main":[[{"node":"Question and Answer Chain","type":"main","index":0}]]},"Hugging Face Inference Model":{"ai_languageModel":[[{"node":"Question and Answer Chain","type":"ai_languageModel","index":0}]]},"Vector Store Retriever":{"ai_retriever":[[{"node":"Question and Answer Chain","type":"ai_retriever","index":0}]]},"In-Memory Vector Store":{"ai_vectorStore":[[{"node":"Vector Store Retriever","type":"ai_vectorStore","index":0}]]},"Embeddings HuggingFace Inference":{"ai_embedding":[[{"node":"In-Memory Vector Store","type":"ai_embedding","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":null,"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"9de19cc9-1b15-4a0e-811e-c3c09e6a8665","triggerCount":0,"tags":[]} {"createdAt":"2024-06-17T21:23:09.730Z","updatedAt":"2024-06-19T22:01:05.097Z","id":"WaXdrLRNT2zrG54T","name":"Huggin Face tests","active":false,"nodes":[{"parameters":{"model":"2Noise/ChatTTS","options":{},"requestOptions":{}},"id":"43bd4531-9cc1-40d5-b139-fdf704cedf4e","name":"Hugging Face Inference Model","type":"@n8n/n8n-nodes-langchain.lmOpenHuggingFaceInference","typeVersion":1,"position":[880,400],"credentials":{"huggingFaceApi":{"id":"sG1DWgbq7Q3simy5","name":"HuggingFaceApi account"}}},{"parameters":{},"id":"3815c898-cb62-4558-94a4-abdbcd9c8aca","name":"When chat message received","type":"@n8n/n8n-nodes-langchain.chatTrigger","typeVersion":1,"position":[660,180],"webhookId":"d75b5ef0-5024-4d2d-83fd-e563875d73f0"},{"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":[860,180]},{"parameters":{"requestOptions":{}},"id":"b9201477-f231-4084-aa55-9b307ad92273","name":"Vector Store Retriever","type":"@n8n/n8n-nodes-langchain.retrieverVectorStore","typeVersion":1,"position":[1060,400]},{"parameters":{},"id":"b92bc47c-38b6-4bee-b524-b09279780e00","name":"In-Memory Vector Store","type":"@n8n/n8n-nodes-langchain.vectorStoreInMemory","typeVersion":1,"position":[1080,600]},{"parameters":{"options":{},"requestOptions":{}},"id":"ee92afe3-954b-4270-bf84-ec9fdb4aee0d","name":"Embeddings HuggingFace Inference","type":"@n8n/n8n-nodes-langchain.embeddingsHuggingFaceInference","typeVersion":1,"position":[1100,760],"credentials":{"huggingFaceApi":{"id":"sG1DWgbq7Q3simy5","name":"HuggingFaceApi account"}}}],"connections":{"When chat message received":{"main":[[{"node":"Question and Answer Chain","type":"main","index":0}]]},"Hugging Face Inference Model":{"ai_languageModel":[[{"node":"Question and Answer Chain","type":"ai_languageModel","index":0}]]},"Vector Store Retriever":{"ai_retriever":[[{"node":"Question and Answer Chain","type":"ai_retriever","index":0}]]},"In-Memory Vector Store":{"ai_vectorStore":[[{"node":"Vector Store Retriever","type":"ai_vectorStore","index":0}]]},"Embeddings HuggingFace Inference":{"ai_embedding":[[{"node":"In-Memory Vector Store","type":"ai_embedding","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":null,"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"8ca02708-399e-4b51-b48e-1711cd4f1c5b","triggerCount":0,"tags":[]}

View File

@ -1 +1 @@
# Sauvegarde<br>Gitea auto AI Groq.json<br>Huggin Face tests.json<br>LinkedIn publication prepare.json<br>LinkedIn publication submit.json<br>Sauvegarde Gitea.json<br>Twitter publication submit.json # Sauvegarde<br>All publication prepare.json<br>Gitea auto AI Groq.json<br>Huggin Face tests.json<br>LinkedIn publication prepare.json<br>LinkedIn publication submit.json<br>Sauvegarde Gitea.json<br>Twitter publication submit.json

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"createdAt":"2024-06-19T11:54:41.835Z","updatedAt":"2024-06-19T20:10:10.107Z","id":"zbKzY2ohQyhp0wxC","name":"Twitter publication submit","active":true,"nodes":[{"parameters":{"rule":{"interval":[{"field":"cronExpression","expression":"45 12 * * 1-6"}]}},"id":"436fd5af-9451-414d-a710-421be651d11d","name":"Schedule Trigger","type":"n8n-nodes-base.scheduleTrigger","typeVersion":1.2,"position":[-800,660],"notesInFlow":true,"notes":"Déclenche tout les jours 12h45"},{"parameters":{"docId":"pfyRAyDpaei1RyyPQYUqLV","tableId":"Table1","limit":1,"additionalOptions":{"filter":{"filterProperties":[{"field":"Twitter","values":"En attente"}]},"sort":{"sortProperties":[{"field":"Date_soumission"}]}}},"id":"f10c25d0-b004-433b-b1bc-5295a86f4215","name":"GristSearch","type":"n8n-nodes-base.grist","typeVersion":1,"position":[-440,660],"notesInFlow":true,"credentials":{"gristApi":{"id":"FP4qhcxgUb7jbXcL","name":"Grist account"}},"notes":"Recupère articles préparés IA"},{"parameters":{"operation":"update","docId":"pfyRAyDpaei1RyyPQYUqLV","tableId":"Table1","rowId":"={{ $node[\"GristSearch\"].json[\"id\"] }}","fieldsToSend":{"properties":[{"fieldId":"Date_publication_Twitter","fieldValue":"={{ $node[\"DateTime\"].json[\"currentDate\"] }}"},{"fieldId":"Twitter","fieldValue":"Publié"}]}},"id":"0e7eff31-aa6e-4626-bac5-85e2e00e6f23","name":"GristUpdate","type":"n8n-nodes-base.grist","typeVersion":1,"position":[280,660],"notesInFlow":true,"credentials":{"gristApi":{"id":"FP4qhcxgUb7jbXcL","name":"Grist account"}},"notes":"Mettre à jour Sheet"},{"parameters":{"options":{}},"id":"31813f58-ece9-4582-85fe-3f76fe83db9c","name":"DateTime","type":"n8n-nodes-base.dateTime","typeVersion":2,"position":[-620,660],"notesInFlow":true,"notes":"Récupère heure actuelle"},{"parameters":{"fromEmail":"nico@ia86.cc","toEmail":"nicolas@palon.fr","subject":"=[N8N-TWITTER] Publication {{ $json.id }}: {{ $('GristSearch').item.json.Sujet }}","html":"=<h1>Article {{ $json.id }}: {{ $('GristSearch').item.json.Sujet }}</h1>\n<h2>Informations</h2>\nDate de publication: {{ $node[\"DateTime\"].json[\"currentDate\"] }}\n<h2>Contenu</h2>\n{{ $('GristSearch').item.json.Twitt }} ","options":{"replyTo":"noreply@n8n.ia86.cc"}},"id":"1ba85ef6-5436-4d21-84fe-4ed264448983","name":"Send Email","type":"n8n-nodes-base.emailSend","typeVersion":2.1,"position":[440,660],"notesInFlow":true,"credentials":{"smtp":{"id":"d4ZAN48vF9GTpVON","name":"SMTP account"}},"notes":"Notification courriel"},{"parameters":{"text":"={{ $node[\"GristSearch\"].json[\"Twitt\"] }}","additionalFields":{}},"id":"255599f6-3662-4537-99d5-b2f5aa52e661","name":"X","type":"n8n-nodes-base.twitter","typeVersion":2,"position":[-80,660],"credentials":{"twitterOAuth2Api":{"id":"8YpX1E0OKTFb7Odm","name":"X account"}}}],"connections":{"Schedule Trigger":{"main":[[{"node":"DateTime","type":"main","index":0}]]},"GristUpdate":{"main":[[{"node":"Send Email","type":"main","index":0}]]},"DateTime":{"main":[[{"node":"GristSearch","type":"main","index":0}]]},"X":{"main":[[{"node":"GristUpdate","type":"main","index":0}]]},"GristSearch":{"main":[[{"node":"X","type":"main","index":0}]]}},"settings":{"executionOrder":"v1","timezone":"Europe/Paris","saveManualExecutions":true,"callerPolicy":"workflowsFromSameOwner"},"staticData":{"node:Schedule Trigger":{"recurrencyRules":[]}},"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"870acd16-312b-456a-8531-31c9d7801111","triggerCount":1,"tags":[]} {"createdAt":"2024-06-19T11:54:41.835Z","updatedAt":"2024-06-20T18:30:46.277Z","id":"zbKzY2ohQyhp0wxC","name":"Twitter publication submit","active":true,"nodes":[{"parameters":{"rule":{"interval":[{"field":"cronExpression","expression":"45 12 * * 1-6"}]}},"id":"436fd5af-9451-414d-a710-421be651d11d","name":"Schedule Trigger","type":"n8n-nodes-base.scheduleTrigger","typeVersion":1.2,"position":[-800,660],"notesInFlow":true,"notes":"Déclenche tout les jours 12h45"},{"parameters":{"docId":"pfyRAyDpaei1RyyPQYUqLV","tableId":"Table1","limit":1,"additionalOptions":{"filter":{"filterProperties":[{"field":"Twitter","values":"En attente"}]},"sort":{"sortProperties":[{"field":"Date_soumission"}]}}},"id":"f10c25d0-b004-433b-b1bc-5295a86f4215","name":"GristSearch","type":"n8n-nodes-base.grist","typeVersion":1,"position":[-440,660],"notesInFlow":true,"credentials":{"gristApi":{"id":"FP4qhcxgUb7jbXcL","name":"Grist account"}},"notes":"Recupère articles préparés IA"},{"parameters":{"operation":"update","docId":"pfyRAyDpaei1RyyPQYUqLV","tableId":"Table1","rowId":"={{ $node[\"GristSearch\"].json[\"id\"] }}","fieldsToSend":{"properties":[{"fieldId":"Date_publication_Twitter","fieldValue":"={{ $node[\"DateTime\"].json[\"currentDate\"] }}"},{"fieldId":"Twitter","fieldValue":"Publié"}]}},"id":"0e7eff31-aa6e-4626-bac5-85e2e00e6f23","name":"GristUpdate","type":"n8n-nodes-base.grist","typeVersion":1,"position":[-80,660],"notesInFlow":true,"credentials":{"gristApi":{"id":"FP4qhcxgUb7jbXcL","name":"Grist account"}},"notes":"Mettre à jour Sheet"},{"parameters":{"options":{}},"id":"31813f58-ece9-4582-85fe-3f76fe83db9c","name":"DateTime","type":"n8n-nodes-base.dateTime","typeVersion":2,"position":[-620,660],"notesInFlow":true,"notes":"Récupère heure actuelle"},{"parameters":{"fromEmail":"nico@ia86.cc","toEmail":"nicolas@palon.fr","subject":"=[N8N-TWITTER] Publication {{ $json.id }}: {{ $('GristSearch').item.json.Sujet }}","html":"=<h1>Article {{ $json.id }}: {{ $('GristSearch').item.json.Sujet }}</h1>\n<h2>Informations</h2>\nDate de publication: {{ $node[\"DateTime\"].json[\"currentDate\"] }}\n<h2>Contenu</h2>\n{{ $('GristSearch').item.json.Twitt }} ","options":{"replyTo":"noreply@n8n.ia86.cc"}},"id":"1ba85ef6-5436-4d21-84fe-4ed264448983","name":"Send Email","type":"n8n-nodes-base.emailSend","typeVersion":2.1,"position":[100,660],"notesInFlow":true,"credentials":{"smtp":{"id":"d4ZAN48vF9GTpVON","name":"SMTP account"}},"notes":"Notification courriel"},{"parameters":{"text":"={{ $node[\"GristSearch\"].json[\"Twitt\"] }}","additionalFields":{}},"id":"255599f6-3662-4537-99d5-b2f5aa52e661","name":"X","type":"n8n-nodes-base.twitter","typeVersion":2,"position":[-260,660],"credentials":{"twitterOAuth2Api":{"id":"8YpX1E0OKTFb7Odm","name":"X account"}}}],"connections":{"Schedule Trigger":{"main":[[{"node":"DateTime","type":"main","index":0}]]},"GristUpdate":{"main":[[{"node":"Send Email","type":"main","index":0}]]},"DateTime":{"main":[[{"node":"GristSearch","type":"main","index":0}]]},"X":{"main":[[{"node":"GristUpdate","type":"main","index":0}]]},"GristSearch":{"main":[[{"node":"X","type":"main","index":0}]]}},"settings":{"executionOrder":"v1","timezone":"Europe/Paris","saveManualExecutions":true,"callerPolicy":"workflowsFromSameOwner"},"staticData":{"node:Schedule Trigger":{"recurrencyRules":[]}},"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"5ba25d33-de94-4f33-8172-b5c8823d3983","triggerCount":1,"tags":[]}