Added a n8n api and a n8n workflow for use of it as ai assistant. #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
I tried integrating an n8n workflow as an AI assistant. I'm running LM Studio locally, and inside Docker I have both n8n and Qdrant running. I created a workflow there and saved its JSON under ai-assistant_hub/n8n.
If someone wants to add, for example, the Godot documentation as RAG (Retrieval-Augmented Generation) to the assistant, that can be done via the n8n workflow. I did it quickly and a bit dirty for instance, I generated the session ID in ai_assistant_hub/assistants/ai_assistant_resource.gd. However, one could also use the assistant's name as the session ID.
If you continue working on the assistant, it would be great if you could incorporate that. I think n8n is a really cool way to get better answers from the AI. You could even, for example, add project code to the Qdrant database to give the AI knowledge about your own project.
Thanks for creating such a cool coding assistant!