View as Markdown

SDK reference · Rails

acpExtension

acpExtension in @provenanceauth/rails/acp, Rails. The extension for one completion: its capabilities.extensions declaration, the request-side identifier, and the field to spread into the complete request.

Signature

acpExtension(intentToken: string, opts: AcpExtensionOptions): { declaration: AcpExtensionDeclaration; identifier: string; field: { [ACP_EXTENSION_FIELD]: AcpProvenanceIntent } }

Parameters

intentTokenstringRequired
optsAcpExtensionOptionsRequired

Returns

{ declaration: AcpExtensionDeclaration; identifier: string; field: { [ACP_EXTENSION_FIELD]: AcpProvenanceIntent } }

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.