Skip to content

obaidmuneer/op_stack_chatbot_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OP Stack (Open AI + Pinecone)

chat with your pdf

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

OPENAI_API_KEY

PINECONE_API_KEY

PINECONE_ENVIRONMENT

PINECONE_INDEX

PINECONE_NAMESPACE

Usage

Ingest your pdf

    await ingest_pdf('obaidmuneer.pdf',1000,200) 
    // place your file in data folder , chunk_size, chunk_overlap

Run Locally

Clone the project

  git clone https://github.com/obaidmuneer/op_stack_chatbot_example.git

Go to the project directory

  cd op_stack_chatbot_example

Install dependencies

  npm install

Start the app

  node app.mjs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published