forked from stanfordnlp/dspy
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sweep: Update teleprompt
documentation (β Sandbox Passed)
#62
Open
sweep-ai
wants to merge
86
commits into
main
Choose a base branch
from
sweep/update_teleprompt_documentation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Configure Sweep
β¦thedocs_integrati Sweep: Set up project for ReadTheDocs integration. (β Sandbox Passed)
β¦or_leftover_html_t Sweep: Revise `docs/README.rst` for leftover HTML tags, and other syntax issues. (β Sandbox Passed)
This commit adds the initial documentation files and structure for the DSPy project. The documentation is written using Sphinx and reStructuredText format. The documentation includes sections for language model clients, retrieval model clients, teleprompters, using local models, and modules. These sections provide an overview of the different components of DSPy and how to use them. The documentation also includes an image representing DSPy and a conclusion section. This is the initial commit for the documentation and more content will be added in future commits.
β¦ation_from_llamain Sweep: Update cloned documentation from llama-index to document DSPy (β Sandbox Passed)
β¦/source/conf.py" to "docs/conf.py" to match actual file location
β¦assertions_in_dspy Sweep: Add documentation for `Assertions`, in `dspy/assert`.
β¦he_dspy_folder_has Sweep: Ensure `signatures` in the `dspy/` folder has documentation. (β Sandbox Passed)
Sandbox Executions
Check docs/teleprompters/teleprompters.md with contents: |
Rollback Files For Sweep
|
Apply Sweep Rules to your PR?
|
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Feedback (click)
Description
This pull request updates the
teleprompt
documentation by making changes to theteleprompters.md
file. It includes updates to theLabeledFewShot
class constructor, thecompile
method, and theEnsemble
class constructor. It also introduces a new classBootstrapFewShotWithRandomSearch
and updates its constructor. Additionally, it includes code examples and explanations for each change.Summary
LabeledFewShot
class constructor to include the option to randomly sample demos from thetrainset
.compile
method of theLabeledFewShot
class to provide more details about the demo sampling process.Ensemble
class constructor to provide more details about thereduce_fn
andsize
parameters.BootstrapFewShotWithRandomSearch
and updated its constructor.Fixes #46.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can: