
PacletInstall["KirillBelov/Objects"];
PacletInstall["KirillBelov/Internal"];
PacletInstall["KirillBelov/AILink"];
Get["KirillBelov`AILink`ChatCompletions`"];
chat = AIChatObject[
"APIKey" -> SystemCredential["DEEPSEEK_API_KEY"],
"Endpoint" -> "https://api.deepseek.com/chat/completions",
"Model" -> "deepseek-chat"
];
chat["Messages"] += "Hello, are you DeepSeek model?";
AIChatComplete[chat]
chat["Messages"]
In the screenshot, DeepSeek is telling me that I don't have the money to get the competion. If I could pay for tokens, he might have replied something.
Note the dependencies. The Internal package requires some compiled C libraries, I only compiled them for myself - I have Windows 11 x64 and Wolfram Languabe 14.2