From b959272bf1c1068d5f373d9e1206566305796d36 Mon Sep 17 00:00:00 2001 From: jinno Date: Tue, 14 May 2024 08:55:13 +0900 Subject: [PATCH] fix: use claude-3-haiku-20240307 --- examples/anthropic_claude.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/anthropic_claude.py b/examples/anthropic_claude.py index 89a69ecb..7ecfd203 100644 --- a/examples/anthropic_claude.py +++ b/examples/anthropic_claude.py @@ -1,7 +1,5 @@ from codeinterpreterapi import CodeInterpreterSession -with CodeInterpreterSession(model="claude-2") as session: - result = session.generate_response( - "Plot the nvidea stock vs microsoft stock over the last 6 months." - ) +with CodeInterpreterSession(model="claude-3-haiku-20240307") as session: + result = session.generate_response("Plot the nvidea stock vs microsoft stock over the last 6 months.") result.show()