A library to generate tags list from a text using OpenAI
Project description
Tags Generator
A Python library to generate a tags list from a text using OpenAI.
Installation
Install the package using pip:
Usage
from tags_generator import TagsGenerator
# Set your OpenAI API key
openai_api_key = "your_openai_api_key"
# Initialize the TagsGenerator
tg = TagsGenerator(openai_api_key)
# Generate tags from a text
text = "Create a step-by-step guide on building a pip library to distribution the library."
tags = tg.generate_tags(text)
print(tags)
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
tags-generator-0.3.0.tar.gz
(2.1 kB
view details)
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