Create your first automation in just a few minutes.Try Studio Web →
by Internal Labs
0
Activity
<100
Summary
Summary
Use fuzzy search or generate images with the help of an AI ML model!
Overview
Overview
What is PlugML Activity
PlugML is a package that will host various models and enable us to quickly solve issues with ML.
· SemanticSimilarity: Allows you to compare two strings and see if they are referring to the same thing.
· Stable Diffusion: Generates an image based on a given text (TextToImage) or modifies an image based on a given text (ImageToImage).
Behind the scenes we use the models available on HuggingFace and we will try to bring more in the future.
How to use
· In order for the activity to work, Python needs to be installed. Latest knowing version of Python for this activity to work with is 3.10.9.
You can do it manually by downloading the 3.10.9 version from here.
A full guide on how to use this set of activities can be found here.
Semantic Similarity
GenerateEmbedding fields:
1. BatchSize: Splits the given list in smaller batch size to mitigate the chance of running out of memory. Default 64.
2. Data: Array of sentences. Embedding will be created from this.
3. EmbeddingFilePath: The location where the embed file will be created. Example "C:\Users\USERNAME\Downloads". Default is the root of the project.
4. EmbeddingFileName: The name of the embed file that will be created.
5. PythonInstalledPath: Home path where Python is installed in the local machine. Example "C:\Users\USERNAME\AppData\Local\Programs\Python\Python310".
6. PythonLibrarypath: Library path (Linux or version> 3.9); InArgument. For Linux is the path to Python libpython*.so library including library name. For Windows (Version>3.9) path to python**.dll including library name (usually is in Python Home path). For Windows (Version 3.9); InArgument For Linux is the path to Python libpython*.so library including library name. For Windows (Version>3.9) path to python**.dll including library name (usually is in Python Home path). For Windows (Version 3.9); InArgument For Linux is the path to Python libpython*.so library including library name. For Windows (Version>3.9) path to python**.dll including library name (usually is in Python Home path). For Windows (Version 3.9); InArgument
Example "C:\***\Python\Python310\python310.dll".
Features
Features
Plug ML has 2 main components at the moment:
1. Semantic Similarity - A module designed to help with fuzzy matching (especially useful for addresses).
2. Stable Diffusion - Image to Image or Text to Image generation of AI Images.
Additional Information
Additional Information
Dependencies
Python 3.10.9 must be installed beforehand.
Code Language
Visual Basic
Runtime
Windows (.Net 5.0 or higher)
Technical
Version
1.0.0Updated
January 26, 2023Works with
Studio: 22.10+
Certification
Silver Certified
Support
UiPath Community Support
Resources