A package deisnged to help with general AI related developments, mainly data generation
Project description
AI TOOLS CT
This repo is a collection of classes that will help users with ai tasks regarding the use of OpenAi for data generation.
Installation
$ pip install ai_tools_ct
Usage
At the moment, you will need an openai api key which you can find here.
from ai_tools_ct.gpt import Gpt
from ai_tools_ct.data_generator import DataGenerator as Dg
gpt = Gpt(api_key=your_api_key)
dg = Dg(gpt)
# for single prompt generation
dg.single_generation(prompt="give me 10 random words")
# or do a bulk generation with multiple prompts
prompts = ["give me a random word", "give me a random number"]
targets = ["word", "number"]
system_prompts = ["you are a word generator", "you are a number generator"]
dg.bulk_generation(prompts = prompts, targets=targets, system_prompts=system_prompts)
# access results either through python list of pandas df
dg.generation_results
dg.df_generation_results
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_tools_ct-0.0.3.tar.gz.
File metadata
- Download URL: ai_tools_ct-0.0.3.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
555076b2d1cec2deda37e33ad8ab093055bebe2c3d6f6c340599497165ce961c
|
|
| MD5 |
31830ae54916785374fbf7e96d423fcc
|
|
| BLAKE2b-256 |
1ca6148f0ac29214a7761549d552cb2e5cb7e770b01eefc76337216956f98f5e
|
File details
Details for the file ai_tools_ct-0.0.3-py3-none-any.whl.
File metadata
- Download URL: ai_tools_ct-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cae2c5050063671f48cb1bf9ffc5c6691ebed01b6cf87831476890b8162949b9
|
|
| MD5 |
4affc20dd4763a6ddec8d9428d57daec
|
|
| BLAKE2b-256 |
b7e9c7d9944016460736b4c81924306dd22d509726e99b0d40d022ddb4c310a3
|