Deep Think
Deep Think allows you to perform advanced reasoning on complex topics using the Exnest Brain Core.
const deepThinkResponse = await exnest.deepThink( [ { role: "user", content: "Analyze the potential impact of quantum computing on cryptography" } ], { model: "deepseek-r1", // Optional temperature: 0.7 });
console.log(deepThinkResponse.choices[0].message.content);# Performs advanced reasoning and decision makingdeep_think_response = await client.deep_think( messages=[ExnestMessage(role="user", content="Analyze the potential impact of quantum computing on cryptography")], model="deepseek-r1" # Optional: specify EBC model)
if not deep_think_response.error: print(f"\nDeep Think Response: {deep_think_response.choices[0].message.content}")Raw HTTP API
Section titled “Raw HTTP API”curl -X POST https://api.exnest.app/v1/ebc/deep-think \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "messages": [ { "role": "user", "content": "Should I invest in cryptocurrency or real estate for long-term wealth building? I have $50K to invest and I'm 28 years old." } ], "temperature": 0.7, "max_tokens": 2000, "stream": false, "exnest_metadata": true, "timeout": 120000 }'