Skip to content

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?

@vercel
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.

2 participants