https://github.com/scale3-labs/dspy-examples
A collection of example AI programs built using DSPy and maitained by the Langtrace AI team.
https://github.com/scale3-labs/dspy-examples
Last synced: 5 months ago
JSON representation
A collection of example AI programs built using DSPy and maitained by the Langtrace AI team.
- Host: GitHub
- URL: https://github.com/scale3-labs/dspy-examples
- Owner: Scale3-Labs
- License: mit
- Created: 2024-10-12T06:50:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-15T20:49:45.000Z (almost 2 years ago)
- Last Synced: 2024-10-17T07:14:46.545Z (almost 2 years ago)
- Language: Python
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DSPy AI Program Examples
This repository contains a collection of example AI programs built using DSPy and maitained by the Langtrace AI team.
## Repository Structure
- `src/`: The top-level directory containing all examples.
- Each subdirectory within `src/` represents a distinct example.
- Within each example directory, you'll find one or more program folders.
## Program Structure
Each program folder typically includes the following files:
- `dataset`: Contains the data used by the program.
- `program.py`: The main program logic.
- `signatures.py`: Defines the signatures used in the program.
- `run.py`: The entry point for executing the program.
## Compound Systems
Some examples may consist of multiple DSPy programs working together as a compound system. In such cases, you'll find multiple program folders within a single example directory.
## Getting Started
To run an example:
1. Navigate to the desired program folder.
2. Execute the `run.py` file.
## Contributing
We welcome contributions to this repository! Here's how you can contribute:
1. Fork the repository
2. Create a new branch for your feature or bug fix
3. Make your changes and commit them with a clear message
4. Push your changes to your fork
5. Submit a pull request with a description of your changes
Please ensure your code follows the existing style and includes appropriate documentation. We appreciate your help in improving this project!
## License
This project is licensed under the MIT License.