fix(vertex_ai_anthropic.py): support streaming, async completion, async streaming for vertex ai anthropic

This commit is contained in:
Krrish Dholakia 2024-04-05 09:27:48 -07:00
parent eb34306099
commit f0c4ff6e60
8 changed files with 373 additions and 14 deletions

View file

@ -15,6 +15,7 @@ prisma==0.11.0 # for db
mangum==0.17.0 # for aws lambda functions
pynacl==1.5.0 # for encrypting keys
google-cloud-aiplatform==1.43.0 # for vertex ai calls
anthropic[vertex]==0.21.3
google-generativeai==0.3.2 # for vertex ai calls
async_generator==1.10.0 # for async ollama calls
langfuse>=2.6.3 # for langfuse self-hosted logging