Witrics.AI.Activities
1.0.13
dotnet add package Witrics.AI.Activities --version 1.0.13
NuGet\Install-Package Witrics.AI.Activities -Version 1.0.13
<PackageReference Include="Witrics.AI.Activities" Version="1.0.13" />
<PackageVersion Include="Witrics.AI.Activities" Version="1.0.13" />
<PackageReference Include="Witrics.AI.Activities" />
paket add Witrics.AI.Activities --version 1.0.13
#r "nuget: Witrics.AI.Activities, 1.0.13"
#:package Witrics.AI.Activities@1.0.13
#addin nuget:?package=Witrics.AI.Activities&version=1.0.13
#tool nuget:?package=Witrics.AI.Activities&version=1.0.13
Witrics Metrics activities provides means to track and log performance and operations information.
Witrics A/S Strives to provide value to the RPA community, by releasing useful activities for use in UiPath.
Generate document
GenerateDocumentActivity creates a PDF from an array of source filenames and a prompt. Set Files, Prompt, and WorkingFolder, together with CustomerId and LicenseKey. The license must authorize "Generate document" and supply a ChatGPTApiKey asset. Model defaults to gpt-5 and must support Code Interpreter through the OpenAI Responses API.
Relative source filenames are resolved against WorkingFolder. The activity creates the folder when needed and saves the PDF with a unique filename. GeneratedFile (displayed as "Generated file") returns the absolute path. Uploaded files and the temporary OpenAI container are deleted after processing; cleanup failures are traced.
File types must be supported by OpenAI Code Interpreter. Generation and tool usage consume OpenAI API credits. Failures, including responses without a PDF, raise an error.
Shared licensing
ExtractDataActivity and GenerateDocumentActivity inherit CustomerId and LicenseKey from LicensedActivity. Their logic classes inherit LicensedAiOperation, which validates the license with the license server and retrieves its ChatGPTApiKey asset before any OpenAI calls. Validation and asset lookup use each activity's function identifier: "Extract data" or "Generate document". Neither activity accepts a direct API key.
When calling document generation from C#, use GenerateDocument.RunGeneration with CustomerId and LicenseKey. This entry point retrieves the API key and sets Bearer authentication on the HTTP client. The internal GeneratePdf helper expects an already authenticated client and does not perform license lookup.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- ClosedXML (>= 0.105.0)
- OpenAI (>= 2.7.0)
- System.Text.Json (>= 8.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1.0 - Initial Release.