In ODC, how to create a library which integrates with Agentic application to generate Test cases.
Library- Act as an reusable UI component, Application- To store entity, logic to call Agentic application, Agentic application- which generates Test cases based on query.
I have created a library with block that has input field to get query and shows the response. Now, used that block inside another application and passed the input to the application using Trigger event in Generate test case logic .
What are the steps need to be done to use the Library inside application and pass the input query and get the response. It would be helpful if anyone can provide simple steps
Since you’ve already created the Library and the Block, you olnly need to follow these steps:
Hi,
I assume you have a chatbot interface with sessions, where each session contains multiple messages from both the user and the AI. You could pass the list of messages as input and include a Role attribute (User/AI) to distinguish between the query and the response. The application would update the message list accordingly and then send it to the library.
Hi @Jeevitha Venkatraj ,
In terms of using the library, it needs to be released before it can be used in another application (it can be used for testing purposes only in 1 application). If the library is still unpublished, it will not appear when you try to add it through Manage Dependencies. Also make sure your blocks are Public.
If you are looking for a template for chat bot interfaces you should check this forge component, it handles sessions, message retrieval and getting the response from the AI, so you can check the actual implementation, it will save you a lot of time: Template_Chat Interface (ODC) .
Hello,
Basically, you have done most of the work and published the library, but it will still not be visible for applications to use. The only step left is releasing the library, which can be done through the ODC Portal or directly from ODC Studio using the interface at the top.
You can also check this documentation for more details:
https://success.outsystems.com/documentation/outsystems_developer_cloud/building_apps/libraries/#:~:text=Release%20a%20new%20version%20of%20a%20library
U can create library on your Studio. If you want to use it (select in Dependencies), you have to release it first.
Thank you all for the suggestions. How to send the value back to the library from the application. My requirement is
1. Send the query from library to application-done
2. Generate the response from Agentic app and stored it in database.-done
3. Now, need to send the response back to the library to display the response through block
Got it. Thanks. Any idea how to convert the Text to Excel format. For eg: I have Test cases generated in Text format saved in database which i need to convert it to excel or tabular format.
Testcase (Entity)-> Id, Query, Response (attributes). Need to convert this response to tabular format and download in Excel.
You can use Record List to Excel . And to download you can use a Download node in your flow instead of End.