Giter VIP home page Giter VIP logo

estefania's Introduction

Container Code Tests

EstefanIA

Bot for interacting with OpenAI using a chat or Dall-E

Arguments

Argument Description Environment Variable
--bot-token Telegram bot token. Talk to @botfather to get it. ESTEFANIA_BOT_TELEGRAM_TOKEN
--allowed-users List of Telegram user ids (not usernames) authorized to talk to the bot. ESTEFANIA_BOT_TELEGRAM_USERNAMES
--log-level Logging level for log output. Default value is 'INFO'. ESTEFANIA_BOT_LOG_LEVEL
--log-file Path to the log file. ESTEFANIA_BOT_LOG_FILE
--openai-org OpenAI organization ID. ESTEFANIA_BOT_OPENAI_ORG
--openai-token Authentication token for OpenAI. ESTEFANIA_BOT_OPENAI_TOKEN
--openai-model OpenAI model ID to use. ESTEFANIA_BOT_OPENAI_MODEL

All arguments can be passes to the bot both using the parameter or the envvar, for example:

python bot.py --openai-model gpt-4
ESTEFANIA_BOT_OPENAI_MODEL=gpt4 python bot.py

## Available commands

Command Description
/estefania Interact with OpenAI using Chat
/photofania Generate a Dall-E picture based on the text provided

Run as container

To run estefanIA as container, save a file with all the parameter and use it as --env-file

podman run -d -it --name estefanIA --env-file /tmp/env_file ghcr.io/morenod/estefania:latest

estefania's People

Contributors

morenod avatar

Watchers

 avatar  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.