Skip to main content

ApplyEditSuccess Interface

An EventFlowDebugEvent marking the successful application of an edit generated by the LLM to a SharedTree.

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 ApplyEditSuccess extends EventFlowDebugEvent

Extends: EventFlowDebugEvent

Properties

Property Alerts Type Description
edit Alpha LlmTreeEdit The LlmTreeEdit generated by the LLM.
eventFlowName Alpha typeof EventFlowDebugNames.GENERATE_AND_APPLY_TREE_EDIT
eventFlowStatus Alpha "IN_PROGRESS"
eventFlowTraceId Alpha string A unique id that will be shared across all debug events that are part of the same event flow.
eventName Alpha "APPLIED_EDIT_SUCCESS"

Property Details

edit

The LlmTreeEdit generated by the LLM.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

edit: LlmTreeEdit;

Type: LlmTreeEdit

eventFlowName

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

eventFlowName: typeof EventFlowDebugNames.GENERATE_AND_APPLY_TREE_EDIT;

Type: typeof EventFlowDebugNames.GENERATE_AND_APPLY_TREE_EDIT

eventFlowStatus

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

eventFlowStatus: "IN_PROGRESS";

Type: "IN_PROGRESS"

eventFlowTraceId

A unique id that will be shared across all debug events that are part of the same event flow.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

eventFlowTraceId: string;

Type: string

eventName

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

eventName: "APPLIED_EDIT_SUCCESS";

Type: "APPLIED_EDIT_SUCCESS"