Table of Contents

Return

img

Example img
This flow processes a user's chat question by first receiving it through a Chat completion trigger, then converting it into a vector using a Text embedding generator, performing a Vector search in a postgreSQL database for relevant context, and finally passing the user input and retrieved context to Azure OpenAI Chat completion, which generates a response that is returned to the client via the Return node.


When used in the Main flowchart, terminates the Flow and optionally returns data back to the caller.
When used in an Extension flowchart, terminates the execution sub tree and optionally returns a value back to the caller.

img