Skip to content

This repository contains code from the blog post about using Batch API to reduce your LLM costs by 50%.

Notifications You must be signed in to change notification settings

nemwiz/chatgpt-on-a-budget

Repository files navigation

Extracting structured information from documents with LLM

This repository contains code from the blog post about using Batch API to reduce your LLM costs by 50%.

OpenAI API key

In order to run this project, you need to create an API key in OpenAI:

Setup

This project is meant to be run with Docker and Devcontainers. The settings are located inside .devcontainer/devcontainer.json.

To set up a devcontainer with your IDE, follow these instructions:

Once the devcontainer is created, run a terminal inside it and execute:

  • uv sync

Setup without Devcontainer

Follow these steps:

Running the project

Run uv run create_batch.py

About

This repository contains code from the blog post about using Batch API to reduce your LLM costs by 50%.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published