programmingninjas / GPT-3.5-ON-STEROIDS

GPT-3.5-ON-STEROIDS combines GPT with Python tools, empowering dynamic web scraping, language processing, and data retrieval. Contribute to advancing text generation with AI. 🚀
https://www.linkedin.com/posts/ayankhan3105_generativeai-autonomousagents-aiinnovation-activity-7118241513121153025--b3i
MIT License
27 stars 21 forks source link

Adding text-to-speech in Streamlit #3

Open programmingninjas opened 9 months ago

programmingninjas commented 9 months ago

Adding text-to-speech feature will improve our frontend and make the experience better.

Suraj-kumar00 commented 9 months ago

Hi Ayan can I start working on this issue and can you please help me with this like by telling me more about it and giving me some resources and stuff? Like words to audio right?

programmingninjas commented 9 months ago

Sure @Suraj-kumar00 you can work on this. I'm assigning this to you. You have to make the gpt's responses read out loud like it's talking to us. Reference

Suraj-kumar00 commented 9 months ago

Thanks, Ayan I'm working on it and can you please tell me like how much time I have to complete this? I started working on this!

programmingninjas commented 9 months ago

Don't worry about time. Take it easy, You can take 5-10 days but make sure to tell me if you cannot complete this so that i can assign it to someone else

Suraj-kumar00 commented 9 months ago

Yeah I'll try my 100% to complete to this task!

Suraj-kumar00 commented 9 months ago

Hi Ayan, how are you doing? So I just set up the project and ran it on my local machine but I encountered an error of this type: Screenshot (164)

what should i do in this case, by the way I'm working on my issue...

programmingninjas commented 9 months ago

You should always refer to the README.md file before working on a project. There i mentioned that you need to get your own API keys for OPENAI and SERP-API. Links are attached there. Kindly go to the respective websites and register to get the keys. Read the code and insert it where I wrote "Your _____ Key"

Suraj-kumar00 commented 9 months ago

You should always refer to the README.md file before working on a project. There i mentioned that you need to get your own API keys for OPENAI and SERP-API. Links are attached there. Kindly go to the respective websites and register to get the keys. Read the code and insert it where I wrote "Your _____ Key"

Oh pardon, next time I'll remember and thanks !

programmingninjas commented 9 months ago

@Suraj-kumar00 We changed the file structure significantly. So i would advise you to update the fork that you are currently working on. Reach out to me if something is not clear.

Suraj-kumar00 commented 9 months ago

Yeah @programmingninjas, Like after forked I switched to the feature branch as per the README file and I've up to date that branch, like on GitHub should I also up-to date the main branch? And one thing I want to ask that should I create a draft pull request there we can talk about this if you say I'll create the draft pull request!

programmingninjas commented 9 months ago

Yeah update it. And for further communication reach out to me over linkedIn. I guess we are connected right?. LinkedIn

Suraj-kumar00 commented 9 months ago

Yeah update it. And for further communication reach out to me over linkedIn. I guess we are connected right?. LinkedIn

yes we are connected, and draft pull request should create it of not ?

programmingninjas commented 9 months ago

Nope leave it.

Suraj-kumar00 commented 9 months ago

Nope leave it.

okay

Suraj-kumar00 commented 9 months ago

Hi @programmingninjas I need help actually when i ad Open AI API key and save it'll automatically disabled the key i tried it 4 to 5 times but I'm getting it can you please help me with this?

programmingninjas commented 9 months ago

Are you pushing it to the github by any chance? They disable the key if it is published anywhere in public

Suraj-kumar00 commented 9 months ago

Oh okay

Suraj-kumar00 commented 9 months ago

See here this time i never push but still It's showing an error of incorrect API key ??

Screenshot (175) Screenshot (176)

programmingninjas commented 9 months ago

because you are using the old file structure. Clone the current project in a separate folder and you just have to change the keys in the .env file . Actually the main app.py file is in the app folder idk how you have it outside the folder you mixed up both versions maybe. So clone it in a separate one and go through readme again

Suraj-kumar00 commented 9 months ago

Now I'm getting ratelimiterror from openAI how do i fix this? Screenshot (178)

programmingninjas commented 9 months ago

There is a rate limit of 3 requests per minute in this API. The task that you have given the Agent is not a task due to which it's not using any command which takes a min on avg to complete that's why there is a sleep time of just 5 sec between each call as tools itself takes a minute. Example tasks: 1) Plan a trip to Japan in August 2) Popular anime of 2023 3) Watch a tutorial and do something with that information 4) Searching about someone like who is programmingninjas on github.

Suraj as this project is in it's early phase there will be many errors along the way. Retrying always help!

Suraj-kumar00 commented 9 months ago

There is a rate limit of 3 requests per minute in this API. The task that you have given the Agent is not a task due to which it's not using any command which takes a min on avg to complete that's why there is a sleep time of just 5 sec between each call as tools itself takes a minute. Example tasks:

  1. Plan a trip to Japan in August
  2. Popular anime of 2023
  3. Watch a tutorial and do something with that information
  4. Searching about someone like who is programmingninjas on github.

Suraj as this project is in it's early phase there will be many errors along the way. Retrying always help!

thanks @programmingninjas for you help and yeah I'll retry it again.

Suraj-kumar00 commented 9 months ago

Hi @programmingninjas, How are you doing? Sorry for being so late here because of some reason but anyway, I'll let you know the progress by tonight...

Suraj-kumar00 commented 8 months ago

Hello @programmingninjas, How are you doing? Actually, I'm trying to work on this issue so I take this for 3 hours, but I'm not reaching the end can you please help me? Like the project is working perfectly in my machine everything is fine but the moment I'm trying to convert the text to audio a lot of things happened and I messed up, could you please help me with this? here are the screenshots Screenshot (186) Screenshot (187) Screenshot (188) Screenshot (189) Screenshot (190) Screenshot (191) Screenshot (192) Screenshot (193)

programmingninjas commented 8 months ago

I'm not able to figure out it out just by the ss. I told you to reach out to me on linkedin bro. We will schedule a gmeet and discuss regarding this. I even texted you there but you didn't reply

Suraj-kumar00 commented 8 months ago

oh okay

RaviRam-Gummuluri commented 6 months ago

Hi, I would like to take up this issue as part of SWOCS4.

programmingninjas commented 6 months ago

@RaviRam-Gummuluri sure you can! Kindly set up the project locally and make sure you understand it thoroughly. I will assign this issue to you after 1st Jan as SWOC contributions will start from then. Good Luck!

programmingninjas commented 6 months ago

@RaviRam-Gummuluri Assigned you the issue! Start working on them

Burhanuddin-2001 commented 5 months ago

If this issue is still open, I would like to contribute to it.

programmingninjas commented 5 months ago

@RaviRam-Gummuluri are you working on the issue? Else i will assign it to @Burhanuddin-2001