Create Guidance

以 Markdown 格式查看

身份验证

AuthorizationBearer

Bearer 身份验证,格式为 Bearer <token>,其中 token 是您的身份验证令牌。

路径参数

domainstring必需

请求

This endpoint expects an object.
contextlist of strings必需
The context of the guidance document, as a list of strings, that will be indexed. Each string will be vectorized separately to generate a separate record.
documentstring必需
The content of the guidance document that will be returned to Ask Fern during Ask Fern retrieval.

响应

Successful Response
guidance_idstring
The unique identifier of the created guidance document

错误

422
Unprocessable Entity Error