Skip to content

[Question]: Agent using Switch with Interact as input #6188

Closed
@renan-almeida-isi

Description

@renan-almeida-isi

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

Describe your problem

Hi, I have the following agent working, but I want to remove the static messages "Contact" and "Finish chat" from the categories step to reduce LLM usage.

Image

I added a switch step to check for keywords and redirect to categorize in the else condition, but the following error is displayed for any input:

Image

I also tried adding a concentrator between the interact and switch steps, but the switch step always evaluates to the else condition.

I noticed that the SEO example uses the switch step with a begin input, but I want to use the output of the interact step instead, is it possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions