The AI Knowledge Works project provides a suite of template and example Automation Bots, implemented in Tungsten RPA, to create, update and maintain an Azure AI Search knowledge base, for use in a Retrieval Augmented Generation pattern in Intelligent Automation and Enterprise ChatBot scenarios.
The Automation Bots are intended to complement and extent TotalAgility workflows, bringing the full power of Generative AI to both ChatBot style interactions with humans, as well as providing a for applied use of LLMs and Generative AI as part of enterprise Intelligent Automation projects.
The Automation Bots have been implemented in Tungsten Automation RPA version: 11.4.0.1 271
The project includes Basic Engine Robot Automation Bot templates for:
The following are required and/or recommended technology components to run the various examples.
The examples in this project make use a the _Types/AIKnowledge_WorksEnv.type data model to pass in Azure account, endpoint and key information at the point of robot execution. In a production environment, this approach should be replaced to make use of the built in RPA password store, 3rd party secure secret storage (e.g. Azure Key Vault), or dynamically populating the _AIKnowledge_WorksEnv.type using secure variables from TotalAgility (taking appropriate steps to ensure these are not logged or stored unencrypted at any point).
Each robot includes 3 types:
To enable remote debugging, in the final step of the robots, "enable" the "Return Debug" step in the "Return Response" group:
The following links and resources provide additional guidance for using this project.
See: https://learn.microsoft.com/en-us/azure/search/search-get-started-portal
The following command line examples can be updated to create the Azure resources needed for this project. To run these commands, first install Azure Command-Line Interface, then run:
az login
Azure Resource Group: The following Command can be used to create a resource group for use with AI Search:
az group create --name YOUR_RESOURCE_GROUP_NAME --location northeurope --tags "CustomTag=Tag Value" "Description=Resource Group for use with AI Knowledge Works automation bots."
Azure AI Search: TODO
Azure Open AI: TODO
Azure Multi-Service Account: TODO
Azure Storage Account: The following Command can be used to create a storage account:
az storage account create --name YOUR_STORAGE_ACCOUNT_NAME --location northeurope --resource-group YOUR_RESOURCE_GROUP_NAME --sku Standard_LRS --allow-blob-public-access false --tags "CustomTag=Tag Value" "Description=Azure Storage Account for use with AI Knowledge Works automation bots."
The following Command can be used to create a storage account container for use in the pull pattern:
TODO