Python prompting

Open-source Python projects categorized as prompting

Top 8 Python prompting Projects

  • graph-of-thoughts

    Official Implementation of "Graph of Thoughts: Solving Elaborate Problems with Large Language Models"

  • Project mention: Q* Could Be It - Forget AlphaGO - It's Diplomacy - Peg 1 May Have Fallen - Noam Brown May Have Achieved The Improbable - Is this Q* Leak 2.0? | /r/singularity | 2023-12-08

    We introduce Graph of Thoughts (GoT): a framework that advances prompting capabilities in large language models (LLMs) beyond those offered by paradigms such as Chain-ofThought or Tree of Thoughts (ToT). The key idea and primary advantage of GoT is the ability to model the information generated by an LLM as an arbitrary graph, where units of information (“LLM thoughts”) are vertices, and edges correspond to dependencies between these vertices. This approach enables combining arbitrary LLM thoughts into synergistic outcomes, distilling the essence of whole networks of thoughts, or enhancing thoughts using feedback loops. We illustrate that GoT offers advantages over state of the art on different tasks, for example increasing the quality of sorting by 62% over ToT, while simultaneously reducing costs by >31%. We ensure that GoT is extensible with new thought transformations and thus can be used to spearhead new prompting schemes. This work brings the LLM reasoning closer to human thinking or brain mechanisms such as recurrence, both of which form complex networks. Website & code: https://github.com/spcl/graph-of-thoughts

  • swarms

    Orchestrate Swarms of Agents From Any Framework Like OpenAI, Langchain, and Etc for Real World Workflow Automation. Join our Community: https://discord.gg/DbjBMJTSWD

  • Project mention: Swarms – Automating all digital activities with millions of autonomous AI Agents | news.ycombinator.com | 2023-07-10
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • self-refine

    LLMs can generate feedback on their work, use it to improve the output, and repeat this process iteratively.

  • Project mention: Self-Refine: Iterative Refinement with Self-Feedback | news.ycombinator.com | 2023-11-23
  • stable-diffusion-webui-Prompt_Generator

    An extension to AUTOMATIC1111 WebUI for stable diffusion which adds a prompt generator

  • Project mention: Ask HN: Are there AI prompt builder products? | news.ycombinator.com | 2024-04-17

    There are a few, here's one: https://github.com/imrayya/stable-diffusion-webui-Prompt_Gen...

  • prompt-lib

    A set of utilities for running few-shot prompting experiments on large-language models

  • AREkit

    Document level Attitude and Relation Extraction toolkit (AREkit) for sampling and processing large text collections with ML and for ML

  • meta-prompting

    Official implementation of BGPT @ ICLR 2024 paper "Meta Prompting for AI Systems" (https://arxiv.org/abs/2311.11482)

  • Project mention: Meta Prompting for AGI Systems | news.ycombinator.com | 2024-02-29
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Prompt-Injection-Testing-Tool

    The Prompt Injection Testing Tool is a Python script designed to assess the security of your AI system's prompt handling against a predefined list of user prompts commonly used for injection attacks. This tool utilizes the OpenAI GPT-3.5 model to generate responses to system-user prompt pairs and outputs the results to a CSV file for analysis.

  • Project mention: Show HN: Prompt Injection Testing Tool – GitHub | news.ycombinator.com | 2024-03-20
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python prompting related posts

  • Ask HN: Are there AI prompt builder products?

    2 projects | news.ycombinator.com | 17 Apr 2024
  • Self-Refine: Iterative Refinement with Self-Feedback

    1 project | news.ycombinator.com | 23 Nov 2023
  • Prompt Engineering Courses are SCAM !!!!

    4 projects | /r/ChatGPT | 17 Jun 2023
  • ChemCrow: Augmenting large-language models with chemistry tools

    1 project | news.ycombinator.com | 17 Apr 2023
  • ChatGPT4 is completely on rails.

    6 projects | /r/ChatGPT | 14 Apr 2023
  • Generative Agents: Interactive Simulacra of Human Behavior

    1 project | news.ycombinator.com | 10 Apr 2023
  • Large Language Models Are Human-Level Prompt Engineers

    1 project | news.ycombinator.com | 9 Apr 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 2 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source prompting projects in Python? This list will help you:

Project Stars
1 graph-of-thoughts 1,845
2 swarms 670
3 self-refine 488
4 stable-diffusion-webui-Prompt_Generator 223
5 prompt-lib 98
6 AREkit 52
7 meta-prompting 29
8 Prompt-Injection-Testing-Tool 18

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com