Comments (6)
Very good project full support from my side 👍
from awesomechatgptbot.
Hi @Deplyapp
Bot has 4 providers, you can edit them in utils.py
in line 33 in this section:
# Get providers list
PROVIDERS: List[Callable] = [
deep_infra_chat, # Model: LLAMA-2-70b-Chat-HF
fstha_chat_gpt, # Model: ChatGPT-3.5-Turbo
online_gpt_chat, # Model: ChatGPT-3.5-Turbo
fakeopen_chat # Model: ChatGPT-3.5-Turbo
]
Then you can remove some or only keep one of them! Bot tries all providers until it gets valid response:
# Try all available providers
for provider in PROVIDERS:
# Get response from provider
response: str = provider(history)
You can remove this loop and only keep response line with your provider name for example:
# Get response from provider
response: str = fakeopen_chat(history)
it could be cool to add panel to bot to handle and set default providers. i will work on it, but for now you can edit these sections to change your provider.
from awesomechatgptbot.
Thanks 😊
from awesomechatgptbot.
It is possible in the bot to add image Recognition when user sends an image to the bot it Recognize the image and answer the question.
from awesomechatgptbot.
You're welcome.
Yes of course, I may add this feature soon. Maybe using some API or using third-party libraries to recognize text from image.
If you want to do it by yourself, you need to add new message handler to bot to handle only images, then do recognition process and use its result as normal input with chat-GPT functions.
I will add both voice recognition and Image recognition soon.
from awesomechatgptbot.
Thank you very much 😄 ❤️
from awesomechatgptbot.
Related Issues (20)
- How did you can use chatGPT API for free? HOT 1
- Not working HOT 4
- how to use Inline mode? HOT 2
- AttributeError: module 'titles' has no attribute 'welcome_2' HOT 1
- maybe change public Fakeopen API-proxy to local proxy? HOT 2
- plans to add multi language support ? HOT 11
- /reset command not work HOT 1
- change Markdown in titles.py from ''' to ' HOT 2
- How can I use the bot in the group? HOT 1
- How can I create an image? HOT 1
- Ensure you have a function to choose a provider. HOT 1
- Please add new free providers HOT 1
- RU / Cyrillic lang NOT work HOT 8
- Voice Input / Output HOT 1
- autoupdater HOT 2
- Gptbot (69?) HOT 1
- Use webscout package HOT 2
- Providers.json not found HOT 1
- Analyze a larger text file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesomechatgptbot.