Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix table of content nesting #269

Merged
merged 1 commit into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/api-docs/api-calling-base.md
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
41 changes: 41 additions & 0 deletions docs/api-docs/api-calling-python.md
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

13 changes: 13 additions & 0 deletions docs/api-docs/api-calling-web.md
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
55 changes: 0 additions & 55 deletions docs/api-docs/api-calling.md

This file was deleted.

Binary file modified docs/images/boxplot-medical-exam-domain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/boxplot-medical-exam-language-domain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/boxplot-medical-exam-language.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/boxplot-medical-exam-task.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/boxplot-naive-vs-biochatter.pdf
Binary file not shown.
Binary file modified docs/images/boxplot-naive-vs-biochatter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/boxplot-per-quantisation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/boxplot-tasks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/boxplot-text2cypher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/dotplot-per-task.pdf
Binary file not shown.
Binary file modified docs/images/dotplot-per-task.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/histogram-image-caption-confidence.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/scatter-naive-vs-biochatter.pdf
Binary file not shown.
Binary file modified docs/images/scatter-naive-vs-biochatter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/scatter-per-quantisation-name.pdf
Binary file not shown.
Binary file modified docs/images/scatter-per-quantisation-name.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/scatter-quantisation-accuracy.pdf
Binary file not shown.
Binary file modified docs/images/scatter-quantisation-accuracy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/scatter-size-accuracy.pdf
Binary file not shown.
Binary file modified docs/images/scatter-size-accuracy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/stripplot-extraction-tasks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/stripplot-per-model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/stripplot-rag-tasks.pdf
Binary file not shown.
Binary file modified docs/images/stripplot-rag-tasks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/stripplot-text2cypher-safety.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/violin-naive-vs-biochatter.pdf
Binary file not shown.
Binary file modified docs/images/violin-naive-vs-biochatter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ theme:
- search.highlight
- navigation.instant
- navigation.tabs
- navigation.sections
- toc.integrate

icon:
repo: fontawesome/brands/github
Expand All @@ -42,6 +42,10 @@ plugins:
- search
- mkdocstrings:
default_handler: python
handlers:
python:
options:
heading_level: 3
- table-reader
- social
- redirects:
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down