Skip to main content

Use GPT or other prompt based models to get structured output

Project description

Promptify

Solve NLP Problems with LLM's & Easily generate different NLP Task prompts for popular generative models like GPT, PaLM, and more with Promptify

License GitHub commit PRs Welcome Open All Collab

Features 🎮

  • Perform NLP tasks (such as NER and classification) in just 2 lines of code, with no training data required
  • Easily add one shot, two shot, or few shot examples to the prompt
  • Handling out-of-bounds prediction from LLMS (GPT, t5, etc.)
  • Output always provided as a Python object (e.g. list, dictionary) for easy parsing and filtering. This is a major advantage over LLMs generated output, whose unstructured and raw output makes it difficult to use in business or other applications.
  • Custom examples and samples can be easily added to the prompt
  • Optimized prompts to reduce OpenAI token costs (coming soon)

Available Prompts for different NLP Task :

Task Name Colab Notebook Status
Named Entity Recognition NER Examples with GPT-3
Multi-Label Text Classification Classification Examples with GPT-3
Multi-Class Text Classification Classification Examples with GPT-3
Binary Text Classification Classification Examples with GPT-3
Question-Answering QA Task Examples with GPT-3
Question-Answer Generation QA Task Examples with GPT-3
Summarization Summarization Task Examples with GPT-3
Explanation Explanation Task Examples with GPT-3
Tabular Data
Image Data
More Prompts

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

promptify-0.1.3.tar.gz (887.1 kB view details)

Uploaded Source

File details

Details for the file promptify-0.1.3.tar.gz.

File metadata

  • Download URL: promptify-0.1.3.tar.gz
  • Upload date:
  • Size: 887.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for promptify-0.1.3.tar.gz
Algorithm Hash digest
SHA256 369beabd14bbed6cc5150e694e92f819caa210682f89b09f57efc1361bd7a454
MD5 d513f56fb2b72cff2631f2c290be38b8
BLAKE2b-256 d01ac5993eda53020c5cb047986854fd1940965857c73fc4cbc6e0bee5b58480

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