Looking for input on how to tackle my AI use case #55
-
Hi 👋! I'm the developer of https://github.com/robiningelbrecht/statistics-for-strava
I want to add an AI agent to this app and I think I have kinda figured out what I need to do, but I'd like to have some feedback.
Does this mean I need to my agent to combine RAG functionality and tools? What do you think is the correct approach here? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Technically Neuron provides you with the features needed for this implementation. You can implement your agent extending the built-in Since the RAG class is just an extension of the basic Agent class you can also attach Tools and define the system instructions as usual for your agent. Maybe it's not so clear in the documentation. This should give to your agent all the capabilities needed for your use case. Basically all inside a single Agent class. https://docs.neuron-ai.dev/rag How to feed the vector storeBefore your agent can use relevant content to respond to your messages you have to get Wikipedia contents, transform this contents into embeddings, and save this information into the vector store. Neuron provide you with data loaders, a mechanism to help you create this pipeline in a script that you can run to feed your database. All by using the same Neuron components. Here is the guide on the documentation: https://docs.neuron-ai.dev/components/data-loader Let us know if you stumble on any problems. |
Beta Was this translation helpful? Give feedback.
-
@robiningelbrecht I added a new section in the RAG documentation to make this concept more clear: https://docs.neuron-ai.dev/rag#rag--tools |
Beta Was this translation helpful? Give feedback.
-
@ilvalerione thanks!!! |
Beta Was this translation helpful? Give feedback.
-
@ilvalerione I was wondering, are there any plans on adding a "DatabaseChatHistory" implementation to the library? |
Beta Was this translation helpful? Give feedback.
Technically Neuron provides you with the features needed for this implementation.
You can implement your agent extending the built-in
\NeuronAI\RAG
class to connect the embeddings provider and a vector store.Since the RAG class is just an extension of the basic Agent class you can also attach Tools and define the system instructions as usual for your agent.
Maybe it's not so clear in the documentation.
This should give to your agent all the capabilities needed for your use case. Basically all inside a single Agent class.
https://docs.neuron-ai.dev/rag
How to feed the vector store
Before your agent can use relevant content to respond to your messages you have to get Wikipedia contents, tr…