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

Feat/rag url langchain #122

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Feat/rag url langchain #122

wants to merge 10 commits into from

Conversation

jondwillis
Copy link
Collaborator

rag-url-langchain-demo.mp4

some new features:

  • uses a langchain RAG agent
  • supports rag over multiple urls
  • url highlighting in editor
  • change the underlying model
  • chat history
  • streaming agent final output (nextjs app template says this isn't possible, but it is!)

further improvements:

  • streaming agent actions/intermediate steps (too lazy to build this right now)
  • gemini (actually goes out and does work ( try adding LANGCHAIN_VERBOSE="true" to .env), but output is not rendered)
  • smart ingest (on url detected, instead of waiting)

possible issues:

  • the puppeteer endpoint has to be nodejs, so I split it out into another API route. therefore the entire backend code won't be copied without more work.

What are the next steps for deploying this?

Copy link

vercel bot commented Dec 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stackwise ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 21, 2023 9:40pm

@waynehamadi waynehamadi marked this pull request as ready for review December 21, 2023 20:26
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.

1 participant