Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contribution to Hugging Face 🤗 cookbook: Add a LangChain agent that can interact with a graph database #39

Open
tomasonjo opened this issue Feb 19, 2024 · 1 comment

Comments

@tomasonjo
Copy link

You can use more than just vector databases to feed additional context to LLMs. However, the naive approach of generating database queries is too brittle at the moment. Therefore, it is advisable to implement an agent and give it tools to interact with a graph database. The tools use predefined flows and allow agent to solve specific problems. I have a version with OpenAI here: https://towardsdatascience.com/enhancing-interaction-between-language-models-and-graph-databases-via-a-semantic-layer-0a78ad3eba49 Would probably need to use Mixtral 8x7b as an agent.

@MKhalusova
Copy link
Contributor

That's a great idea, and I agree with using an open source model instead, Mixtral 8x7b is a good choice. Feel free to add the notebook (don't forget to also add it to the _toctree.yml), and ping me for a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants