Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanivhaliwa/chatwithaimodels
https://github.com/yanivhaliwa/chatwithaimodels
ai anthropic anthropic-claude audio-processing chatbot gpt hume machine-learning nlp python voice-analysis voice-recognition
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/yanivhaliwa/chatwithaimodels
- Owner: YanivHaliwa
- Created: 2024-10-04T20:14:36.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-11-03T19:03:58.000Z (4 months ago)
- Last Synced: 2024-11-10T16:20:07.818Z (3 months ago)
- Topics: ai, anthropic, anthropic-claude, audio-processing, chatbot, gpt, hume, machine-learning, nlp, python, voice-analysis, voice-recognition
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# AI Chatbot and Audio Analysis Scripts
This repository contains a collection of Python scripts for various AI-powered chatbots and audio analysis tools. Each script uses different AI models and APIs to provide unique functionalities.
## Scripts Overview
1. **chatcl.py** - Claude Chatbot
- Uses Anthropic's Claude API
- Features: URL text extraction, conversation history, artifact handling
- Supports various file types for content analysis2. **chatclpic.py** - Claude Chatbot with Image Support
- Extension of chatcl.py with added image processing capabilities
- Can handle both local image files and image URLs3. **chatco.py** - Cohere Chatbot
- Utilizes Cohere's AI model
- Features: URL text extraction, file reading (including PDFs, Excel, CSV)
- Supports online/offline modes for web search integration4. **chatgo.py** - Google Gemini Chatbot
- Implements a chatbot using Google's Generative AI (Gemini)
- Features: URL text extraction, conversation history5. **audio.py** - Audio Analysis with Google's Gemini AI
- Uses Google's Gemini API for audio file analysis
- Provides a brief summary of the audio content6. **chat-hume.py** - Real-time Voice Analysis with Hume AI
- Uses Hume's Voice API for real-time speech analysis
- Features: Live transcription and emotion voice index (EVI) analysis## Requirements
- Python 3.x
- Various Python libraries (see requirements.txt)
- API keys for Anthropic, Cohere, Google Gemini, and Hume AI## Setup
1. Clone this repository:
```
git clone https://github.com/yourusername/ai-chatbot-scripts.git
cd ai-chatbot-scripts
```2. Install required packages:
```
pip install -r requirements.txt
```3. Set up environment variables for API keys:
- ANTHROPIC_API_KEY
- COHERE_API_KEY
- GEMINI_API_KEY
- HUME_API_KEY## Usage
Run each script from the command line:
- Claude Chatbot: `python chatcl.py`
- Claude with Image: `python chatclpic.py `
- Cohere Chatbot: `python chatco.py`
- Audio Analysis: `python audio.py `
- Google Gemini Chatbot: `python chatgo.py`
- Hume Voice Analysis: `python chat-hume.py`Follow the on-screen prompts for each script. Use `/help` command in chat scripts for more information on available commands.
## Features
- Text-based chat interfaces
- Image and audio file analysis
- URL content extraction and analysis
- File reading and analysis (PDF, Excel, CSV, etc.)
- Real-time voice transcription and emotion analysis
- Conversation history management
- Online/offline modes (for web search integration)## License
[MIT License](https://opensource.org/licenses/MIT)
## Acknowledgements
- [Anthropic](https://www.anthropic.com) for Claude AI
- [Cohere](https://cohere.ai) for their AI model
- [Google](https://ai.google.dev/) for Gemini AI
- [Hume AI](https://hume.ai) for voice analysis capabilities