Anthropic V2

function

Anthropic API access with all the latest API changes (prompt caching, PDF, vision, etc).

balaxxe
@balaxxe
·
2 years ago
1.6K
0
3.1K
Updated 2 years ago
Created Dec 15, 2024
anthropic_v2.py
Python · 463 lines
"""
title: Anthropic API Integration for OpenWebUI
author: Balaxxe
version: 2.1
license: MIT
requirements: pydantic>=2.0.0, requests>=2.0.0
environment_variables: 
    - ANTHROPIC_API_KEY (required)

Supports:
- All Claude 3 models
- Streaming responses

Anthropic API access with all the latest API changes (prompt caching, PDF, vision, etc).


0