Group Abstract Group Abstract

Message Boards Message Boards

API access to Claude 3 and use cases: image processing, conversation and programming

6 Replies

Hello! thanks. My version of mathematica complains to SystemCredentialKeys["ANTHROPICAPIKEY"] = "sk-ant-ap ..... ";

with

Set::write: Tag SystemCredentialKeys in SystemCredentialKeys[ANTHROPICAPIKEY] is Protected.

....and I could not find a way (even asking Claude-2!) to solve it...

There is a typo in Marco's code it should be

SystemCredential["ANTHROPIC_API_KEY"] = "YOUR KEY GOES HERE"
POSTED BY: Rohit Namjoshi

Thank you @Rohit Namjoshi. It is now fixed in the post.

POSTED BY: Ahmed Elbanna

Dear All,

Yes, indeed. I do tend to add the keys directly; not via ServiceConnect. So I use

SystemCredentialKeys[]

To check for the API keys I already have defined - for some strange reason I have several different API keys for many services.

I then intended to use

SystemCredential["ANTHROPIC_API_KEY"] = "YOUR KEY GOES HERE"

But mussed have mixed up different pieces of code.

In fact, I would strongly recommend to use the attached WL file. Importing that at the beginning of a session makes things easy.

Cheers,

Marco

POSTED BY: Marco Thiel

enter image description here -- you have earned Featured Contributor Badge enter image description here Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

POSTED BY: EDITORIAL BOARD
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard