Skip to content

gowine423/pinecone_ai_chat_langchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatbot Answering from Your Own Knowledge Base: Langchain, ChatGPT, Pinecone, and Streamlit

main-·-Streamlit (1)

Deployment

1. Clone Repository

  git clone https://github.com/farukalampro/ai-chatbot-using-Langchain-Pinecone.git
  cd ai-chatbot-using-Langchain-Pinecone

2. Create Virtual Environment

  python -m venv env
  • For Windows:
  .\env\Scripts\activate
  • For macOS/Linux:
  source env/bin/activate

3. To install require packages

  pip install -r requirements.txt

4. Replace your own document in data folder

5. Replace your own OpenAI, Pinecone API Key and Pinecone environment in indexing.py, main.py & utils.py

6. When you are creating the pinecone index make sure,

  • index_name = "langchain-chatbot"
  • Dimensions of the index is 384

7. Run the web app

  streamlit run main.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages