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

WIP Docs #272

Closed
wants to merge 109 commits into from
Closed

WIP Docs #272

wants to merge 109 commits into from

Commits on Dec 20, 2023

  1. Create sweep.yaml

    sweep-ai[bot] authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    4fee372 View commit details
    Browse the repository at this point in the history
  2. Create sweep template

    sweep-ai[bot] authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    15375b2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d56c7c View commit details
    Browse the repository at this point in the history
  4. Update sweep.yaml

    darinkishore authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    deaba87 View commit details
    Browse the repository at this point in the history
  5. Update sweep.yaml

    darinkishore authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    5da350b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bf1169e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    011593c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5a06559 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    faeb6dc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c54a118 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    526e993 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    735516c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    62d69ad View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8b7b1b2 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9552a01 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    479c73d View commit details
    Browse the repository at this point in the history
  17. Update sweep.yaml

    darinkishore authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    1da26f4 View commit details
    Browse the repository at this point in the history
  18. first commit

    darinkishore committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    a9591d4 View commit details
    Browse the repository at this point in the history
  19. Merge pull request #4 from darinkishore/sweep/set_up_project_for_read…

    …thedocs_integrati
    
    Sweep: Set up project for ReadTheDocs integration.  (✓ Sandbox Passed)
    darinkishore authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    3817d12 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    e765bf2 View commit details
    Browse the repository at this point in the history
  21. commit_msg

    darinkishore committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    c733b0f View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    46d3cc4 View commit details
    Browse the repository at this point in the history
  23. commit_msg

    darinkishore committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    7ded89d View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f7a6d17 View commit details
    Browse the repository at this point in the history
  25. No changes detected.

    darinkishore committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    9360135 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    64b874e View commit details
    Browse the repository at this point in the history
  27. No changes detected.

    darinkishore committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    108e140 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    b1601d6 View commit details
    Browse the repository at this point in the history
  29. No changes detected.

    darinkishore committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    d0a3735 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    1250e38 View commit details
    Browse the repository at this point in the history
  31. No changes detected.

    darinkishore committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    4f9c502 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    c6f5b3e View commit details
    Browse the repository at this point in the history
  33. No changes detected.

    darinkishore committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    4a48c9c View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    d502b97 View commit details
    Browse the repository at this point in the history
  35. No changes detected.

    darinkishore committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    f7e1e9d View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    bf5dbdd View commit details
    Browse the repository at this point in the history
  37. Merge pull request #6 from darinkishore/sweep/update-docs

    Update Documentation to Reflect Code Changes
    darinkishore authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    6a14181 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    5c7fee7 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    406cacf View commit details
    Browse the repository at this point in the history
  40. Merge pull request #11 from darinkishore/sweep/set_up_readthedocs_doc…

    …umentation
    
    Sweep: Set up ReadTheDocs Documentation (✓ Sandbox Passed)
    darinkishore authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    d40f4f8 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    48d0e9b View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Refactor documentation structure

    Refactored the documentation structure to move conf.py, index.rst, and other files to the 'docs/source' directory. Updated the '.gitignore' file to ignore the 'docs/doctrees' and 'docs/html' directories.
    darinkishore committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    b4688a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    480e8da View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    873fea3 View commit details
    Browse the repository at this point in the history
  4. Update .gitignore

    Added /docs/doctrees/ and /docs/html/ to .gitignore
    darinkishore committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    adbdca5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7c3afe0 View commit details
    Browse the repository at this point in the history
  6. Update sweep.yaml

    darinkishore authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    7df2cf3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9697869 View commit details
    Browse the repository at this point in the history
  8. aider: Set the root path of the project to the correct directory for …

    …Read the Docs (RTD).
    
    # Aider chat conversation:
    
    USER: Is the config for rtd using the right root path ?
    
    ASSISTANT: To determine if the configuration for Read the Docs (RTD) is using the correct root path, we need to consider the typical structure of a Python project and how RTD builds the documentation. The `os.path.abspath('../dspy/')` line is intended to add the directory containing the module/package `dspy` to the system path so that Sphinx can import the modules for documentation.
    
    If the `docs` directory is at the same level as the `dspy` directory, the current configuration is incorrect because `..` would refer to the parent directory of `docs`, not the sibling directory. The correct path should be `os.path.abspath('../../dspy/')` to go up two levels from `docs/source` to the root of the project and then into the `dspy` directory.
    
    Here is the diff to correct the root path:
    
    ```diff
    --- docs/source/conf.py
    +++ docs/source/conf.py
    @@ ... @@
    # Set the root path of the project
    -sys.path.insert(0, os.path.abspath('../dspy/'))
    +sys.path.insert(0, os.path.abspath('../../dspy/'))
    ```
    
    This change assumes that the `dspy` directory is a sibling of the `docs` directory and that the `conf.py` file is located in `docs/source`. If the directory structure is different, please provide the correct structure so I can adjust the path accordingly.
    darinkishore committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    0f8111e View commit details
    Browse the repository at this point in the history
  9. Update index.rst

    Remove unnecessary sections from index.rst
    darinkishore committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    2b3c0ce View commit details
    Browse the repository at this point in the history
  10. Update index.rst

    Update the index.rst file with new content and images.
    darinkishore committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    dfdc664 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ac10079 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2081c14 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #15 from darinkishore/sweep/issue-removal-duplicat…

    …e-code
    
    Remove duplicate code block in Predict class
    darinkishore authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    dac7427 View commit details
    Browse the repository at this point in the history
  14. Add rst version of docs

    darinkishore committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    796d88a View commit details
    Browse the repository at this point in the history
  15. Update README.md

    darinkishore authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    adab66a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1aba982 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e3c5950 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    13cf3d8 View commit details
    Browse the repository at this point in the history
  19. Merge pull request #27 from darinkishore/sweep/refactor_indexrst_to_d…

    …raw_from_the_new_r_1
    
    Sweep: Refactor index.rst to draw from the new `*.rst` converted documentation (✓ Sandbox Passed)
    darinkishore authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    230e01c View commit details
    Browse the repository at this point in the history
  20. Update documentation and tutorial notebook with examples

    This commit updates the docs README and main documentation with clearer examples and explanations. It also adds a new introductory tutorial notebook for DSPy. All descriptions of how to use DSPy, including setting up language and retrieval models and constructing DSPy programs, are now fleshed out with corresponding code examples for better understanding. A new detailed FAQ section has also been added to guide users about when to use DSPy and how it compares to other libraries.
    darinkishore committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    232b421 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    a18ce01 View commit details
    Browse the repository at this point in the history
  22. Merge pull request #30 from darinkishore/sweep/revise_docsreadmerst_f…

    …or_leftover_html_t
    
    Sweep: Revise `docs/README.rst` for leftover HTML tags, and other syntax issues.  (✓ Sandbox Passed)
    darinkishore authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    982498c View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    f2f9050 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    22fc826 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    f08893d View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    528191b View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. feat(docs): add initial documentation files and structure

    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.
    darinkishore committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    642efe5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd2a94e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6aa6f03 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    247309e View commit details
    Browse the repository at this point in the history
  5. Merge pull request #38 from darinkishore/sweep/update_cloned_document…

    …ation_from_llamain
    
    Sweep: Update cloned documentation from llama-index to document DSPy (✓ Sandbox Passed)
    darinkishore authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    68d98be View commit details
    Browse the repository at this point in the history
  6. docs is getting done!

    darinkishore committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    fd54518 View commit details
    Browse the repository at this point in the history
  7. chore(.readthedocs.yaml): update Sphinx configuration path from "docs…

    …/source/conf.py" to "docs/conf.py" to match actual file location
    darinkishore committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    c7a522a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8ee1fbc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    345885f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    645444c View commit details
    Browse the repository at this point in the history
  11. Merge pull request #55 from darinkishore/sweep/add_documentation_for_…

    …assertions_in_dspy
    
    Sweep: Add documentation for `Assertions`, in `dspy/assert`.
    darinkishore authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    c539479 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d625b58 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #54 from darinkishore/sweep/ensure_signatures_in_t…

    …he_dspy_folder_has
    
    Sweep: Ensure `signatures` in the `dspy/` folder has documentation.  (✓ Sandbox Passed)
    darinkishore authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    2be7cfa View commit details
    Browse the repository at this point in the history
  14. Update sweep.yaml

    darinkishore authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    94d03ce View commit details
    Browse the repository at this point in the history
  15. Update sweep.yaml

    darinkishore authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    135dc58 View commit details
    Browse the repository at this point in the history
  16. Update sweep.yaml

    darinkishore authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    1f1e8d4 View commit details
    Browse the repository at this point in the history
  17. Update sweep.yaml

    darinkishore authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    8a65953 View commit details
    Browse the repository at this point in the history
  18. docs is getting done!

    darinkishore committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    2edbec9 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2023

  1. Update sweep.yaml

    darinkishore authored Dec 23, 2023
    Configuration menu
    Copy the full SHA
    942bc83 View commit details
    Browse the repository at this point in the history
  2. Update sweep.yaml

    darinkishore authored Dec 23, 2023
    Configuration menu
    Copy the full SHA
    864695e View commit details
    Browse the repository at this point in the history
  3. Create sweep.yaml

    darinkishore authored Dec 23, 2023
    Configuration menu
    Copy the full SHA
    3332b6a View commit details
    Browse the repository at this point in the history
  4. Update sweep.yaml

    darinkishore authored Dec 23, 2023
    Configuration menu
    Copy the full SHA
    bd7a12d View commit details
    Browse the repository at this point in the history
  5. Update sweep.yaml

    darinkishore authored Dec 23, 2023
    Configuration menu
    Copy the full SHA
    46e1936 View commit details
    Browse the repository at this point in the history
  6. Update sweep.yaml

    darinkishore authored Dec 23, 2023
    Configuration menu
    Copy the full SHA
    4b3f914 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

  1. Remove Algolia CSS and update documentation structure

    The Algolia CSS file was removed, impacting the configuration file as well. Moreover, the documentation's structure was heavily updated, removing unnecessary sections and refining existing ones for clarity. Sections related to community and contributions are emphasized now. The standardization of the table of contents and captions was also a prominent part of the update.
    darinkishore committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    3d936d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48537ca View commit details
    Browse the repository at this point in the history
  3. Remove redundant README file

    The README.rst file is deleted and modules.ipynb file, which explains the use of DSPy modules, is created. The README was removed because the same information was already found in other files, resulting in duplication. The newly added file provides a detailed explanation about the DSPy modules.
    darinkishore committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    20b3226 View commit details
    Browse the repository at this point in the history
  4. Refactor documentation structure and update file locations

    The code refactor involves renaming and reorganizing the documentation and tutorial files from 'dspy_constructs' folders to 'guides' and 'api_reference' folders respectively. This makes the documentation more understandable and easier to navigate. In the process, redundant README files were also removed to eliminate unnecessary duplication.
    darinkishore committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    77ed808 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    098f3da View commit details
    Browse the repository at this point in the history
  6. Update documentation structure and remove redundant README

    The commit removes a redundant README file from the 'getting_started' folder and renames the existing README. The documentation structure has also been adjusted, moving files from 'getting_started' to 'guides' and 'api_reference', enhancing clarity and usability.
    darinkishore committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    29c807e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c2f9d64 View commit details
    Browse the repository at this point in the history
  8. feat(assertions.ipynb): add guide for DSPy Assertions

    fix(index.rst): update link to Getting Started Guide in index.rst
    darinkishore committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    89a5a8d View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2024

  1. Configuration menu
    Copy the full SHA
    b6b3939 View commit details
    Browse the repository at this point in the history
  2. Remove redundant API reference documents from language models.

    This commit removes two `anyscale.md` and `cohere.md` files from the `docs/api_reference/language_models/hosted` directory and `intro.ipynb` file from the 'getting_started/beginner' directory. These files were causing redundancy in the API reference documentation.
    darinkishore committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    e4d2097 View commit details
    Browse the repository at this point in the history
  3. addded bunch of stuff

    darinkishore committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    50ce9b4 View commit details
    Browse the repository at this point in the history
  4. docs(conf.py): comment out hoverxref.extension to disable hover featu…

    …re temporarily
    
    docs(Retrieve.md): delete Retrieve.md file as it is no longer needed
    darinkishore committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    27d577b View commit details
    Browse the repository at this point in the history
  5. merge

    darinkishore committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    40e6bb8 View commit details
    Browse the repository at this point in the history
  6. Remove multiple language model guide files

    This commit eliminates five language model guide docs and makes necessary adjustments to the '.gitignore' file. The redundant documents were relating to the launching of MLP, TGI, and vLLM servers, as well as metrics and retrieval models. This streamlines the project's documentation structure for clarity.
    darinkishore committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    9e9b71a View commit details
    Browse the repository at this point in the history
  7. docs(api_reference/modules): update module names and headers to match…

    … the new naming convention
    
    docs(api_reference/modules): remove unnecessary sections and examples
    docs(api_reference/modules): add TODO comment to indicate that further changes are needed
    docs(index.rst): update path to tutorials
    docs(tutorials/tuts.md): create new file with introductory text for tutorials
    darinkishore committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    dcc65e2 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    336efcb View commit details
    Browse the repository at this point in the history
  2. Create pyproject.toml

    darinkishore authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    97b7e2b View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

  1. Configuration menu
    Copy the full SHA
    b192794 View commit details
    Browse the repository at this point in the history