8000 Document `NodeConfig.respond_immediately` by kompfner · Pull Request #236 · pipecat-ai/docs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Document NodeConfig.respond_immediately #236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 16, 2025

Conversation

kompfner
Copy link
Contributor

Documents what's implemented in pipecat-ai/pipecat-flows#133

@kompfner kompfner force-pushed the document-nodeconfig-respond-immediately branch from 880323c to dab6da8 Compare May 15, 2025 20:13
)
```

Keep in mind that if you specify `respond_immediately=False`, the user may not be aware of the conversational task at hand when entering the node (the bot hasn't told them yet). While it's always important to have guardrails in your node messages to keep the conversation on topic, letting the user speak first makes it even more so.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe make this a

@@ -442,6 +446,25 @@ This ordering ensures proper completion of all operations.

Flows comes equipped with pre-canned actions and you can also define your own action behavior. See the [reference docs](/server/frameworks/flows/pipecat-flows#actions) for more information.

## Deciding Who Speaks First

8000 For each node in the conversation, you can decide whether the LLM should respond immediately upon entering the node (the default behavior) or whether the LLM should wait for the user to speak first before responding. You do this using the `respond_immediately` field.
Copy link
Contributor
@markbackman markbackman May 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After this paragraph, perhaps add a <Tip>, saying:

  • respond_immediately can be used in the initial node if you want the user to speak first. You can point to this being common for cases where the agent is making outbound calls, for example.

Copy link
Contributor
@markbackman markbackman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just a few suggestions.

@kompfner kompfner merged commit b484b4d into main May 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0