SACHIBOT™ UPDATES
SACHIBOT™ UPDATES
January 30, 2025 at 12:49 PM
> Handling Responses If everything is working fine, you’ll get a response like this: ``` { "id": "f63b590a-dcfc-4f7f-8708-79947be5bdc1", "object": "chat.completion", "created": 1738234743, "model": "deepseek-reasoner", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Hello! How can I assist you today? 😊", "reasoning_content": "Okay, the user just said \"hi\". I should respond in a friendly and welcoming manner. Maybe say hello back and ask how I can assist them today. Keep it open-ended to encourage them to share what they need help with. Let's make sure the tone is warm and approachable." }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 6, "completion_tokens": 72, "total_tokens": 78, "prompt_tokens_details": { "cached_tokens": 0 }, "completion_tokens_details": { "reasoning_tokens": 59 }, "prompt_cache_hit_tokens": 0, "prompt_cache_miss_tokens": 6 }, "system_fingerprint": "fp_7e73fd9a08" } ``` 🔹 The AI *responded successfully* with: *“Hello! How can I assist you today? 😊”*
👍 ❤️ 😮 🙏 117

Comments