Skip to content
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
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.
4 changes: 3 additions & 1 deletion beta/serverless-fleets/tutorials/docling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

![](../../images/docling-picture.png)

This tutorial provides a comprehensive guide on using Docling to convert PDFs into Markdown format using serverless fleets. It leverages cloud object storage for managing both the input PDFs and the resulting Markdown files. The process is streamlined using IBM’s Code Engine to build the Docling container, which is then pushed to a container registry. Users can run a serverless fleet, which autonomously spawns workers to run the Docling container for efficient, scalable conversion tasks.
This tutorial provides a comprehensive guide on using [Docling](https://docling-project.github.io/docling/) to convert PDFs into Markdown format using serverless fleets. It leverages cloud object storage for managing both the input PDFs and the resulting Markdown files. The process is streamlined using IBM’s Code Engine to build the Docling container, which is then pushed to a container registry. Users can run a serverless fleet, which autonomously spawns workers to run the Docling container for efficient, scalable conversion tasks.

![](../../images/docling-highlevel-architecture.png)

Key steps covered in the Tutorial:
1. Upload the examples PDFs to COS
Expand Down
5 changes: 4 additions & 1 deletion beta/serverless-fleets/tutorials/inferencing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

This tutorial provides a comprehensive guide on using Serverless GPUs to perform batch inferencing which illustrates a generally applicable pattern where AI helps to extract information out of a set of unstructed data.

![](../../images/inferencing-highlevel-architecture.png)


The concrete example extracts temperature and duration of a set of cookbook recipes (from [recipebook](https://github.com/dpapathanasiou/recipebook)) by using a LLM. Such a cookbook recipe looks like:
```
{
"title": "A-1 Chicken Soup",
"directions": [
"In a large pot over medium heat, cook chicken pieces in oil until browned on both sides. Stir in onion and cook 2 minutes more. Pour in water and chicken bouillon and bring to a boil. Reduce heat and simmer 45 minutes.",
"Stir in celery, carrots, garlic, salt and pepper. Simmer until carrots are just tender. Remove chicken pieces and pull the meat from the bone. Stir the noodles into the pot and cook until tender, 10 minutes. Return chicken meat to pot just before serving."
Expand All @@ -24,7 +28,6 @@ The concrete example extracts temperature and duration of a set of cookbook reci
"language": "en-US",
"source": "allrecipes.com",
"tags": [],
"title": "A-1 Chicken Soup",
"url": "http://allrecipes.com/recipe/25651/a-1-chicken-soup/"
}
```
Expand Down