Skip to content

Commit

Permalink
extractapi2 (#996)
Browse files Browse the repository at this point in the history
- **add extract api**
- **Docs**
- **add docs**

<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Introduces a new extraction API with documentation and examples,
updates OpenAPI spec, and reorganizes documentation structure.
> 
>   - **New Extraction API**:
> - Added `POST /extract` endpoint in `openapi.yaml` for data extraction
from files using prompts.
> - Supports multiple file uploads and returns extracted data in JSON
format.
>   - **Documentation**:
> - Added `examples.mdx` with code examples for Python, TypeScript,
Ruby, and Go.
> - Updated `docs.yml` to include new `boundary-extraction-api` tab and
navigation structure.
> - Added `summary.mdx` and `extraction-api.mdx` for API overview and
usage.
>   - **Tests**:
> - Minor changes in `test_functions.py` to accommodate new API
features.
>   - **Miscellaneous**:
>     - Updated `turbo.json` to include new build dependencies.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
for c177430. It will automatically
update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
aaronvg authored Sep 30, 2024
1 parent 90b81df commit da1a5e8
Show file tree
Hide file tree
Showing 10 changed files with 668 additions and 180 deletions.
17 changes: 17 additions & 0 deletions docs/assets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@
.fern-sidebar-link-container[data-state="active"] .fern-sidebar-link {
font-weight: 600;
}
.fern-header {
border: 0px;
}
.fern-header-tabs-list {
height: 28px;
font-size: 12px;
}
.fern-header-tabs {
height: 32px;
max-height: 36px;
}

.fern-header-tab-button > * {
font-size: 12px;
/* color */
color: #333333;
}

/* .fern-sidebar-container {
color: #000000;
Expand Down
Loading

0 comments on commit da1a5e8

Please sign in to comment.