Giter Site home page Giter Site logo

ai-telegram-bot's Introduction

AI Assistant

Description...

Usage

  1. First, you need to run the database, for example in docker:

    docker run --name assistant-db -p 27017:27017 -d mongo:latest
    
  2. We are cloning this repository

    git clone https://github.com/x-happy-x/ai-telegram-bot.git
    cd ai-telegram-bot
    
  3. Setting environment

    pip install poetry
    poetry install
    
  4. Rename the configs so that they do not end with .example, but with .json at the end

    mv .\configs\telegram-bot.json.example .\configs\telegram-bot.json
    mv .\configs\chatgpt-ai.json.example .\configs\chatgpt-ai.json
    mv .\configs\stable-diffusion-ai.json.example .\configs\stable-diffusion-ai.json
    mv .\configs\mongo-db.json.example .\configs\mongo-db.json
    mv .\configs\users.json.example .\configs\users.json
    

    And manually open each config file, fill in the data between *...*, and the rest at your discretion.

  5. Or edit .env file and run:

    poetry run python configure.py
    
  6. Launching the bot

    poetry run python main.py
    

ai-telegram-bot's People

Contributors

x-happy-x avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.