Skip to content

Commit

Permalink
Docs Update: Minor Update to the order of concepts and renames (#1680)
Browse files Browse the repository at this point in the history
* fixes

* fixes

* fixes

* Rename tabs

* fix

* Remove duplicate assertions doc

* add redirection

* fix
  • Loading branch information
karthikscale3 authored Oct 23, 2024
1 parent f8763e4 commit 56dec59
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 286 deletions.
267 changes: 0 additions & 267 deletions docs/docs/deep-dive/modules/assertions.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/docs/deep-dive/optimizers/_category_.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"label": "Teleprompters",
"label": "Optimizers",
"position": 7,
"link": {
"type": "generated-index",
"description": "Teleprompters are powerful optimizers (included in DSPy) that can learn to bootstrap and select effective prompts for the modules of any program. (The \"tele-\" in the name means \"at a distance\", i.e., automatic prompting at a distance.)"
"description": "Optimizers are powerful constructs (included in DSPy) that can learn to bootstrap and select effective prompts for the modules of any program."
}
}
4 changes: 0 additions & 4 deletions docs/docs/deep-dive/signature/understanding-signatures.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
sidebar_position: 1
---

import AuthorDetails from '@site/src/components/AuthorDetails';

# Understanding Signatures

A DSPy Signature is the most basic form of task description which simply requires inputs and outputs and optionally, a small description about them and the task too.
Expand Down Expand Up @@ -119,5 +117,3 @@ As you can see, the instruction is more well-defined by our task's instruction i
![Class Based Prompt Creation](./img/class_based_prompt_creation.png)

***

<AuthorDetails name="Herumb Shandilya"/>
26 changes: 13 additions & 13 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ edit_uri: edit/main/docs/docs/
docs_dir: 'docs/'
nav:
- About DSPy: intro.md
- Docs:
- Getting Started:
- Quick Start:
- Installation: quick-start/installation.md
- Getting Started I: quick-start/getting-started-01.md
- Getting Started II: quick-start/getting-started-02.md

- Building Blocks:
- DSPy in 8 Steps: building-blocks/solving_your_task.md
- Language Models: building-blocks/1-language_models.md
Expand All @@ -29,7 +28,7 @@ nav:
- Summarization: tutorials/summarization.md
- Additional Resources: tutorials/other_tutorial.md
- Examples: tutorials/examples.md
- Deep Dive:
- Concepts:
- Data Handling:
- Examples in DSPy: deep-dive/data-handling/examples.md
- Utilizing Built-in Datasets: deep-dive/data-handling/built-in-datasets.md
Expand All @@ -47,6 +46,15 @@ nav:
- Assertions: deep-dive/modules/assertions.md
- Retreive: deep-dive/modules/retrieve.md
- Modules Guide: deep-dive/modules/guide.md
- Optimizers (formerly Teleprompters):
- LabeledFewShot: deep-dive/optimizers/LabeledFewShot.md
- BootstrapFewShot: deep-dive/optimizers/bootstrap-fewshot.md
- BootstrapFinetune: deep-dive/optimizers/BootstrapFinetune.md
- Ensemble: deep-dive/optimizers/Ensemble.md
- BFRS: deep-dive/optimizers/bfrs.md
- CoPro: deep-dive/optimizers/copro.md
- MIProV2: deep-dive/optimizers/miprov2.md
- Assertions: deep-dive/assertions.md
- Language Model Clients:
- Local Language Model Clients:
- HFClientTGI: deep-dive/language_model_clients/lm_local_models/HFClientTGI.md
Expand All @@ -72,15 +80,6 @@ nav:
- WatsonDiscovery: deep-dive/retrieval_models_clients/WatsonDiscovery.md
- WeaviateRM: deep-dive/retrieval_models_clients/WeaviateRM.md
- YouRM: deep-dive/retrieval_models_clients/YouRM.md
- Assertions: deep-dive/assertions.md
- Teleprompters:
- LabeledFewShot: deep-dive/optimizers/LabeledFewShot.md
- BootstrapFewShot: deep-dive/optimizers/bootstrap-fewshot.md
- BootstrapFinetune: deep-dive/optimizers/BootstrapFinetune.md
- Ensemble: deep-dive/optimizers/Ensemble.md
- BFRS: deep-dive/optimizers/bfrs.md
- CoPro: deep-dive/optimizers/copro.md
- MIProV2: deep-dive/optimizers/miprov2.md
- FAQ: faqs.md
- Cheatsheet: cheatsheet.md
- DSPy Usecases: dspy-usecases.md
Expand Down Expand Up @@ -174,7 +173,8 @@ plugins:
'docs/deep-dive/modules/react.md': 'deep-dive/modules/react.md'
'docs/deep-dive/modules/multi-chain-comparison.md': 'deep-dive/modules/multi-chain-comparison.md'
'docs/deep-dive/modules/program-of-thought.md': 'deep-dive/modules/program-of-thought.md'
'docs/deep-dive/modules/assertions.md': 'deep-dive/modules/assertions.md'
'docs/deep-dive/modules/assertions.md': 'building-blocks/7-assertions.md'
'deep-dive/modules/assertions.md': 'building-blocks/7-assertions.md'
'docs/deep-dive/modules/retrieve.md': 'deep-dive/modules/retrieve.md'
'docs/deep-dive/modules/guide.md': 'deep-dive/modules/guide.md'

Expand Down

0 comments on commit 56dec59

Please sign in to comment.