Skip to content

Create example chatbot that retrieves context from the You.com search tool in Langchain and a CSV file #3

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

Merged
merged 5 commits into from
Jun 5, 2024

Conversation

khalidrajan14
Copy link
Contributor

This chatbot answers serves as a legal assistant. This chatbot is implemented as an agent in Langchain and retrieves context from a CSV file of all federal laws in the USA and their revision history and the web via the You.com retriever in Langchain.

Copy link

@davidli3100 davidli3100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

general comment - should we separate this as an example of legal queries specifically, and then have another example that does general querying on some CSV

@rodrigo-georgian
Copy link
Contributor

general comment - should we separate this as an example of legal queries specifically, and then have another example that does general querying on some CSV

Yes! Rex and I are working on the generic cases. So far the plan is to build a demo where users can upload:

  • PDFs
  • CSVs
  • Databases (smallish)
  • Code repos

And use any combination of these as additional data sources + YDC retriever / LLMs.

@khalidrajan14 khalidrajan14 merged commit dab9a39 into main Jun 5, 2024
@khalidrajan14 khalidrajan14 deleted the legal_assistant_langchain_chatbot branch June 5, 2024 19:35
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

Successfully merging this pull request may close these issues.

3 participants