Skip to content

williambrach/quick-call-dspy

Repository files navigation

quick-call-dspy

A just simple UI (gradio) to explain product manager what your prompt (DSPy) does and it is also super effective with students.

demo

Getting Started

  1. Clone the repository:
git clone https://github.com/williambrach/quick-call-dspy.git
cd quick-call-dspy
  1. Install the required dependencies:
uv venv --python 3.12.10
uv sync
  1. Optional - setup .env and add your credentials or insert your credentials via the UI:
cp .env.example .env
  1. Run the application:
gradio app.py
  1. Open the local URL (http://127.0.0.1:7860) in your browser and enjoy!

Docker usage

docker-compose up --build

Signaturize docs

from_prompt

def from_prompt(prompt: str, return_type: str = "signature") -> type | str:
  • supported return types: "signature", "string"

This functionality is build upon the code from vibe-dspy repository. Please check it out for more details and add ⭐️.

from_dspy_string

def from_dspy_string(cls_string: str) -> type[dspy.Signature]:
  • cls_string: A string representation of a DSPy signature class.

About

just UI to explain product manager what dspy program does

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors