+
Skip to content

jackmuva/paradocx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Paradocx

AI search for Paragon's Mintlify docs

Running Locally

Starting backend

  • Install dependencies with pip install fastapi-paradocx/requirements.txt
  • Set env vars by creating a .env file with the contents
PINECONE_API_KEY=
PINECONE_DENSE_INDEX=paradocx-dense-index
PINECONE_SPARSE_INDEX=paradocx-sparse-index
PINECONE_NAMESPACE=paradocx-dev

#Paragon OpenAI Key
OPENAI_API_KEY=
TOKENIZERS_PARALLELISM=false

ABSOLUTE_PATH_TO_DOCS="/Users/PATH_TO_MINTLIFY_DOCS"
  • Run server locally fastapi dev fastapi-paradocx/main.py

Starting frontend

  • Install dependencies with npm install
  • Run npm run start

Docker for Fastapi

  1. Run docker build -t fastapi-paradocx .
  2. Run docker run -d --name fastapi-paradocx -p 80:80 --env-file .env fastapi-paradocx

Re-indexing the Pinecone Vector Database

  • Run python fastapi-paradocx/app/load_pinecone/setup_db.py
    • Make sure the ABSOLUTE_PATH_TO_DOCS is set correctly

About

AI search for Paragon's Mintlify docs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载