-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
segment large API calling module to allow correct nesting move navigation fully to the left (integrated)
- Loading branch information
1 parent
263c637
commit 704ae5a
Showing
32 changed files
with
76 additions
and
57 deletions.
There are no files selected for viewing
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,12 @@ | ||
# API Calling: Base Classes | ||
|
||
We provide base classes for the API Agent implementation to align individual | ||
modules. | ||
|
||
## Abstract base classes | ||
|
||
::: biochatter.api_agent.base.agent_abc | ||
|
||
## The API Agent | ||
|
||
::: biochatter.api_agent.base.api_agent |
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,41 @@ | ||
# API Calling: Python APIs | ||
|
||
API calling for large Python APIs is currently experimental. In particular, we | ||
observe a decrease in stability with increasing number of total parameters | ||
offered to the LLM. Due to this limitation, we recommend benchmarking the | ||
stability of the calls using our benchmarking framework. If you're interested in | ||
the performance of a specific API / LLM combination, don't hesitate to get in | ||
touch. | ||
|
||
## Generic Python API ingestion | ||
|
||
Using Pydantic parsing, we autogenerate API descriptions for tool bindings. | ||
While this allows better scaling (given suitable structure of the ingested code, | ||
particularly with respect to the docstrings), it offers less control than the | ||
manual implementation of API descriptions. For instance, it is much harder to | ||
reduce the set of parameters to the essentials. | ||
|
||
::: biochatter.api_agent.python.generic_agent | ||
|
||
::: biochatter.api_agent.python.autogenerate_model | ||
|
||
## Scanpy modules | ||
|
||
We manually define the API descriptions for select Scanpy modules. | ||
|
||
::: biochatter.api_agent.python.anndata_agent | ||
|
||
::: biochatter.api_agent.python.scanpy_pl_full | ||
|
||
::: biochatter.api_agent.python.scanpy_pp_full | ||
|
||
::: biochatter.api_agent.python.scanpy_pl_reduced | ||
|
||
::: biochatter.api_agent.python.scanpy_pp_reduced | ||
|
||
# API Calling: Utility functions | ||
|
||
## Formatters to parse the calls | ||
|
||
::: biochatter.api_agent.base.formatters | ||
|
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,13 @@ | ||
# API Calling: Web APIs | ||
|
||
## BLAST | ||
|
||
::: biochatter.api_agent.web.blast | ||
|
||
## OncoKB | ||
|
||
::: biochatter.api_agent.web.oncokb | ||
|
||
## bio.tools | ||
|
||
::: biochatter.api_agent.web.bio_tools |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -33,7 +33,7 @@ theme: | |
- search.highlight | ||
- navigation.instant | ||
- navigation.tabs | ||
- navigation.sections | ||
- toc.integrate | ||
|
||
icon: | ||
repo: fontawesome/brands/github | ||
|
@@ -42,6 +42,10 @@ plugins: | |
- search | ||
- mkdocstrings: | ||
default_handler: python | ||
handlers: | ||
python: | ||
options: | ||
heading_level: 3 | ||
- table-reader | ||
- social | ||
- redirects: | ||
|
@@ -97,7 +101,9 @@ nav: | |
- LLM Connectivity: api-docs/llm_connect.md | ||
- Vectorstore Agent: api-docs/vectorstore.md | ||
- Knowledge Graph Agent: api-docs/kg.md | ||
- API Agent: api-docs/api-calling.md | ||
- "API Calling: Base Classes": api-docs/api-calling-base.md | ||
- "API Calling: Web APIs": api-docs/api-calling-web.md | ||
- "API Calling: Python APIs": api-docs/api-calling-python.md | ||
- Reflexion Agent: api-docs/reflexion.md | ||
- Podcast: api-docs/podcast.md | ||
|
||
|
@@ -130,6 +136,8 @@ markdown_extensions: | |
- md_in_html | ||
- admonition | ||
- pymdownx.details | ||
- toc: | ||
toc_depth: 3 | ||
|
||
extra_javascript: | ||
- https://unpkg.com/[email protected]/dist/tablesort.min.js | ||
|