2024:Grooper and AI: Difference between revisions
Dgreenwood (talk | contribs) No edit summary |
Dgreenwood (talk | contribs) |
||
| Line 12: | Line 12: | ||
== OpenAI and Azure account setup == | == OpenAI and Azure account setup == | ||
=== For Azure OCR connectivity === | |||
GrooperAI can implement Azure AI Vision's Read engine for OCR. "Read" is machine learning based OCR engine used to recognize text from images with superior accuracy. | |||
==== Azure OCR Quickstart ==== | |||
In Azure: | |||
# If not done so already, [https://azure.microsoft.com/en-in/pricing/purchase-options/azure-account/ create an Azure account]. | |||
# Go to your [https://portal.azure.com Azure portal] | |||
# If not done so already, create a "Subscription" and "Resource Group." | |||
# Click the "Create a resource" button | |||
# Search for "Computer Vision" | |||
# Find "Computer Vision" in the list click the "Create" button. | |||
# Follow the prompts to create the Computer Vision resource. | |||
# Go to the resource. | |||
# Under "Keys and endpoint", copy the API key. | |||
In Grooper | |||
# Go to an '''OCR Profile''' in Grooper. | |||
# For the '''''OCR Engine''''' property, select ''Azure OCR''. | |||
# Paste the API key in the '''''API Key''''' property. | |||
# Adjust the '''''API Region''''' property to match your Computer Vision resource's Region value | |||
#*<li class="fyi-bullet">You can find this by going to the resource in the Azure portal and inspecting its "Location" value. | |||
===== Additional resources ===== | |||
* [https://azure.microsoft.com/en-us/products/ai-services/ai-vision/ Azure AI Vision overview] | |||
* [https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/ Azure AI Vision full documentation] | |||
* [https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/overview-ocr Azure OCR (Read) documentation] | |||
* [https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/computer-vision-how-to-install-containers Deploy Azure OCR (Read) on prem] | |||
=== For Azure Document Intelligence OCR connectivity === | |||
Azure Document Intelligence is a variation on Azure OCR. It is designed to extract text, key/value pairs and tables from documents. Be aware, Grooper's integration with Document Intelligence is still in beta development. | |||
==== Azure Document Intelligence Quickstart ==== | |||
In Azure: | |||
# If not done so already, [https://azure.microsoft.com/en-in/pricing/purchase-options/azure-account/ create an Azure account]. | |||
# Go to your [https://portal.azure.com Azure portal] | |||
# If not done so already, create a "Subscription" and "Resource Group." | |||
# Click the "Create a resource" button | |||
# Search for "Document Intelligence" | |||
# Find "Document Intelligence (form recognizer)" in the list click the "Create" button. | |||
# Follow the prompts to create the Document Intelligence resource. | |||
# Go to the resource. | |||
# Copy the resource's name (You will need this in Grooper) | |||
# Under "Keys and endpoint", copy the API key (You will need this in Grooper). | |||
In Grooper | |||
# Go to an '''OCR Profile''' in Grooper. | |||
# For the '''''OCR Engine''''' property, select ''Azure Document Intelligence OCR''. | |||
# Paste the API key in the '''''API Key''''' property. | |||
# Paste the resource's name in the '''''Resource Name''''' property. | |||
==== Additional resources ==== | |||
* [https://azure.microsoft.com/en-us/products/ai-services/ai-document-intelligence Azure Document Intelligence overview] | |||
* [https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/?view=doc-intel-4.0.0 Azure Document Intelligence full documentation] | |||
=== For Azure AI Search connectivity === | |||
GrooperAI uses Azure AI Search's API to create a document search and retrieval mechanism. | |||
==== Azure AI Search Quickstart ==== | |||
In Azure: | |||
# If not done so already, [https://azure.microsoft.com/en-in/pricing/purchase-options/azure-account/ create an Azure account]. | |||
# Go to your [https://portal.azure.com Azure portal] | |||
# If not done so already, create a "Subscription" and "Resource Group." | |||
# Click the "Create a resource" button | |||
# Search for "Azure AI Search" | |||
# Find "Azure AI Search" in the list click the "Create" button. | |||
# Follow the prompts to create the Azure AI Search resource. | |||
#*<li class="fyi-bullet"> The pricing tier defaults to "Standard". There is a "Free" option if you're just wanting to try this feature out. | |||
# Go to the resource. | |||
# In the "Essentials" panel, copy the "Url" value. You will need this in Grooper. | |||
# In the left-hand navigation panel, expand "Settings" and select "Keys" | |||
# Copy the "Primary admin key" or "Secondary admin key." You will need this in Grooper. | |||
In Grooper: | |||
# Connect to the Azure AI Search service by adding the "'''''AI Search'''''" option to your Grooper Repository. | |||
# From the Design page, go to the '''Grooper Root''' node. | |||
# Select the '''''Options''''' property and open its editor. | |||
# Add the '''''AI Search''''' option. | |||
# Paste the AI Search service's URL in the '''''API Key''''' property. | |||
# Paste the AI Search service's API key in the '''''API Key''''' property. | |||
# Full documentation on Grooper's '''''AI Search''''' capabilities can be found in the [[Azure AI Search]] article. | |||
===== Additional resources ===== | |||
* [https://learn.microsoft.com/en-us/azure/search/search-create-service-portal Create an AI Search service in the Azure portal] | |||
* [https://learn.microsoft.com/en-us/azure/search/ Azure AI Search full documentation] | |||
=== For LLM connectivity === | === For LLM connectivity === | ||
| Line 86: | Line 180: | ||
* [https://azure.microsoft.com/en-us/products/ai-model-catalog Azure AI model catalog] | * [https://azure.microsoft.com/en-us/products/ai-model-catalog Azure AI model catalog] | ||
* [https://learn.microsoft.com/en-us/azure/machine-learning/concept-model-catalog Azure AI model documentation] | * [https://learn.microsoft.com/en-us/azure/machine-learning/concept-model-catalog Azure AI model documentation] | ||
Revision as of 11:15, 26 August 2024
Grooper version 2024 is GrooperAI!

Version 2024 contains a slew of features incorporating cutting edge AI technologies into Grooper. That's why we're calling this version GrooperAI. These AI based features accelerate Grooper's design and development. GrooperAI makes deployment easier, gets results with less setup, and incorporates a document search and retrieval mechanism for the first time.
GrooperAI's features include:
- Large Language Model (LLM) based data extraction at scale
- Document assistants allowing users to chat with their documents
- A robust and speedy document search and retrieval mechanism
OpenAI and Azure account setup
For Azure OCR connectivity
GrooperAI can implement Azure AI Vision's Read engine for OCR. "Read" is machine learning based OCR engine used to recognize text from images with superior accuracy.
Azure OCR Quickstart
In Azure:
- If not done so already, create an Azure account.
- Go to your Azure portal
- If not done so already, create a "Subscription" and "Resource Group."
- Click the "Create a resource" button
- Search for "Computer Vision"
- Find "Computer Vision" in the list click the "Create" button.
- Follow the prompts to create the Computer Vision resource.
- Go to the resource.
- Under "Keys and endpoint", copy the API key.
In Grooper
- Go to an OCR Profile in Grooper.
- For the OCR Engine property, select Azure OCR.
- Paste the API key in the API Key property.
- Adjust the API Region property to match your Computer Vision resource's Region value
- You can find this by going to the resource in the Azure portal and inspecting its "Location" value.
Additional resources
- Azure AI Vision overview
- Azure AI Vision full documentation
- Azure OCR (Read) documentation
- Deploy Azure OCR (Read) on prem
For Azure Document Intelligence OCR connectivity
Azure Document Intelligence is a variation on Azure OCR. It is designed to extract text, key/value pairs and tables from documents. Be aware, Grooper's integration with Document Intelligence is still in beta development.
Azure Document Intelligence Quickstart
In Azure:
- If not done so already, create an Azure account.
- Go to your Azure portal
- If not done so already, create a "Subscription" and "Resource Group."
- Click the "Create a resource" button
- Search for "Document Intelligence"
- Find "Document Intelligence (form recognizer)" in the list click the "Create" button.
- Follow the prompts to create the Document Intelligence resource.
- Go to the resource.
- Copy the resource's name (You will need this in Grooper)
- Under "Keys and endpoint", copy the API key (You will need this in Grooper).
In Grooper
- Go to an OCR Profile in Grooper.
- For the OCR Engine property, select Azure Document Intelligence OCR.
- Paste the API key in the API Key property.
- Paste the resource's name in the Resource Name property.
Additional resources
For Azure AI Search connectivity
GrooperAI uses Azure AI Search's API to create a document search and retrieval mechanism.
Azure AI Search Quickstart
In Azure:
- If not done so already, create an Azure account.
- Go to your Azure portal
- If not done so already, create a "Subscription" and "Resource Group."
- Click the "Create a resource" button
- Search for "Azure AI Search"
- Find "Azure AI Search" in the list click the "Create" button.
- Follow the prompts to create the Azure AI Search resource.
- The pricing tier defaults to "Standard". There is a "Free" option if you're just wanting to try this feature out.
- Go to the resource.
- In the "Essentials" panel, copy the "Url" value. You will need this in Grooper.
- In the left-hand navigation panel, expand "Settings" and select "Keys"
- Copy the "Primary admin key" or "Secondary admin key." You will need this in Grooper.
In Grooper:
- Connect to the Azure AI Search service by adding the "AI Search" option to your Grooper Repository.
- From the Design page, go to the Grooper Root node.
- Select the Options property and open its editor.
- Add the AI Search option.
- Paste the AI Search service's URL in the API Key property.
- Paste the AI Search service's API key in the API Key property.
- Full documentation on Grooper's AI Search capabilities can be found in the Azure AI Search article.
Additional resources
For LLM connectivity
GrooperAI can integrate with OpenAI and Microsoft Azure's LLM models to implement various LLM-based functionality. Before you are able to connect Grooper to these resources, you will need accounts setup with these providers. For information on how to set up these accounts/resources, refer to the following links:
OpenAI LLM Quickstart
In OpenAI:
- If you have not done so already, create an OpenAI account.
- Go to the API keys section of the OpenAI Platform.
- Press the "Crate new secret key" button.
- Follow the prompts to create a new key.
- Copy the API key. You will not be able to view/copy it again.
In Grooper:
- Connect to the OpenAI API by adding an "LLM Connector" option to your Grooper Repository.
- From the Design page, go to the Grooper Root node.
- Select the Options property and open its editor.
- Add the LLM Connector option.
- Select the Service Providers property and open its editor.
- Add an OpenAI provider.
- Paste the OpenAI API key in the API Key property.
- Refer to the following articles for more information on functionality enabled by the LLM Connector:
Additional resources
Azure LLM Quickstart
This documentation is a work in progress. It will be finished pending research from the author.
In Azure:
- If not done so already, create an Azure account.
- Go to your Azure portal
- If not done so already, create a "Subscription" and "Resource Group."
- Click the "Create a resource" button
- Search for "Azure Machine Learning"
- Find "Azure Machine Learning" in the list click the "Create" button.
- Follow the prompts to create the Azure Machine Learning resource.
- Go to the resource.
- Launch "Machine Learning Studio"
- Once you've created an Azure Machine Learning resource, you can launch Azure Machine Learning Studio by going to ml.azure.com
- In the left-hand navigation panel, select "Model catalog"
- Select the model you wish to use from the list.
- Grooper's integration with Azure's Model Catalog uses either "chat completion" or "embeddings" models depending on the feature. To better narrow down your list of options, expand the "Inference tasks" dropdown and select "Chat completion" and/or "Embeddings."
- Embeddings models are only required when using Clause Detection or the "Semantic" Document Quoting method in Grooper.
In Grooper:
- Connect to a model in the Azure Model Catalog by adding an "LLM Connector" option to your Grooper Repository.
- From the Design page, go to the Grooper Root node.
- Select the Options property and open its editor.
- Add the LLM Connector option.
- Select the Service Providers property and open its editor.
- Add an Azure Provider.
- Select the Deployments property and open its editor.
- Add one or more Chat Services and/or Embeddings Services.
- Embeddings Services are only required when using Clause Detection or the "Semantic" Document Quoting method.
- Refer to the following articles for more information on functionality enabled by the LLM Connector: