计算智能体的预计 LLM 用量
计算智能体的预计 LLM 用量
Calculates expected number of LLM tokens needed for the specified agent.
路径参数
agent_id
请求头
xi-api-key
请求
This endpoint expects an object.
prompt_length
提示词长度,以字符计。
number_of_pages
PDF 文档中的内容页,或智能体知识库中的 URL。
rag_enabled
是否启用 RAG。
响应
成功响应
llm_prices
错误
422
Unprocessable Entity Error