Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
abaranovskis-redsamurai authored Nov 24, 2024
1 parent 9aa220c commit 78d68cf
Showing 1 changed file with 39 additions and 2 deletions.
41 changes: 39 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,6 @@ Sample answer:
"page": 2
}
]


```

✅ LLM function call example:
Expand Down Expand Up @@ -343,6 +341,45 @@ curl -X 'POST' \
-F 'file=@bonds_table.png;type=image/png'
```

Sparrow Parse Agent supports multi-page PDF documents with private GPU backend `katanaml/sparrow-qwen2-vl-7b`. You can pass PDF document through the API endpoint, response will be structured per page with page number indicators:

```json
[
{
"table": [
{
"description": "Revenues",
"latest_amount": 12453,
"previous_amount": 11445
},
{
"description": "Operating expenses",
"latest_amount": 9157,
"previous_amount": 8822
}
],
"valid": "true",
"page": 1
},
{
"table": [
{
"description": "Revenues",
"latest_amount": 12453,
"previous_amount": 11445
},
{
"description": "Operating expenses",
"latest_amount": 9157,
"previous_amount": 8822
}
],
"valid": "true",
"page": 2
}
]
```

## Commercial usage

Sparrow is available under the GPL 3.0 license, promoting freedom to use, modify, and distribute the software while ensuring any modifications remain open source under the same license. This aligns with our commitment to supporting the open-source community and fostering collaboration.
Expand Down

0 comments on commit 78d68cf

Please sign in to comment.