Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Add initial API references

Omar Khattabb5de9b738c46
diff --git a/docs/api/Adapter.md b/docs/api/Adapter.md
new file mode 100644
index 000000000..eeef9ab83
--- /dev/null
+++ b/docs/api/Adapter.md
@@ -0,0 +1,19 @@
+# dspy.Adapter
+
+::: dspy.Adapter
+ handler: python
+ options:
+ members:
+ - __call__
+ - format
+ - format_finetune_data
+ - parse
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/AvatarOptimizer.md b/docs/api/AvatarOptimizer.md
new file mode 100644
index 000000000..f3cf7f1b3
--- /dev/null
+++ b/docs/api/AvatarOptimizer.md
@@ -0,0 +1,18 @@
+# dspy.AvatarOptimizer
+
+::: dspy.AvatarOptimizer
+ handler: python
+ options:
+ members:
+ - compile
+ - process_example
+ - thread_safe_evaluator
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/BaseLM.md b/docs/api/BaseLM.md
new file mode 100644
index 000000000..141511d49
--- /dev/null
+++ b/docs/api/BaseLM.md
@@ -0,0 +1,18 @@
+# dspy.BaseLM
+
+::: dspy.BaseLM
+ handler: python
+ options:
+ members:
+ - __call__
+ - inspect_history
+ - update_global_history
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/BaseModule.md b/docs/api/BaseModule.md
new file mode 100644
index 000000000..ab0704886
--- /dev/null
+++ b/docs/api/BaseModule.md
@@ -0,0 +1,24 @@
+# dspy.BaseModule
+
+::: dspy.BaseModule
+ handler: python
+ options:
+ members:
+ - deepcopy
+ - dump_state
+ - load
+ - load_state
+ - named_parameters
+ - named_sub_modules
+ - parameters
+ - reset_copy
+ - save
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/BetterTogether.md b/docs/api/BetterTogether.md
new file mode 100644
index 000000000..d60d00601
--- /dev/null
+++ b/docs/api/BetterTogether.md
@@ -0,0 +1,16 @@
+# dspy.BetterTogether
+
+::: dspy.BetterTogether
+ handler: python
+ options:
+ members:
+ - compile
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/BootstrapFewShot.md b/docs/api/BootstrapFewShot.md
new file mode 100644
index 000000000..1ba00156a
--- /dev/null
+++ b/docs/api/BootstrapFewShot.md
@@ -0,0 +1,16 @@
+# dspy.BootstrapFewShot
+
+::: dspy.BootstrapFewShot
+ handler: python
+ options:
+ members:
+ - compile
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/BootstrapFewShotWithOptuna.md b/docs/api/BootstrapFewShotWithOptuna.md
new file mode 100644
index 000000000..3dcc7cdb5
--- /dev/null
+++ b/docs/api/BootstrapFewShotWithOptuna.md
@@ -0,0 +1,17 @@
+# dspy.BootstrapFewShotWithOptuna
+
+::: dspy.BootstrapFewShotWithOptuna
+ handler: python
+ options:
+ members:
+ - compile
+ - objective
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/BootstrapFewShotWithRandomSearch.md b/docs/api/BootstrapFewShotWithRandomSearch.md
new file mode 100644
index 000000000..57ace3a4a
--- /dev/null
+++ b/docs/api/BootstrapFewShotWithRandomSearch.md
@@ -0,0 +1,16 @@
+# dspy.BootstrapFewShotWithRandomSearch
+
+::: dspy.BootstrapFewShotWithRandomSearch
+ handler: python
+ options:
+ members:
+ - compile
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/BootstrapFinetune.md b/docs/api/BootstrapFinetune.md
new file mode 100644
index 000000000..938afaadb
--- /dev/null
+++ b/docs/api/BootstrapFinetune.md
@@ -0,0 +1,18 @@
+# dspy.BootstrapFinetune
+
+::: dspy.BootstrapFinetune
+ handler: python
+ options:
+ members:
+ - compile
+ - convert_to_lm_dict
+ - finetune_lms
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/BootstrapRS.md b/docs/api/BootstrapRS.md
new file mode 100644
index 000000000..127675784
--- /dev/null
+++ b/docs/api/BootstrapRS.md
@@ -0,0 +1,16 @@
+# dspy.BootstrapRS
+
+::: dspy.BootstrapRS
+ handler: python
+ options:
+ members:
+ - compile
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/COPRO.md b/docs/api/COPRO.md
new file mode 100644
index 000000000..d9974a146
--- /dev/null
+++ b/docs/api/COPRO.md
@@ -0,0 +1,16 @@
+# dspy.COPRO
+
+::: dspy.COPRO
+ handler: python
+ options:
+ members:
+ - compile
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/ChainOfThought.md b/docs/api/ChainOfThought.md
new file mode 100644
index 000000000..1e42589ec
--- /dev/null
+++ b/docs/api/ChainOfThought.md
@@ -0,0 +1,32 @@
+# dspy.ChainOfThought
+
+::: dspy.ChainOfThought
+ handler: python
+ options:
+ members:
+ - __call__
+ - batch
+ - deepcopy
+ - dump_state
+ - forward
+ - get_lm
+ - load
+ - load_state
+ - map_named_predictors
+ - named_parameters
+ - named_predictors
+ - named_sub_modules
+ - parameters
+ - predictors
+ - reset_copy
+ - save
+ - set_lm
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/ChainOfThoughtWithHint.md b/docs/api/ChainOfThoughtWithHint.md
new file mode 100644
index 000000000..28033493a
--- /dev/null
+++ b/docs/api/ChainOfThoughtWithHint.md
@@ -0,0 +1,32 @@
+# dspy.ChainOfThoughtWithHint
+
+::: dspy.ChainOfThoughtWithHint
+ handler: python
+ options:
+ members:
+ - __call__
+ - batch
+ - deepcopy
+ - dump_state
+ - forward
+ - get_lm
+ - load
+ - load_state
+ - map_named_predictors
+ - named_parameters
+ - named_predictors
+ - named_sub_modules
+ - parameters
+ - predictors
+ - reset_copy
+ - save
+ - set_lm
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/ChatAdapter.md b/docs/api/ChatAdapter.md
new file mode 100644
index 000000000..2d65e6e72
--- /dev/null
+++ b/docs/api/ChatAdapter.md
@@ -0,0 +1,21 @@
+# dspy.ChatAdapter
+
+::: dspy.ChatAdapter
+ handler: python
+ options:
+ members:
+ - __call__
+ - format
+ - format_fields
+ - format_finetune_data
+ - format_turn
+ - parse
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/ColBERTv2.md b/docs/api/ColBERTv2.md
new file mode 100644
index 000000000..9097a5352
--- /dev/null
+++ b/docs/api/ColBERTv2.md
@@ -0,0 +1,16 @@
+# dspy.ColBERTv2
+
+::: dspy.ColBERTv2
+ handler: python
+ options:
+ members:
+ - __call__
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Completions.md b/docs/api/Completions.md
new file mode 100644
index 000000000..ebfc03324
--- /dev/null
+++ b/docs/api/Completions.md
@@ -0,0 +1,16 @@
+# dspy.Completions
+
+::: dspy.Completions
+ handler: python
+ options:
+ members:
+ - items
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Embedder.md b/docs/api/Embedder.md
new file mode 100644
index 000000000..961cab954
--- /dev/null
+++ b/docs/api/Embedder.md
@@ -0,0 +1,16 @@
+# dspy.Embedder
+
+::: dspy.Embedder
+ handler: python
+ options:
+ members:
+ - __call__
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Ensemble.md b/docs/api/Ensemble.md
new file mode 100644
index 000000000..791cbd0f0
--- /dev/null
+++ b/docs/api/Ensemble.md
@@ -0,0 +1,16 @@
+# dspy.Ensemble
+
+::: dspy.Ensemble
+ handler: python
+ options:
+ members:
+ - compile
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Evaluate.md b/docs/api/Evaluate.md
new file mode 100644
index 000000000..d30fbcd0e
--- /dev/null
+++ b/docs/api/Evaluate.md
@@ -0,0 +1,16 @@
+# dspy.Evaluate
+
+::: dspy.Evaluate
+ handler: python
+ options:
+ members:
+ - __call__
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Example.md b/docs/api/Example.md
new file mode 100644
index 000000000..447e5b634
--- /dev/null
+++ b/docs/api/Example.md
@@ -0,0 +1,25 @@
+# dspy.Example
+
+::: dspy.Example
+ handler: python
+ options:
+ members:
+ - copy
+ - get
+ - inputs
+ - items
+ - keys
+ - labels
+ - toDict
+ - values
+ - with_inputs
+ - without
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Image.md b/docs/api/Image.md
new file mode 100644
index 000000000..747e0ddfc
--- /dev/null
+++ b/docs/api/Image.md
@@ -0,0 +1,22 @@
+# dspy.Image
+
+::: dspy.Image
+ handler: python
+ options:
+ members:
+ - copy
+ - dict
+ - json
+ - model_copy
+ - model_dump
+ - model_dump_json
+ - model_post_init
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/InputField.md b/docs/api/InputField.md
new file mode 100644
index 000000000..872ca9a28
--- /dev/null
+++ b/docs/api/InputField.md
@@ -0,0 +1,14 @@
+# dspy.InputField
+
+::: dspy.InputField
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/JSONAdapter.md b/docs/api/JSONAdapter.md
new file mode 100644
index 000000000..619c6743d
--- /dev/null
+++ b/docs/api/JSONAdapter.md
@@ -0,0 +1,21 @@
+# dspy.JSONAdapter
+
+::: dspy.JSONAdapter
+ handler: python
+ options:
+ members:
+ - __call__
+ - format
+ - format_fields
+ - format_finetune_data
+ - format_turn
+ - parse
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/KNN.md b/docs/api/KNN.md
new file mode 100644
index 000000000..adf98c6f6
--- /dev/null
+++ b/docs/api/KNN.md
@@ -0,0 +1,16 @@
+# dspy.KNN
+
+::: dspy.KNN
+ handler: python
+ options:
+ members:
+ - __call__
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/KNNFewShot.md b/docs/api/KNNFewShot.md
new file mode 100644
index 000000000..8a19c8d62
--- /dev/null
+++ b/docs/api/KNNFewShot.md
@@ -0,0 +1,16 @@
+# dspy.KNNFewShot
+
+::: dspy.KNNFewShot
+ handler: python
+ options:
+ members:
+ - compile
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/LM.md b/docs/api/LM.md
new file mode 100644
index 000000000..4cb13803e
--- /dev/null
+++ b/docs/api/LM.md
@@ -0,0 +1,24 @@
+# dspy.LM
+
+::: dspy.LM
+ handler: python
+ options:
+ members:
+ - __call__
+ - copy
+ - finetune
+ - infer_adapter
+ - infer_provider
+ - inspect_history
+ - kill
+ - launch
+ - update_global_history
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/LabeledFewShot.md b/docs/api/LabeledFewShot.md
new file mode 100644
index 000000000..58d2f2a60
--- /dev/null
+++ b/docs/api/LabeledFewShot.md
@@ -0,0 +1,16 @@
+# dspy.LabeledFewShot
+
+::: dspy.LabeledFewShot
+ handler: python
+ options:
+ members:
+ - compile
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/MIPROv2.md b/docs/api/MIPROv2.md
new file mode 100644
index 000000000..6d6255282
--- /dev/null
+++ b/docs/api/MIPROv2.md
@@ -0,0 +1,16 @@
+# dspy.MIPROv2
+
+::: dspy.MIPROv2
+ handler: python
+ options:
+ members:
+ - compile
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Module.md b/docs/api/Module.md
new file mode 100644
index 000000000..18c72a475
--- /dev/null
+++ b/docs/api/Module.md
@@ -0,0 +1,31 @@
+# dspy.Module
+
+::: dspy.Module
+ handler: python
+ options:
+ members:
+ - __call__
+ - batch
+ - deepcopy
+ - dump_state
+ - get_lm
+ - load
+ - load_state
+ - map_named_predictors
+ - named_parameters
+ - named_predictors
+ - named_sub_modules
+ - parameters
+ - predictors
+ - reset_copy
+ - save
+ - set_lm
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/MultiChainComparison.md b/docs/api/MultiChainComparison.md
new file mode 100644
index 000000000..64e0b6f63
--- /dev/null
+++ b/docs/api/MultiChainComparison.md
@@ -0,0 +1,32 @@
+# dspy.MultiChainComparison
+
+::: dspy.MultiChainComparison
+ handler: python
+ options:
+ members:
+ - __call__
+ - batch
+ - deepcopy
+ - dump_state
+ - forward
+ - get_lm
+ - load
+ - load_state
+ - map_named_predictors
+ - named_parameters
+ - named_predictors
+ - named_sub_modules
+ - parameters
+ - predictors
+ - reset_copy
+ - save
+ - set_lm
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/OldField.md b/docs/api/OldField.md
new file mode 100644
index 000000000..2fa41d76d
--- /dev/null
+++ b/docs/api/OldField.md
@@ -0,0 +1,16 @@
+# dspy.OldField
+
+::: dspy.OldField
+ handler: python
+ options:
+ members:
+ - finalize
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/OldInputField.md b/docs/api/OldInputField.md
new file mode 100644
index 000000000..a06fe20df
--- /dev/null
+++ b/docs/api/OldInputField.md
@@ -0,0 +1,16 @@
+# dspy.OldInputField
+
+::: dspy.OldInputField
+ handler: python
+ options:
+ members:
+ - finalize
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/OldOutputField.md b/docs/api/OldOutputField.md
new file mode 100644
index 000000000..d795304c5
--- /dev/null
+++ b/docs/api/OldOutputField.md
@@ -0,0 +1,16 @@
+# dspy.OldOutputField
+
+::: dspy.OldOutputField
+ handler: python
+ options:
+ members:
+ - finalize
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/OutputField.md b/docs/api/OutputField.md
new file mode 100644
index 000000000..1eb8094db
--- /dev/null
+++ b/docs/api/OutputField.md
@@ -0,0 +1,14 @@
+# dspy.OutputField
+
+::: dspy.OutputField
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Parallel.md b/docs/api/Parallel.md
new file mode 100644
index 000000000..9560840b5
--- /dev/null
+++ b/docs/api/Parallel.md
@@ -0,0 +1,17 @@
+# dspy.Parallel
+
+::: dspy.Parallel
+ handler: python
+ options:
+ members:
+ - __call__
+ - forward
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Predict.md b/docs/api/Predict.md
new file mode 100644
index 000000000..cdf1edd1a
--- /dev/null
+++ b/docs/api/Predict.md
@@ -0,0 +1,35 @@
+# dspy.Predict
+
+::: dspy.Predict
+ handler: python
+ options:
+ members:
+ - __call__
+ - batch
+ - deepcopy
+ - dump_state
+ - forward
+ - get_config
+ - get_lm
+ - load
+ - load_state
+ - map_named_predictors
+ - named_parameters
+ - named_predictors
+ - named_sub_modules
+ - parameters
+ - predictors
+ - reset
+ - reset_copy
+ - save
+ - set_lm
+ - update_config
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Prediction.md b/docs/api/Prediction.md
new file mode 100644
index 000000000..ffecb60a9
--- /dev/null
+++ b/docs/api/Prediction.md
@@ -0,0 +1,25 @@
+# dspy.Prediction
+
+::: dspy.Prediction
+ handler: python
+ options:
+ members:
+ - copy
+ - get
+ - inputs
+ - items
+ - keys
+ - labels
+ - toDict
+ - values
+ - with_inputs
+ - without
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Program.md b/docs/api/Program.md
new file mode 100644
index 000000000..b0c006488
--- /dev/null
+++ b/docs/api/Program.md
@@ -0,0 +1,31 @@
+# dspy.Program
+
+::: dspy.Program
+ handler: python
+ options:
+ members:
+ - __call__
+ - batch
+ - deepcopy
+ - dump_state
+ - get_lm
+ - load
+ - load_state
+ - map_named_predictors
+ - named_parameters
+ - named_predictors
+ - named_sub_modules
+ - parameters
+ - predictors
+ - reset_copy
+ - save
+ - set_lm
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/ProgramOfThought.md b/docs/api/ProgramOfThought.md
new file mode 100644
index 000000000..abea2f2e0
--- /dev/null
+++ b/docs/api/ProgramOfThought.md
@@ -0,0 +1,34 @@
+# dspy.ProgramOfThought
+
+::: dspy.ProgramOfThought
+ handler: python
+ options:
+ members:
+ - __call__
+ - batch
+ - deepcopy
+ - dump_state
+ - execute_code
+ - forward
+ - get_lm
+ - load
+ - load_state
+ - map_named_predictors
+ - named_parameters
+ - named_predictors
+ - named_sub_modules
+ - parameters
+ - parse_code
+ - predictors
+ - reset_copy
+ - save
+ - set_lm
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Provider.md b/docs/api/Provider.md
new file mode 100644
index 000000000..3bc2986dd
--- /dev/null
+++ b/docs/api/Provider.md
@@ -0,0 +1,19 @@
+# dspy.Provider
+
+::: dspy.Provider
+ handler: python
+ options:
+ members:
+ - finetune
+ - is_provider_model
+ - kill
+ - launch
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/PythonInterpreter.md b/docs/api/PythonInterpreter.md
new file mode 100644
index 000000000..5c63a89a7
--- /dev/null
+++ b/docs/api/PythonInterpreter.md
@@ -0,0 +1,17 @@
+# dspy.PythonInterpreter
+
+::: dspy.PythonInterpreter
+ handler: python
+ options:
+ members:
+ - clear_state
+ - execute
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/ReAct.md b/docs/api/ReAct.md
new file mode 100644
index 000000000..d4117c74c
--- /dev/null
+++ b/docs/api/ReAct.md
@@ -0,0 +1,32 @@
+# dspy.ReAct
+
+::: dspy.ReAct
+ handler: python
+ options:
+ members:
+ - __call__
+ - batch
+ - deepcopy
+ - dump_state
+ - forward
+ - get_lm
+ - load
+ - load_state
+ - map_named_predictors
+ - named_parameters
+ - named_predictors
+ - named_sub_modules
+ - parameters
+ - predictors
+ - reset_copy
+ - save
+ - set_lm
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Retrieve.md b/docs/api/Retrieve.md
new file mode 100644
index 000000000..037df0a4d
--- /dev/null
+++ b/docs/api/Retrieve.md
@@ -0,0 +1,20 @@
+# dspy.Retrieve
+
+::: dspy.Retrieve
+ handler: python
+ options:
+ members:
+ - __call__
+ - dump_state
+ - forward
+ - load_state
+ - reset
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Signature.md b/docs/api/Signature.md
new file mode 100644
index 000000000..c784ffd2e
--- /dev/null
+++ b/docs/api/Signature.md
@@ -0,0 +1,22 @@
+# dspy.Signature
+
+::: dspy.Signature
+ handler: python
+ options:
+ members:
+ - copy
+ - dict
+ - json
+ - model_copy
+ - model_dump
+ - model_dump_json
+ - model_post_init
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/SignatureMeta.md b/docs/api/SignatureMeta.md
new file mode 100644
index 000000000..f5d2f1a86
--- /dev/null
+++ b/docs/api/SignatureMeta.md
@@ -0,0 +1,26 @@
+# dspy.SignatureMeta
+
+::: dspy.SignatureMeta
+ handler: python
+ options:
+ members:
+ - __call__
+ - append
+ - dump_state
+ - equals
+ - insert
+ - load_state
+ - mro
+ - prepend
+ - register
+ - with_instructions
+ - with_updated_fields
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/Tool.md b/docs/api/Tool.md
new file mode 100644
index 000000000..d936c35af
--- /dev/null
+++ b/docs/api/Tool.md
@@ -0,0 +1,16 @@
+# dspy.Tool
+
+::: dspy.Tool
+ handler: python
+ options:
+ members:
+ - __call__
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/TrainingJob.md b/docs/api/TrainingJob.md
new file mode 100644
index 000000000..655134ffb
--- /dev/null
+++ b/docs/api/TrainingJob.md
@@ -0,0 +1,26 @@
+# dspy.TrainingJob
+
+::: dspy.TrainingJob
+ handler: python
+ options:
+ members:
+ - add_done_callback
+ - cancel
+ - cancelled
+ - done
+ - exception
+ - result
+ - running
+ - set_exception
+ - set_result
+ - set_running_or_notify_cancel
+ - status
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/asyncify.md b/docs/api/asyncify.md
new file mode 100644
index 000000000..b24e4940c
--- /dev/null
+++ b/docs/api/asyncify.md
@@ -0,0 +1,14 @@
+# dspy.asyncify
+
+::: dspy.asyncify
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/configure_dspy_loggers.md b/docs/api/configure_dspy_loggers.md
new file mode 100644
index 000000000..b4bcab588
--- /dev/null
+++ b/docs/api/configure_dspy_loggers.md
@@ -0,0 +1,14 @@
+# dspy.configure_dspy_loggers
+
+::: dspy.configure_dspy_loggers
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/disable_litellm_logging.md b/docs/api/disable_litellm_logging.md
new file mode 100644
index 000000000..dbc437c33
--- /dev/null
+++ b/docs/api/disable_litellm_logging.md
@@ -0,0 +1,14 @@
+# dspy.disable_litellm_logging
+
+::: dspy.disable_litellm_logging
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/disable_logging.md b/docs/api/disable_logging.md
new file mode 100644
index 000000000..4190f39f4
--- /dev/null
+++ b/docs/api/disable_logging.md
@@ -0,0 +1,14 @@
+# dspy.disable_logging
+
+::: dspy.disable_logging
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/enable_litellm_logging.md b/docs/api/enable_litellm_logging.md
new file mode 100644
index 000000000..99200d7ea
--- /dev/null
+++ b/docs/api/enable_litellm_logging.md
@@ -0,0 +1,14 @@
+# dspy.enable_litellm_logging
+
+::: dspy.enable_litellm_logging
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/enable_logging.md b/docs/api/enable_logging.md
new file mode 100644
index 000000000..94b665ba5
--- /dev/null
+++ b/docs/api/enable_logging.md
@@ -0,0 +1,14 @@
+# dspy.enable_logging
+
+::: dspy.enable_logging
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/ensure_signature.md b/docs/api/ensure_signature.md
new file mode 100644
index 000000000..88e09a913
--- /dev/null
+++ b/docs/api/ensure_signature.md
@@ -0,0 +1,14 @@
+# dspy.ensure_signature
+
+::: dspy.ensure_signature
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/evaluate/CompleteAndGrounded.md b/docs/api/evaluate/CompleteAndGrounded.md
new file mode 100644
index 000000000..8a9da2b0b
--- /dev/null
+++ b/docs/api/evaluate/CompleteAndGrounded.md
@@ -0,0 +1,32 @@
+# dspy.evaluate.CompleteAndGrounded
+
+::: dspy.evaluate.CompleteAndGrounded
+ handler: python
+ options:
+ members:
+ - __call__
+ - batch
+ - deepcopy
+ - dump_state
+ - forward
+ - get_lm
+ - load
+ - load_state
+ - map_named_predictors
+ - named_parameters
+ - named_predictors
+ - named_sub_modules
+ - parameters
+ - predictors
+ - reset_copy
+ - save
+ - set_lm
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/evaluate/SemanticF1.md b/docs/api/evaluate/SemanticF1.md
new file mode 100644
index 000000000..d9a62d1f0
--- /dev/null
+++ b/docs/api/evaluate/SemanticF1.md
@@ -0,0 +1,32 @@
+# dspy.evaluate.SemanticF1
+
+::: dspy.evaluate.SemanticF1
+ handler: python
+ options:
+ members:
+ - __call__
+ - batch
+ - deepcopy
+ - dump_state
+ - forward
+ - get_lm
+ - load
+ - load_state
+ - map_named_predictors
+ - named_parameters
+ - named_predictors
+ - named_sub_modules
+ - parameters
+ - predictors
+ - reset_copy
+ - save
+ - set_lm
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/evaluate/answer_exact_match.md b/docs/api/evaluate/answer_exact_match.md
new file mode 100644
index 000000000..cd8e668b4
--- /dev/null
+++ b/docs/api/evaluate/answer_exact_match.md
@@ -0,0 +1,14 @@
+# dspy.evaluate.answer_exact_match
+
+::: dspy.evaluate.answer_exact_match
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/evaluate/answer_passage_match.md b/docs/api/evaluate/answer_passage_match.md
new file mode 100644
index 000000000..91d6f503a
--- /dev/null
+++ b/docs/api/evaluate/answer_passage_match.md
@@ -0,0 +1,14 @@
+# dspy.evaluate.answer_passage_match
+
+::: dspy.evaluate.answer_passage_match
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/infer_prefix.md b/docs/api/infer_prefix.md
new file mode 100644
index 000000000..ebabb5732
--- /dev/null
+++ b/docs/api/infer_prefix.md
@@ -0,0 +1,14 @@
+# dspy.infer_prefix
+
+::: dspy.infer_prefix
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/inspect_history.md b/docs/api/inspect_history.md
new file mode 100644
index 000000000..ac528b283
--- /dev/null
+++ b/docs/api/inspect_history.md
@@ -0,0 +1,14 @@
+# dspy.inspect_history
+
+::: dspy.inspect_history
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/load.md b/docs/api/load.md
new file mode 100644
index 000000000..cb37fe482
--- /dev/null
+++ b/docs/api/load.md
@@ -0,0 +1,14 @@
+# dspy.load
+
+::: dspy.load
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/majority.md b/docs/api/majority.md
new file mode 100644
index 000000000..0df2ca280
--- /dev/null
+++ b/docs/api/majority.md
@@ -0,0 +1,14 @@
+# dspy.majority
+
+::: dspy.majority
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/make_signature.md b/docs/api/make_signature.md
new file mode 100644
index 000000000..30b999049
--- /dev/null
+++ b/docs/api/make_signature.md
@@ -0,0 +1,14 @@
+# dspy.make_signature
+
+::: dspy.make_signature
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/propose/GroundedProposer.md b/docs/api/propose/GroundedProposer.md
new file mode 100644
index 000000000..67d0988bb
--- /dev/null
+++ b/docs/api/propose/GroundedProposer.md
@@ -0,0 +1,17 @@
+# dspy.propose.GroundedProposer
+
+::: dspy.propose.GroundedProposer
+ handler: python
+ options:
+ members:
+ - propose_instruction_for_predictor
+ - propose_instructions_for_program
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/retrievers/Embeddings.md b/docs/api/retrievers/Embeddings.md
new file mode 100644
index 000000000..379e1a0a6
--- /dev/null
+++ b/docs/api/retrievers/Embeddings.md
@@ -0,0 +1,17 @@
+# dspy.retrievers.Embeddings
+
+::: dspy.retrievers.Embeddings
+ handler: python
+ options:
+ members:
+ - __call__
+ - forward
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/streamify.md b/docs/api/streamify.md
new file mode 100644
index 000000000..c41ac2397
--- /dev/null
+++ b/docs/api/streamify.md
@@ -0,0 +1,14 @@
+# dspy.streamify
+
+::: dspy.streamify
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/update_signatures.md b/docs/api/update_signatures.md
new file mode 100644
index 000000000..754d0c3cc
--- /dev/null
+++ b/docs/api/update_signatures.md
@@ -0,0 +1,14 @@
+# dspy.update_signatures
+
+::: dspy.update_signatures
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/utils/BaseCallback.md b/docs/api/utils/BaseCallback.md
new file mode 100644
index 000000000..b24aa411f
--- /dev/null
+++ b/docs/api/utils/BaseCallback.md
@@ -0,0 +1,25 @@
+# dspy.utils.BaseCallback
+
+::: dspy.utils.BaseCallback
+ handler: python
+ options:
+ members:
+ - on_adapter_format_end
+ - on_adapter_format_start
+ - on_adapter_parse_end
+ - on_adapter_parse_start
+ - on_lm_end
+ - on_lm_start
+ - on_module_end
+ - on_module_start
+ - on_tool_end
+ - on_tool_start
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/utils/DummyLM.md b/docs/api/utils/DummyLM.md
new file mode 100644
index 000000000..682169563
--- /dev/null
+++ b/docs/api/utils/DummyLM.md
@@ -0,0 +1,25 @@
+# dspy.utils.DummyLM
+
+::: dspy.utils.DummyLM
+ handler: python
+ options:
+ members:
+ - __call__
+ - copy
+ - finetune
+ - get_convo
+ - infer_adapter
+ - infer_provider
+ - inspect_history
+ - kill
+ - launch
+ - update_global_history
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/utils/DummyVectorizer.md b/docs/api/utils/DummyVectorizer.md
new file mode 100644
index 000000000..79edc331e
--- /dev/null
+++ b/docs/api/utils/DummyVectorizer.md
@@ -0,0 +1,16 @@
+# dspy.utils.DummyVectorizer
+
+::: dspy.utils.DummyVectorizer
+ handler: python
+ options:
+ members:
+ - __call__
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/utils/download.md b/docs/api/utils/download.md
new file mode 100644
index 000000000..22b612fb6
--- /dev/null
+++ b/docs/api/utils/download.md
@@ -0,0 +1,14 @@
+# dspy.utils.download
+
+::: dspy.utils.download
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/utils/dummy_rm.md b/docs/api/utils/dummy_rm.md
new file mode 100644
index 000000000..e583df2e8
--- /dev/null
+++ b/docs/api/utils/dummy_rm.md
@@ -0,0 +1,14 @@
+# dspy.utils.dummy_rm
+
+::: dspy.utils.dummy_rm
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/api/utils/with_callbacks.md b/docs/api/utils/with_callbacks.md
new file mode 100644
index 000000000..98f364eef
--- /dev/null
+++ b/docs/api/utils/with_callbacks.md
@@ -0,0 +1,14 @@
+# dspy.utils.with_callbacks
+
+::: dspy.utils.with_callbacks
+ handler: python
+ options:
+ show_source: true
+ show_undocumented_members: true
+ show_root_heading: true
+ show_inherited_members: true
+ heading_level: 2
+ docstring_style: google
+ show_root_full_path: true
+ show_object_full_path: false
+ separate_signature: false
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml
index e5846b039..c54afecf4 100644
--- a/docs/mkdocs.yml
+++ b/docs/mkdocs.yml
@@ -64,6 +64,85 @@ nav:
- FAQ: faqs.md
- Cheatsheet: cheatsheet.md
+ - API Reference:
+ - evaluate:
+ - CompleteAndGrounded: api/evaluate/CompleteAndGrounded.md
+ - SemanticF1: api/evaluate/SemanticF1.md
+ - answer_exact_match: api/evaluate/answer_exact_match.md
+ - answer_passage_match: api/evaluate/answer_passage_match.md
+ - propose:
+ - GroundedProposer: api/propose/GroundedProposer.md
+ - retrievers:
+ - Embeddings: api/retrievers/Embeddings.md
+ - utils:
+ - BaseCallback: api/utils/BaseCallback.md
+ - DummyLM: api/utils/DummyLM.md
+ - DummyVectorizer: api/utils/DummyVectorizer.md
+ - download: api/utils/download.md
+ - dummy_rm: api/utils/dummy_rm.md
+ - with_callbacks: api/utils/with_callbacks.md
+ - Adapter: api/Adapter.md
+ - AvatarOptimizer: api/AvatarOptimizer.md
+ - BaseLM: api/BaseLM.md
+ - BaseModule: api/BaseModule.md
+ - BetterTogether: api/BetterTogether.md
+ - BootstrapFewShot: api/BootstrapFewShot.md
+ - BootstrapFewShotWithOptuna: api/BootstrapFewShotWithOptuna.md
+ - BootstrapFewShotWithRandomSearch: api/BootstrapFewShotWithRandomSearch.md
+ - BootstrapFinetune: api/BootstrapFinetune.md
+ - BootstrapRS: api/BootstrapRS.md
+ - COPRO: api/COPRO.md
+ - ChainOfThought: api/ChainOfThought.md
+ - ChainOfThoughtWithHint: api/ChainOfThoughtWithHint.md
+ - ChatAdapter: api/ChatAdapter.md
+ - ColBERTv2: api/ColBERTv2.md
+ - Completions: api/Completions.md
+ - Embedder: api/Embedder.md
+ - Ensemble: api/Ensemble.md
+ - Evaluate: api/Evaluate.md
+ - Example: api/Example.md
+ - Image: api/Image.md
+ - InputField: api/InputField.md
+ - JSONAdapter: api/JSONAdapter.md
+ - KNN: api/KNN.md
+ - KNNFewShot: api/KNNFewShot.md
+ - LM: api/LM.md
+ - LabeledFewShot: api/LabeledFewShot.md
+ - MIPROv2: api/MIPROv2.md
+ - Module: api/Module.md
+ - MultiChainComparison: api/MultiChainComparison.md
+ - OldField: api/OldField.md
+ - OldInputField: api/OldInputField.md
+ - OldOutputField: api/OldOutputField.md
+ - OutputField: api/OutputField.md
+ - Parallel: api/Parallel.md
+ - Predict: api/Predict.md
+ - Prediction: api/Prediction.md
+ - Program: api/Program.md
+ - ProgramOfThought: api/ProgramOfThought.md
+ - Provider: api/Provider.md
+ - PythonInterpreter: api/PythonInterpreter.md
+ - ReAct: api/ReAct.md
+ - Retrieve: api/Retrieve.md
+ - Signature: api/Signature.md
+ - SignatureMeta: api/SignatureMeta.md
+ - Tool: api/Tool.md
+ - TrainingJob: api/TrainingJob.md
+ - asyncify: api/asyncify.md
+ - configure_dspy_loggers: api/configure_dspy_loggers.md
+ - disable_litellm_logging: api/disable_litellm_logging.md
+ - disable_logging: api/disable_logging.md
+ - enable_litellm_logging: api/enable_litellm_logging.md
+ - enable_logging: api/enable_logging.md
+ - ensure_signature: api/ensure_signature.md
+ - infer_prefix: api/infer_prefix.md
+ - inspect_history: api/inspect_history.md
+ - load: api/load.md
+ - majority: api/majority.md
+ - make_signature: api/make_signature.md
+ - streamify: api/streamify.md
+ - update_signatures: api/update_signatures.md
+
theme:
name: material
custom_dir: overrides