Skip to content

Document understanding app using RAG and Solar LLM (SNU x Upstage LLM project)

Notifications You must be signed in to change notification settings

soochem/IntelliP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntelliP

What is IntelliP?

IntelliP is a chatbot where you can provide your own websites or pdf documents and have a Q&A session with Solar LLM.

It uses the Upstage Layout Analysis API to convert pdf documents into HTML files.

Then, it uses the Upstage Embeddings API to create embeddings for each part of the HTML file, either scraped from the web or converted from the pdf documents.

The Q&A session answers are generated using Retrieval-Augmented Generation.

Chat tips

You can provide links at the end of a question.

Please note that we only accept pdf file links that and with .pdf at the moment. Also, only https:// endpoints are supported.

Once you provide a link to IntelliP, all the following conversations will use the same link to answer your questions. Furthermore, the links are cached so it is faster the next time you provide the link. However, this may be an issue if the website changes frequently.

How to run

  1. Install pdm
  2. Provide Upstage API Key inside the .env file.
UPSTAGE_API_KEY=up_XXXXXXXXXXXXXXX
  1. Run following script
pdm venv create
pdm sync
eval $(pdm venv activate in-project)
pdm run start

Examples

Sample Conversation

Alternatives

Google's NotebookLM is providing a similar service.

About

Document understanding app using RAG and Solar LLM (SNU x Upstage LLM project)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%