Skip to content

tinkerhub/spaceai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpaceAI - Front desk AI for TinkerSpace

What is SpaceAI?

SpaceAI is a front desk AI for TinkerSpace. You can ask questions about Tinkerhub and TinkerSpace to this chatbot

How to use SpaceAI?

You can ask questions like:

  • What is Tinkerhub?
  • What is TinkerSpace?

What is the tech stack?

SpaceAI is built in python using

  • FastAPI - for the API
  • LangChain - Language model
  • telegram api - for the chatbot
  • FAISS - for the vector database

Setup instructions

cp ops/.env.example ops/.env
  • Create a telegram bot and put the api key in ops/.env file
  • Install the dependencies using pip install -r requirements.txt
  • Create the folder data at the root and upload pdf files to /data folder
  • Run
python core/ingest.py
  • Create file role.json in /data folder and add the roles in the following format
{
   "admin": ["chat_id1", "chat_id2"],
}
  • Make changes to the code for your application
  • Run python tele_bot.py for testing the bot

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages