Skip to main content
April 3, 2025
Question

AI Knowledge Assistant

  • April 3, 2025
  • 1 reply
  • 0 views

I am using AIKnowledgeAssistantField() smart service
And here I want the history of the queries asked and the response got from the AI Assestant
We have a field to capture the history i.e "conversationValue"
But how to we use if is not properly mentioned anywhere

My requirement it to upload the document and ask few queries related to the document and then capture the Audit history so i want all the queries and the responses saved somewhere.
I tried using Document Chatbot but there also i did not find a way to save the history or there are any logs that have been captured.

If its not possible in AIKnowledgeAssistantField is there any other way we can get the Audit history 

1 reply

July 20, 2025

Hi [mention:2db7609b72464856b633bc90eb9e43e1:e9ed411860ed4f2ba0265705b8793d05] , 

I have attached a link of the document for your reference to see the actual documentation from Appian. 

see attachmentAI Knowledge Assistant Component for Appian

Here's the same code on how you can implement the conversationValue parameter.

{
  role: "system/assistant/user",
  content: "The message content",
  metadata: (List of Dictionary) [
    {
      documentId: integer,
      documentName: text,
      pageNumber: integer,
      text: text,
      similarityScore: decimal
    }
  ]
}