Skip to content

A RAG-based AI chat application using LLMs to respond to natural language prompts about uploaded PDF documents.

Notifications You must be signed in to change notification settings

Emmytobs/ragask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Start Server

poetry run start

Docs

Run with Docker

Remember to add .env file to your project. Check out .env.sample in server

docker build -t myserver .

docker run -p 8000:8000 --env-file .env myserver

CORS Error Fix For Files Access on Google Storage bucket

To fix cors error when trying to view pdf

make a file called cors.json

[
    {
      "origin": ["*"],
      "method": ["GET"],
      "maxAgeSeconds": 3600
    }
  ]

and run gsutil cors set cors.json gs://storageBucketId

See this stackoverflow post for more info about this issue

About

A RAG-based AI chat application using LLMs to respond to natural language prompts about uploaded PDF documents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published