Skip to main content

Easily Integrate
Unstructured's API using Konfig's TypeScript SDK

Need a TypeScript SDK for Unstructured's API?

Growing API Companies trust Konfig's SDKs to onboard developers to their API.

SnapTradeHumanloopSplititLeapGroundx

First, instantiate the SDK

It only takes a few lines of code.

index.ts

import { Unstructured } from 'unstructured-typescript-sdk';
const unstructured = new Unstructured({
apiKeyAuth: "UNSTRUCTURED_API_KEY"
})

Then, send your first request

We made it really easy.

index.ts

// Pipeline 1
const createPipelineResponse = unstructured.general.createPipeline({
files: {"summary":"File to be partitioned","externalValue":"https://github.com/Unstructured-IO/unstructured/blob/98d3541909f64290b5efb65a226fc3ee8a7cc5ee/example-docs/layout-parser-paper.pdf"}
strategy: "hi_res"
gz_uncompressed_content_type: "application/pdf"
output_format: "application/json"
encoding: "utf-8"
hi_res_model_name: "yolox"
languages: "[eng]"
chunking_strategy: "by_title"
combine_under_n_chars: 500
max_characters: 1500
new_after_n_chars: 1500
overlap: 25
extract_image_block_types: ["image","table"]
})

Enjoy a buttery smooth developer experience with 1 SDK methods

How Konfig Works

Konfig collects APIs and automatically generates SDKs so you can focus on building your application.

openapi-examples

Konfig maintains the highest quality collection of OpenAPI Specifications on the internet in a GitHub repository

We pull OpenAPI Specifications from public sources, fix any errors, and make sure they pass our lint rules. We continually make sure the repository is up-to-date and collect up-time and response time metrics for every API.

openapi-examples-to-konfig

Generates AI-Augmented SDKs from openapi-examples

Our SDK generator is trusted by growing API companies and goes through a rigorous testing process to ensure the generated SDKs are high-quality and easy to use.

konfig-to-package-managers

Publishes to standard package managers

We publish to standard package managers like npm, PyPI, and Maven so you can easily integrate the SDK into your application.

Unstructured

About Unstructured

At Unstructured, we're on a mission to give organizations access to all of their data. We know the world runs on documents—from research reports and memos, to quarterly filings and plans of action, documents are the unit of information that companies depend on. And yet, 80% of this information is trapped in inaccessible formats, and businesses have long struggled to unlock this data, leading to information silos, inefficient decision-making, and repetitive work. Until now. Unstructured captures this unstructured data wherever it lives and transforms it into AI-friendly JSON files for companies who are eager to fold AI into their business.

Keywords

document_management
ai
data_transformation
nlp
unstructured
llm
large_language_model
artifical_intelegence
rag
machine_learning
open_source
data_pipeline
pdf
xml
html

Start integrating Unstructured's API with Konfig