Skip to main content

Documentation Index

Fetch the complete documentation index at: https://pasteguard.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Point your SDK to PasteGuard instead of the provider directly. Every request gets PII and secrets protection automatically.

OpenAI SDK

from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:3000/openai/v1"
)

Anthropic SDK

from anthropic import Anthropic

client = Anthropic(
    base_url="http://localhost:3000/anthropic"
)

LangChain

from langchain_openai import ChatOpenAI

llm = ChatOpenAI(
    base_url="http://localhost:3000/openai/v1"
)

LlamaIndex

from llama_index.llms.openai_like import OpenAILike

llm = OpenAILike(
    api_base="http://localhost:3000/openai/v1",
    model="gpt-5.2",
    is_chat_model=True
)