Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
liyin2015 committed Sep 1, 2024
1 parent 29652da commit 5288aea
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions adalflow/adalflow/core/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,10 @@ def _extra_repr(self) -> str:
s = f"model_kwargs={self.model_kwargs}, "
return s

def to_dict(self) -> Dict[str, Any]:
r"""Convert the generator to a dictionary."""
# exclude default functions

@staticmethod
def failure_message_to_backward_engine(
gradient_response: GeneratorOutput,
Expand Down
22 changes: 11 additions & 11 deletions docs/source/tutorials/db.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.. raw:: html

<div style="display: flex; justify-content: flex-start; align-items: center; margin-bottom: 20px;">
<a href="https://colab.research.google.com/drive/1_sGeHaKrwpI9RiL01g3cKyI2_5PJqZtr?usp=sharing" target="_blank" style="margin-right: 10px;">
<img alt="Try Quickstart in Colab" src="https://colab.research.google.com/assets/colab-badge.svg" style="vertical-align: middle;">
</a>
<a href="https://github.com/SylphAI-Inc/LightRAG/blob/main/tutorials/prompt_note.py" target="_blank" style="display: flex; align-items: center;">
<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub" style="height: 20px; width: 20px; margin-right: 5px;">
<span style="vertical-align: middle;"> Open Source Code</span>
</a>
</div>
.. .. raw:: html
.. <div style="display: flex; justify-content: flex-start; align-items: center; margin-bottom: 20px;">
.. <a href="https://colab.research.google.com/drive/1_sGeHaKrwpI9RiL01g3cKyI2_5PJqZtr?usp=sharing" target="_blank" style="margin-right: 10px;">
.. <img alt="Try Quickstart in Colab" src="https://colab.research.google.com/assets/colab-badge.svg" style="vertical-align: middle;">
.. </a>
.. <a href="https://github.com/SylphAI-Inc/LightRAG/blob/main/tutorials/prompt_note.py" target="_blank" style="display: flex; align-items: center;">
.. <img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub" style="height: 20px; width: 20px; margin-right: 5px;">
.. <span style="vertical-align: middle;"> Open Source Code</span>
.. </a>
.. </div>
Data (Database/Pipeline) & RAG
Expand Down

0 comments on commit 5288aea

Please sign in to comment.