Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt

Use this file to discover all available pages before exploring further.

As of Cognigy.AI 4.98.0, the think function is deprecated. Use thinkV2 instead.

Syntax

think(text, data)

Description

Restarts Flow execution with a simulated input. Parameters:
  • text: string — simulated input text.
  • data: Record<string, unknown> — simulated input data.
Returns: void

Example

think("I want to book a flight", {
  userLocation: "Berlin",
  destination: "Paris"
});