https://github.com/ramona-flower/toolzflow-ai
Some python code to use toolzflow code generator in python !
https://github.com/ramona-flower/toolzflow-ai
ai api api-wrapper bypass code code-ai gpt openai python toolzflow
Last synced: about 1 year ago
JSON representation
Some python code to use toolzflow code generator in python !
- Host: GitHub
- URL: https://github.com/ramona-flower/toolzflow-ai
- Owner: Ramona-Flower
- License: apache-2.0
- Created: 2025-04-06T14:58:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-06T15:03:04.000Z (about 1 year ago)
- Last Synced: 2025-04-09T22:04:37.248Z (about 1 year ago)
- Topics: ai, api, api-wrapper, bypass, code, code-ai, gpt, openai, python, toolzflow
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Toolzflow-AI in Python
This Python script is a client for interacting with the [ToolzFlow Best AI Code Generator](https://best-ai-code-generator.toolzflow.app/) API. It sends a prompt to the API and receives a code snippet as a JSON response.
## Features
- Sends a user prompt to a GPT-4o-based AI model.
- Supports different GPT-4o model variants (`gpt-4o`, `gpt-4o-turbo`, `gpt-4o-mini`).
## Requirements
- Python 3.7+
- `requests` library
Install dependencies with:
```bash
pip install requests
or
pip install -r requirements.txt
```
```bash
python script.py
```
## Example:
```bash
Enter your prompt: Create a Python function to sort a list of dictionaries by a key
```
The generated code will be printed to the console.
```python
ai_response = send_request("Create a Python script that fetches weather data", model="gpt-4o")
print(ai_response)
```
## Available Models
- `gpt-4o-mini` – Basic model
- `gpt-4o` – More powerful, not exposed in UI but works via API
- `gpt-4o-turbo` – Turbocharged variant of GPT-4o
Note: Even if gpt-4o or gpt-4o-turbo are not selectable on the website UI, you can still use them in the API request.
## License
This script is provided as-is under the Apache-2.0 license.