|
|
|
|
@ -7,7 +7,7 @@ import speech_recognition as sr
|
|
|
|
|
import anthropic
|
|
|
|
|
|
|
|
|
|
def consultar_claude(text):
|
|
|
|
|
client = anthropic.Anthropic(api_key='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')
|
|
|
|
|
client = anthropic.Anthropic(api_key='T057Zwoq-LOmplU5cScZhU87pnLosLJBhnvBODl-Jw22nnL4av_7-74r4hNcW8VoTE9-if-xDFInehYZ-hsCXA-s1xZ3wAA')
|
|
|
|
|
message = client.messages.create(
|
|
|
|
|
#model="claude-3-5-haiku-20241022",
|
|
|
|
|
model = "claude-3-5-sonnet-20241022",
|
|
|
|
|
|