Skip to content

FloorIsGround/dspy-examples

Repository files navigation

Some Examples for dspy

This project demonstrates simple usage of the dspy library with different language models for a wide range of uses.

Dependencies

You will also need API keys for:

  • Google AI Studio (for Gemini models)
  • OpenRouter (for Longcat model)

Running a script

More Detailed Information

  • Be sure to find the README.md for each individual script's requirements and for more information.

Generic installation

  1. Install dependencies:

    pip install -r requirements.txt

    or

    pip install dspy>=3.0.3 python-dotenv
  2. Create a .env file in the project directory with your API keys:

    google_ai_studio_key=YOUR_GOOGLE_AI_STUDIO_KEY
    open_router_key=YOUR_OPENROUTER_KEY
    
  3. Run the script:

    python conversational_ai/conversational_ai.py

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages