Skip to main content

Icosa Computing

Bundles contain custom components that support specific third-party integrations with Langflow.

The Icosa Computing components require access to Icosa Computing services. For more information and to request access, see the Icosa Computing site.

Combinatorial Reasoner

The Combinatorial Reasoner component runs Icosa's Combinatorial Reasoning (CR) pipeline on an input to create an optimized prompt with embedded reasons.

Combinatorial Reasoner parameters

NameTypeDescription
promptStringInput parameter. The input to run CR on.
openai_api_keySecretStringInput parameter. An OpenAI API key for authentication to OpenAI, which is used for reason generation.
model_nameStringInput parameter. The OpenAI LLM to use for reason generation.
usernameStringInput parameter. A username for authentication to the Icosa API.
passwordSecretStringInput parameter. A password for authentication to the Icosa API.

Combinatorial Reasoner outputs

The Combinatorial Reasoner component outputs one of the following:

  • Optimized Prompt (optimized_prompt): A Message object containing the optimized prompt with embedded reasons.
  • Selected Reasons (reasons): A Data object containing a list of strings where each string is a reason that was selected and embedded in the optimized prompt.

You can toggle the output type near the component's output port.

See also

Search