This Python script provides an interface to interact with the Groq API, allowing users to generate text using various AI models. This is not complete and is only a small part of a much larger project
- Simple mode: Quick interaction with a default AI model: llama-3.3-70b-versatile
- Advanced mode: Choose a specific AI model for text generation
- Model listing: View available AI models
- Python 3.6+
- Groq API key
- Clone this repository via https://github.com/BobbyMcBobFace/AnotherPersonalAI.git
- Install required packages: pip install groq requests python-dotenv httpx
- Head to https://console.groq.com/keys and generate an API Key
- Create a
.env
file in the project root and add your Groq API key:
simple_mode()
: Interact with the default AI modeladvanced_mode()
: Choose a specific AI model for text generationmodels()
: Display available AI modelsmain()
: Main program loop and mode selection
This tool uses the Groq API. For more information, visit Groq API Documentation.
Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.