Skip to content
/ Nbot Public

An application that allows an open ai model to access extended information from a vector file

Notifications You must be signed in to change notification settings

MrVoltss/Nbot

Repository files navigation

THIS IS A (WORKING) PROTOTYPE:

Issues: Discord Bot needs cleaning up

Todo: Create a web application with different types of bots fed different context API

dependancies that I can remember:

pip install python-dotenv pip install -qU bs4 tiktoken openai langchain pinecone-client[grpc] pip install discord pip install datasets pip install git-lfs huggingface-cli login pip install huggingface_hub pip install python-dateutil google search pip install google-api-python-client pip install "protobuf==3.19.5"

How to use:

  1. create a .env file with the following information that can be obtained from https://platform.openai.com/login/ and https://app.pinecone.io/ :
OPENAI_API_KEY=
PINECONE_API_KEY=
PINECONE_ENVIRONMENT=
PINECONE_INDEX_NAME=
DISCORD_TOKEN=
HF_API_KEY=
  1. running setupnbot.py scrapes a given website or processes a json

  2. asknbot.py file can be edited and ran with your question

  3. running clearnbot.py cleares the vector file and starts a fresh one

  4. running /home/ubuntu/NomadsAI/database/database_menu.py allows you to manage pinecone database

About

An application that allows an open ai model to access extended information from a vector file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages