自己招一个ai员工-Ubuntu22.04安装Openclaw详细教程-小白可直接上手-持续更新中p p h4 id ubuntu2204 E5 AE 89 E8 A3 85openclaw Ubuntu22 04 安装 Openclaw h4 ul li 准备工作 ul li 一键安装 li li 设置通道 配置飞书 lt li ul li ul
Your API key: Manage keys at dashboard.exa.ai/api-keys.
Troubleshooting: if tools don’t appear, restart your MCP client after updating the config.
📖 Full docs: docs.exa.ai/reference/exa-mcp
cURL
Function calling (also known as tool use) allows your AI agent to dynamically decide when to search the web based on the conversation context. Instead of searching on every request, the LLM intelligently determines when real-time information would improve its response—making your agent more efficient and accurate.
Why use function calling with Exa?
Your agent can ground responses in current, factual information
Reduces hallucinations by fetching real sources when needed
Enables multi-step reasoning where the agent searches, analyzes, and responds
📚 Full documentation: https://docs.exa.ai/reference/openai-tool-calling
sets the maximum acceptable age (in hours) for cached content. If the cached version is older than this threshold, Exa will livecrawl the page to get fresh content.
Value Behavior Best For 24 Use cache if less than 24 hours old, otherwise livecrawl Daily-fresh content 1 Use cache if less than 1 hour old, otherwise livecrawl Near real-time data 0 Always livecrawl (ignore cache entirely) Real-time data where cached content is unusable -1 Never livecrawl (cache only) Maximum speed, historical/static content
(omit) Default behavior (livecrawl as fallback if no cache exists)
Recommended — balanced speed and freshness
When LiveCrawl Isn’t Necessary: Cached data is sufficient for many queries, especially for historical topics or educational content. These subjects rarely change, so reliable cached results can provide accurate information quickly.
See maxAgeHours docs for more details.
Beyond , Exa offers these endpoints:
Endpoint Description Docs Get contents for known URLs Docs Q&A with citations from web search Docs
Example - Get contents for URLs:
Results not relevant?
Try - most balanced option
Try - runs multiple query variations and ranks the combined results
Refine query - use singular form, be specific
Check category matches your use case
Need structured data from search?
Use or with
Define the fields you need in the schema — Exa returns grounded JSON with citations
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/236199.html