Bobby AI is a voice-activated chatbot that integrates various APIs to provide real-time responses, including weather updates, news, jokes, and AI-driven conversations. It features both text and voice input, making it a versatile assistant.
- Voice and Text Input: Users can interact using either voice commands or text input.
- Joke API: Fetches random jokes to entertain users.
- Weather API: Retrieves real-time weather updates for any city.
- News API: Provides the latest top news headlines.
- Web Navigation: Opens popular websites like YouTube, Google, Wikipedia, etc.
- Time Query: Provides the current time.
- AI Chat Functionality: Uses DeepSeek AI models via Together AI API for chatbot responses.
- GUI-based Interface: Built with Tkinter for a smooth user experience.
- Chat History Display: Keeps a scrollable history of chat interactions.
- Clear Chat Functionality: Allows users to reset the chat window.
- Together AI API – For AI-based chatbot responses.
- OpenWeatherMap API – For weather updates.
- NewsAPI – For fetching latest news.
- JokeAPI – For generating jokes.
- Install dependencies:
pip install speechrecognition requests python-dotenv tkinter
- Create a
.envfile and add the API keys:TOGETHER_API_KEY=your_together_api_key WEATHER_API_KEY=your_weather_api_key NEWS_API_KEY=your_news_api_key
- Run the script:
python bobby_ai.py
- Type or speak a query like:
- "Tell me a joke."
- "What's the weather like in Bangalore?"
- "Open YouTube."
- "What's the latest news?"
- "What time is it?"
- Click the Send button or press Enter to send text input.
- Click the Voice button to use voice input.
- Use the Clear Chat button to clear the conversation.
Developed by Farhaan Arshad as part of a chatbot project integrating free AI and external APIs.