Skip to content

Commit

Permalink
add github link in documents
Browse files Browse the repository at this point in the history
  • Loading branch information
liyin2015 committed Jul 3, 2024
1 parent f949989 commit 829a1dc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,14 @@
# "includehidden": True,
# "titles_only": False,
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/SylphAI-Inc/LightRAG", # Replace with your GitHub URL
"icon": "fa-brands fa-github",
},
{
"name": "Discord",
"url": "https://discord.gg/hmZWFEUd",
"url": "https://discord.gg/ezzszrRZvT",
"icon": "fa-brands fa-discord",
},
],
Expand Down
3 changes: 3 additions & 0 deletions docs/source/developer_notes/output_parsers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -503,3 +503,6 @@ The output will be:
- :ref:`OutputParser<components-output_parsers>`
- :class:`components.output_parsers.outputs.JsonOutputParser`
- :class:`components.output_parsers.outputs.YamlOutputParser`
- :class:`components.output_parsers.outputs.OutputParser`
- :class:`components.output_parsers.outputs.BooleanOutputParser`
- :class:`components.output_parsers.outputs.ListOutputParser`
2 changes: 1 addition & 1 deletion lightrag/lightrag/components/output_parsers/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def call(self, input: str) -> YAML_OUTPUT_PARSER_OUTPUT_TYPE:
return self.output_processors(input)

def _extra_repr(self) -> str:
s = f"data_class={self.data_class}, examples={self.examples}"
s = f"data_class={self.data_class.__name__}, examples={self.examples}, exclude_fields={self._exclude_fields}"
return s


Expand Down

0 comments on commit 829a1dc

Please sign in to comment.