Skip to content

Commit 829a1dc

Browse files
committed
add github link in documents
1 parent f949989 commit 829a1dc

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

docs/source/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,14 @@
8585
# "includehidden": True,
8686
# "titles_only": False,
8787
"icon_links": [
88+
{
89+
"name": "GitHub",
90+
"url": "https://github.com/SylphAI-Inc/LightRAG", # Replace with your GitHub URL
91+
"icon": "fa-brands fa-github",
92+
},
8893
{
8994
"name": "Discord",
90-
"url": "https://discord.gg/hmZWFEUd",
95+
"url": "https://discord.gg/ezzszrRZvT",
9196
"icon": "fa-brands fa-discord",
9297
},
9398
],

docs/source/developer_notes/output_parsers.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,3 +503,6 @@ The output will be:
503503
- :ref:`OutputParser<components-output_parsers>`
504504
- :class:`components.output_parsers.outputs.JsonOutputParser`
505505
- :class:`components.output_parsers.outputs.YamlOutputParser`
506+
- :class:`components.output_parsers.outputs.OutputParser`
507+
- :class:`components.output_parsers.outputs.BooleanOutputParser`
508+
- :class:`components.output_parsers.outputs.ListOutputParser`

lightrag/lightrag/components/output_parsers/outputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def call(self, input: str) -> YAML_OUTPUT_PARSER_OUTPUT_TYPE:
191191
return self.output_processors(input)
192192

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

197197

0 commit comments

Comments
 (0)