AiCollabSuccessResponse Interface
A successful response from the AI collaboration.
This API is provided as an alpha preview and may change without notice.
To use, import via @fluidframework/ai-collab/alpha
.
For more information about our API support guarantees, see here.
Signature
export interface AiCollabSuccessResponse
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
status | Alpha |
readonly |
"success" | The status of the Ai Collaboration. A 'success' status indicates that the AI collaboration was successful at creating changes. |
tokensUsed | Alpha |
readonly |
TokenUsage | Total usage of tokens by an LLM. |
Property Details
status
The status of the Ai Collaboration. A 'success' status indicates that the AI collaboration was successful at creating changes.
This API is provided as an alpha preview and may change without notice.
To use, import via @fluidframework/ai-collab/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly status: "success";
Type: "success"
tokensUsed
Total usage of tokens by an LLM.
This API is provided as an alpha preview and may change without notice.
To use, import via @fluidframework/ai-collab/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly tokensUsed: TokenUsage;
Type: TokenUsage