Skip to content

A demo showing how to build an auto-improving prompt using evaluators

License

Notifications You must be signed in to change notification settings

traceloop/auto-prompting-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prompt Optimizer Crew

Welcome to the PromptOptimizer Crew project, powered by crewAI. This template is designed to help you set up a multi-agent AI system with ease, leveraging the powerful and flexible framework provided by crewAI. Our goal is to enable your agents to collaborate effectively on complex tasks, maximizing their collective intelligence and capabilities.

Installation

Ensure you have Python >=3.10 <3.13 installed on your system. This project uses UV for dependency management and package handling, offering a seamless setup and execution experience.

First, if you haven't already, install uv:

pip install uv

Next, navigate to your project directory and install the dependencies:

uv install

Then, you can run the following commands:

  • uv run load_data - Prepares and loads data for RAG operations. This must be run first before using other commands
  • uv run rag - Runs the RAG pipeline once and stops
  • uv run kickoff - Attempts to optimize the prompt used for RAG by running multiple iterations

About

A demo showing how to build an auto-improving prompt using evaluators

Resources

License

Stars

Watchers

Forks

Languages