Coder Social home page Coder Social logo

thewickedkarma / amadeus Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 80.0 30 KB

A Telegram Chatbot written in Python3 making use of OpenAI's GPT3 model (Da Vinci Engine). You can fork and deploy this repo on heroku.

License: GNU General Public License v3.0

Python 100.00%
amadeus artificial-intelligence chatbot gpt3 openai python3 steins-gate telegram

amadeus's Introduction

Hits

Hi , I'm Ankit

A student from India, passionate about programming, Cyber Security, AI and Machine Learning.

Glad to see you here!



  • 🌱 I’m currently learning C++ and various python libraries(OpenCV, TensorFlow, PyTorch). 
    
  • ❤️ Open source lover and linux enthusiast.
    
  • 🏹 I’m always looking forward to contribute to open source.
    
  • 💬 Ask me about nothing, I am lazy.
    
  • 📫 How to reach me: By teleportation...lol
    
  • 😄 Pronouns: He/him
    
  • ⚡ Fun fact: I don't know who you are 😶
    
  • 💿 I use Arch btw 
    

Now-Playing/Recently Played 🎧

spotify-github-profile

Some silly Stats 😗

    

Most Popular repo:

文 Languages and Tools 🛠

Languages:

Python JavaScript C++ Bash

Web Development:

HTML5 CSS3 Sass Tailwind Css Bootstrap

Tools and Database:

Git GitHub Npm MySQL

Editors:

VS Code Vim Eclipse

Operating Systems:

Arch-Linux Manjaro Kali

Trophies:

trophy

Contact:

Instagram Twitter Discord

amadeus's People

Contributors

thewickedkarma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

amadeus's Issues

Message text is empty

when asked complex question, bot responses with this reply: "Message text is empty"
also sometime it doesnt print the whole response. for example if response has multiple paragraph it would only print the first line.

P.S.; i tried text-davinci-003 model but same problems

"I'm sorry, I don't know how to help you with that."

I borrowed some of your code for my own TG bot (thanks for making this btw!!) to do some experiments with GPT-3. I'm wondering how I can adjust the parameters for temperature, frequency, etc. in the code itself

2 questions

  1. i notice Amadeus often responds with "I'm sorry, I don't know how to help you with that" a lot more than inputting the same question into openai's playground. Do you know why this might be the case?

  2. and this may solve my first question, but specifically I'm asking Amadeus a lot of data-related questions, so I'd like to adjust the temperature setting to be lower. Using the playground, I can grab this code but unsure where to include it in my local version of Amadeus:

response = openai.Completion.create(
  model="text-davinci-002",
  prompt="prompt input",
  temperature=0,
  max_tokens=100,
  top_p=1,
  frequency_penalty=0,
  presence_penalty=0
)

I think turning temperature way lower would help solve my issues, but curious if you've experienced this yourself

error filter

Traceback (most recent call last):
File "/Users/ethicdeveloper/Desktop/ChatGPT-Telegram-Bot/harshitethic.py", line 1, in
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters
ImportError: cannot import name 'Filters' from 'telegram.ext' (/Users/ethicdeveloper/Library/Python/3.11/lib/python/site-packages/telegram/ext/init.py)

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.