Easy Heading Free | ||||
---|---|---|---|---|
|
Launch Aspire (if it's not already running). See:
To add an Gen AI Client application, drag it from the Applicationssection to the desired Workflow event. This will automatically open the Gen AI Client configuration for the application.
In the “General” configuration section, specify the type of prompt to use. Currently, “User”, “System” and “Assistant” types are supported.
TODO
Image Added
Image Added
Image Added
Image Removed
In the “General” configuration section, specify the text for your prompt. It can be plain text or a groovy script that must have text as its final output.
TODO
Image Added
Image Removed
Optionally, in the “General” section, you can add as many prompts as desired. You must then, again, specify a prompt type and a prompt text for each of them.
TODO
Image Added
Image Removed
In the “Endpoint Configuration” section, specify the API version and model to be used.
TODO
Image Added
Image Added
Image Added
Image Removed
In the “Model Parameters” section, specify parameters to be used with the Model specified in the previous step.
After this, you can press the add button to finish the workflow.
Now the workflow application is ready to be used in your Aspire Seeds.
Image Removed
TODO
Image Added
TODO
Image Added
Here is an example of the output. The application will add a “chatCompletionsResponse” object to the document, which in turn will have:
Image Removed
Info |
---|
For details on using the Workflow section, please refer to the Workflow introduction. |