DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run typed extraction on your own GPU to keep data in-house with TypeLLM

Serve Qwen3.8-27B with SGLang and point TypeLLM at it so documents never leave your server.

Short answer: Follow the Qwen3.8-27B SGLang deployment guide linked in the README to start the server with prefix caching enabled; then run pip install -U typellm; create TypeLLMClient("http://127.0.0.1:30000", model="Qwen/Qwen3.8-27B") with your server URL. All steps.

Who it is forA team that cannot send internal documents to a hosted API and already has a GPU server.

The problemHosted services may not be acceptable for confidential records, but free-text output still needs schema guarantees.

The outcomeTypeLLM sends the same typed requests to a local SGLang endpoint and returns typed results from your own model.

What you need first

  • Python with pip installed
  • A TypeLLM API key from typellm.ai (includes $5 free credit), or a GPU server running SGLang with a compatible model such as Qwen3.8-27B
  • Documents or text to process, and a list of the fields you want back

Steps

  1. Follow the Qwen3.8-27B SGLang deployment guide linked in the README to start the server with prefix caching enabled
  2. Run pip install -U typellm
  3. Create TypeLLMClient("http://127.0.0.1:30000", model="Qwen/Qwen3.8-27B") with your server URL
  4. Call generate() with your questions and context as in the README example
  5. Check response.result against a few documents you already know the answers to

Prompt for your agent

Set up TypeLLM/TypeLLM against an SGLang server at <server_url> serving Qwen/Qwen3.8-27B. Run TypeLLMClient.generate() on <document_path> with the questions in <questions_file> and return response.result. Verify that the model returned values for every field and no value falls outside its enum.

Caveat. The README notes that on your own server no service limits apply, and a thinking field without a thinking_budget may reason until the context is full, so set a budget for thinking fields.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for TypeLLM/TypeLLM and "Run typed extraction on your own GPU to keep data in-house"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer