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

showing dynamic footnotes in your chat stream completions #1425

Open
GSequist opened this issue Sep 24, 2024 · 0 comments
Open

showing dynamic footnotes in your chat stream completions #1425

GSequist opened this issue Sep 24, 2024 · 0 comments

Comments

@GSequist
Copy link

Retrieval Augmented Generation is one of the top use cases for LLM. One of the critical challenges in RAG systems is properly referencing the sources of the retrieved documents within the LLM's responses. It is also crucial for people to trust their LLM output. People around the web are building beautiful applications on OpenAI SDK and vast majority of them are RAG-based. This cookbook can help developers achieve better results.

I would like to contribute a simple solution of keeping track of sources when LLM accesses vector store and then streaming back the right reference with the relevant chunk to front end. I would then show how the references can be rendered on a demo front end.

demo.mp4
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

1 participant