Invoking the process
When you invoke the Chat with File process, the user sees an answer from the LLM based on the context of the file.
To invoke the process, perform the following steps:
- 1Open the Chat with File process and click Actions > Properties Detail > Copy Service URL.
- 2Open 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=<C:/folder>&Filename=<Filename>
- 3Open a browser and paste the service URL.
You can also invoke the process using the Run Using option, REST or SOAP API endpoints in any API clients such as cURL, Postman, SOAP UI, or through any programming language.
The process prepares a request with the file and sends it to the LLM and the user sees an answer from the LLM based on the context of the file. If the file is missing or empty, the process is terminated with an appropriate message.