A service for working with Connery actions.

Connery is an open-source plugin infrastructure for AI. Source code: https://github.com/connery-io/connery-platform

Hierarchy

  • ConneryService

Constructors

Properties

apiKey: string
asyncCaller: AsyncCaller
runnerUrl: string

Methods

  • Runs the specified Connery action with the provided input.

    Parameters

    • actionId: string

      The ID of the action to run.

    • Optional prompt: string

      This is a plain English prompt with all the information needed to run the action.

    • Optional input: Input

      The input expected by the action. If provided together with the prompt, the input takes precedence over the input specified in the prompt.

    Returns Promise<string>

    A promise that resolves to a JSON string containing the output of the action.

Generated using TypeDoc