Skip to content
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
wants to merge 86 commits into
base: main
Choose a base branch
from

Conversation

sweep-ai[bot]
Copy link

@sweep-ai sweep-ai bot commented Dec 22, 2023

PR Feedback (click)

  • πŸ‘ Sweep Did Well
  • πŸ‘Ž Sweep Needs Improvement

Description

This pull request updates the teleprompt documentation by making changes to the teleprompters.md file. It includes updates to the LabeledFewShot class constructor, the compile method, and the Ensemble class constructor. It also introduces a new class BootstrapFewShotWithRandomSearch and updates its constructor. Additionally, it includes code examples and explanations for each change.

Summary

  • Updated the LabeledFewShot class constructor to include the option to randomly sample demos from the trainset.
  • Updated the compile method of the LabeledFewShot class to provide more details about the demo sampling process.
  • Updated the Ensemble class constructor to provide more details about the reduce_fn and size parameters.
  • Added code examples and explanations for each change.
  • Introduced a new class BootstrapFewShotWithRandomSearch and updated its constructor.

Fixes #46.


πŸŽ‰ Latest improvements to Sweep:

  • We just released a dashboard to track Sweep's progress on your issue in real-time, showing every stage of the process – from search to planning and coding.
  • Sweep uses OpenAI's latest Assistant API to plan code changes and modify code! This is 3x faster and significantly more reliable as it allows Sweep to edit code and validate the changes in tight iterations, the same way as a human would.
  • Try using the GitHub issues extension to create Sweep issues directly from your editor! GitHub Issues and Pull Requests.

πŸ’‘ To get Sweep to edit this pull request, you can:

  • Comment below, and Sweep can edit the entire PR
  • Comment on a file, Sweep will only modify the commented file
  • Edit the original issue to get Sweep to recreate the PR from scratch

darinkishore and others added 20 commits December 20, 2023 21:00
…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)
Copy link
Author

sweep-ai bot commented Dec 22, 2023

Sandbox Executions

  • Running GitHub Actions for docs/teleprompters/teleprompters.md βœ“
Check docs/teleprompters/teleprompters.md with contents:

Ran GitHub Actions for e344da508577d549d00d057789e8d1b41cd649eb:

Copy link
Author

sweep-ai bot commented Dec 22, 2023

Rollback Files For Sweep

  • Rollback changes to True

Copy link
Author

sweep-ai bot commented Dec 22, 2023

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.
  • Apply: Add docstrings to all functions and file headers.

@sweep-ai sweep-ai bot added the sweep label Dec 22, 2023
@sweep-ai sweep-ai bot mentioned this pull request Dec 22, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sweep: Update teleprompt documentation
1 participant