-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #371 from aurelio-labs/james/sphinx-autodocs
feat: sphinx autodocs
- Loading branch information
Showing
117 changed files
with
5,052 additions
and
1,131 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
docs/source/_autosummary/semantic_router.encoders.AutoEncoder.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
semantic\_router.encoders.AutoEncoder | ||
===================================== | ||
|
||
.. currentmodule:: semantic_router.encoders | ||
|
||
.. autoclass:: AutoEncoder | ||
:members: | ||
:show-inheritance: | ||
:inherited-members: | ||
|
||
|
||
.. automethod:: __init__ | ||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~AutoEncoder.__init__ | ||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
|
||
~AutoEncoder.type | ||
~AutoEncoder.name | ||
~AutoEncoder.model | ||
|
||
|
47 changes: 47 additions & 0 deletions
47
docs/source/_autosummary/semantic_router.encoders.base.BaseEncoder.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
semantic\_router.encoders.base.BaseEncoder | ||
========================================== | ||
|
||
.. currentmodule:: semantic_router.encoders.base | ||
|
||
.. autoclass:: BaseEncoder | ||
:members: | ||
:show-inheritance: | ||
:inherited-members: | ||
|
||
|
||
.. automethod:: __init__ | ||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~BaseEncoder.__init__ | ||
~BaseEncoder.acall | ||
~BaseEncoder.construct | ||
~BaseEncoder.copy | ||
~BaseEncoder.dict | ||
~BaseEncoder.from_orm | ||
~BaseEncoder.json | ||
~BaseEncoder.parse_file | ||
~BaseEncoder.parse_obj | ||
~BaseEncoder.parse_raw | ||
~BaseEncoder.schema | ||
~BaseEncoder.schema_json | ||
~BaseEncoder.set_score_threshold | ||
~BaseEncoder.update_forward_refs | ||
~BaseEncoder.validate | ||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
|
||
~BaseEncoder.name | ||
~BaseEncoder.score_threshold | ||
~BaseEncoder.type | ||
|
||
|
31 changes: 31 additions & 0 deletions
31
docs/source/_autosummary/semantic_router.encoders.base.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
semantic\_router.encoders.base | ||
============================== | ||
|
||
.. automodule:: semantic_router.encoders.base | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Classes | ||
|
||
.. autosummary:: | ||
:toctree: | ||
:template: custom-class-template.rst | ||
|
||
BaseEncoder | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
55 changes: 55 additions & 0 deletions
55
docs/source/_autosummary/semantic_router.encoders.bedrock.BedrockEncoder.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
semantic\_router.encoders.bedrock.BedrockEncoder | ||
================================================ | ||
|
||
.. currentmodule:: semantic_router.encoders.bedrock | ||
|
||
.. autoclass:: BedrockEncoder | ||
:members: | ||
:show-inheritance: | ||
:inherited-members: | ||
|
||
|
||
.. automethod:: __init__ | ||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~BedrockEncoder.__init__ | ||
~BedrockEncoder.acall | ||
~BedrockEncoder.chunk_strings | ||
~BedrockEncoder.construct | ||
~BedrockEncoder.copy | ||
~BedrockEncoder.dict | ||
~BedrockEncoder.from_orm | ||
~BedrockEncoder.get_env_variable | ||
~BedrockEncoder.json | ||
~BedrockEncoder.parse_file | ||
~BedrockEncoder.parse_obj | ||
~BedrockEncoder.parse_raw | ||
~BedrockEncoder.schema | ||
~BedrockEncoder.schema_json | ||
~BedrockEncoder.set_score_threshold | ||
~BedrockEncoder.update_forward_refs | ||
~BedrockEncoder.validate | ||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
|
||
~BedrockEncoder.client | ||
~BedrockEncoder.type | ||
~BedrockEncoder.input_type | ||
~BedrockEncoder.name | ||
~BedrockEncoder.access_key_id | ||
~BedrockEncoder.secret_access_key | ||
~BedrockEncoder.session_token | ||
~BedrockEncoder.region | ||
~BedrockEncoder.score_threshold | ||
|
||
|
31 changes: 31 additions & 0 deletions
31
docs/source/_autosummary/semantic_router.encoders.bedrock.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
semantic\_router.encoders.bedrock | ||
================================= | ||
|
||
.. automodule:: semantic_router.encoders.bedrock | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Classes | ||
|
||
.. autosummary:: | ||
:toctree: | ||
:template: custom-class-template.rst | ||
|
||
BedrockEncoder | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
50 changes: 50 additions & 0 deletions
50
docs/source/_autosummary/semantic_router.encoders.bm25.BM25Encoder.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
semantic\_router.encoders.bm25.BM25Encoder | ||
========================================== | ||
|
||
.. currentmodule:: semantic_router.encoders.bm25 | ||
|
||
.. autoclass:: BM25Encoder | ||
:members: | ||
:show-inheritance: | ||
:inherited-members: | ||
|
||
|
||
.. automethod:: __init__ | ||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~BM25Encoder.__init__ | ||
~BM25Encoder.acall | ||
~BM25Encoder.construct | ||
~BM25Encoder.copy | ||
~BM25Encoder.dict | ||
~BM25Encoder.fit | ||
~BM25Encoder.from_orm | ||
~BM25Encoder.json | ||
~BM25Encoder.parse_file | ||
~BM25Encoder.parse_obj | ||
~BM25Encoder.parse_raw | ||
~BM25Encoder.schema | ||
~BM25Encoder.schema_json | ||
~BM25Encoder.set_score_threshold | ||
~BM25Encoder.update_forward_refs | ||
~BM25Encoder.validate | ||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
|
||
~BM25Encoder.model | ||
~BM25Encoder.idx_mapping | ||
~BM25Encoder.type | ||
~BM25Encoder.name | ||
~BM25Encoder.score_threshold | ||
|
||
|
31 changes: 31 additions & 0 deletions
31
docs/source/_autosummary/semantic_router.encoders.bm25.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
semantic\_router.encoders.bm25 | ||
============================== | ||
|
||
.. automodule:: semantic_router.encoders.bm25 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Classes | ||
|
||
.. autosummary:: | ||
:toctree: | ||
:template: custom-class-template.rst | ||
|
||
BM25Encoder | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
51 changes: 51 additions & 0 deletions
51
docs/source/_autosummary/semantic_router.encoders.clip.CLIPEncoder.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
semantic\_router.encoders.clip.CLIPEncoder | ||
========================================== | ||
|
||
.. currentmodule:: semantic_router.encoders.clip | ||
|
||
.. autoclass:: CLIPEncoder | ||
:members: | ||
:show-inheritance: | ||
:inherited-members: | ||
|
||
|
||
.. automethod:: __init__ | ||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~CLIPEncoder.__init__ | ||
~CLIPEncoder.acall | ||
~CLIPEncoder.construct | ||
~CLIPEncoder.copy | ||
~CLIPEncoder.dict | ||
~CLIPEncoder.from_orm | ||
~CLIPEncoder.json | ||
~CLIPEncoder.parse_file | ||
~CLIPEncoder.parse_obj | ||
~CLIPEncoder.parse_raw | ||
~CLIPEncoder.schema | ||
~CLIPEncoder.schema_json | ||
~CLIPEncoder.set_score_threshold | ||
~CLIPEncoder.update_forward_refs | ||
~CLIPEncoder.validate | ||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
|
||
~CLIPEncoder.name | ||
~CLIPEncoder.type | ||
~CLIPEncoder.score_threshold | ||
~CLIPEncoder.tokenizer_kwargs | ||
~CLIPEncoder.processor_kwargs | ||
~CLIPEncoder.model_kwargs | ||
~CLIPEncoder.device | ||
|
||
|
31 changes: 31 additions & 0 deletions
31
docs/source/_autosummary/semantic_router.encoders.clip.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
semantic\_router.encoders.clip | ||
============================== | ||
|
||
.. automodule:: semantic_router.encoders.clip | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Classes | ||
|
||
.. autosummary:: | ||
:toctree: | ||
:template: custom-class-template.rst | ||
|
||
CLIPEncoder | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.