Skip to main content

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)

# even do parrallel bulk generation for extra speediness
db.parallel_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

ai_tools_ct-0.0.4.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_tools_ct-0.0.4-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file ai_tools_ct-0.0.4.tar.gz.

File metadata

  • Download URL: ai_tools_ct-0.0.4.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for ai_tools_ct-0.0.4.tar.gz
Algorithm Hash digest
SHA256 65a5bcbe0d9e8e6fa05d907620d3db959c6ea2e739bab61ceea9e152adca838e
MD5 0c0b1bd3fe2be9326dce96f97d2f9c70
BLAKE2b-256 656312e200b42fdb4bc3c3f94c535f859f24fb0cf16a8545e92e61fab12c2c7a

See more details on using hashes here.

File details

Details for the file ai_tools_ct-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: ai_tools_ct-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for ai_tools_ct-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 33692eb610f08cf1c5ae8d824ed22c557cc0a004c359cecacb56111d4a7cb256
MD5 a9e28df92edc44e0e711e0e2edf9a5a8
BLAKE2b-256 d4e0219a8926b6101f9b89c8f9736ef8fa99747b4bc8bce6d43e36d633667e31

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page