google / langfun

OO for LLMs
Apache License 2.0
122 stars 18 forks source link

Support Anthropic models. #178

Closed copybara-service[bot] closed 4 months ago

copybara-service[bot] commented 4 months ago

Support Anthropic models.

With this change, Anthropic models are added to Langfun:

All of these models support images as inputs. Please set environment variable 'ANTHROPIC_API_KEY' or provide the api_key argument when creating the model.