Retreive prompt and response details from logs on node display

Created on 7 March 2025, 29 days ago

I have a content type, Question, that has the field "Response", which is a formatted text field that stores the response from the AI provider.

When rendering a Question node, I'd like to also display information about the response and prompt, and not just the response itself.

For example:

## Current Design:

Question: How many provinces in Canada?
Current Repsonse: Canada has 10 provinces.

## Desired Design:

Question: [question text]
Response: [response text]
Response Details (accordion): [includes details about model, temperature, tokens, etc.]
Prompt Details (accordion): [includes the prompt used]

I apologize if this is something simple I am not seeing on my side. Thank you in advance for you help.

💬 Support request
Status

Active

Version

1.1

Component

AI Core module

Created by

🇨🇦Canada ydahi Waterloo, Canada

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ydahi
  • 🇮🇳India anjaliprasannan

    @ydahi
    From the context you have provided. You can add extra fields for response details and prompt used and enable ai automators for them, Else you can modify your prompt to respond in the desired format for the response field itself.

    If this does not satisfy your query, please come up with better senerio.

Production build 0.71.5 2024