Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

GeminiAI Chat with History

GeminiAI Chat with History

Invoking the process

Invoking the process

The Chat with History process is called by an HTTP request using the User_Prompt, Path_To_File_With_History, and User_ID input parameters. When you invoke the process, it creates a file with history after your first question.
To invoke the Chat with History process, perform the following steps:
  1. Open the
    Chat with History
    process and click
    Actions
    Properties Detail
    Copy Service URL
    .
  2. Open a text editor and add the input fields and values to the service URL as shown in the following format:
    <Cloud Application Integration POD URL>/active-bpel/public/rt/<API_name>?User_Prompt=<User_Prompt>&Path_To_File_With_History=<C:/folder>/&User_ID=<User_ID>
  3. Open a browser and paste the service URL.
The process creates or updates a file with the last question and LLM response. If no file exists or the file is empty, the process prepares a request without history. If the file has history, the process uses only the last question and response. The process then updates the file and appends the new question and answer.

0 COMMENTS

We’d like to hear from you!