Creating Your Custom Chatbot: Unleashing the Power of OpenAI API and HuggingFace for Text and Voice Interactions
Gone are the days of one-size-fits-all chatbots that lack personalization and fail to engage users effectively. Today, we have the opportunity to create chatbots that truly understand and connect with their audience. With OpenAI API, we can tap into the state-of-the-art language model, allowing our chatbot to comprehend natural language inputs, provide accurate responses, and even hold dynamic conversations with users.
-
clone this repository
https://github.com/mohammed97ashraf/LLM_Agri_Bot.git
-
Install All The Required Libraries
pip install - r requirements.txt
-
Add Your OpenAI And HuggingFace Api Keys
hugging_face = #add your Huggingface API key here open_ai_key = #add your OpenAI API key here
-
The Run Code by
Python app.py