Lucidtech.Las
1.1.1
See the version list below for details.
dotnet add package Lucidtech.Las --version 1.1.1
NuGet\Install-Package Lucidtech.Las -Version 1.1.1
<PackageReference Include="Lucidtech.Las" Version="1.1.1" />
paket add Lucidtech.Las --version 1.1.1
#r "nuget: Lucidtech.Las, 1.1.1"
// Install Lucidtech.Las as a Cake Addin #addin nuget:?package=Lucidtech.Las&version=1.1.1 // Install Lucidtech.Las as a Cake Tool #tool nuget:?package=Lucidtech.Las&version=1.1.1
.NET SDK for Lucidtech AI Services
Documentation
Create documents by using doxygen. Download the latest and greatest version of doxygen.
$ cd Lucidtech
$ doxygen documentation.conf
$ sudo npm install moxygen -g # Download moxygen for markdown generation.
$ moxygen xml # Generate markdown file
Installation
NuGet
$ nuget install Lucidtech.Las
Usage
Preconditions
- Documents must be in upright position
- Only one receipt or invoice per document is supported
- Supported file formats are: jpeg, pdf
- Necessary keys and credentials to an endpoint on the form: "https://<your prefix>.api.lucidtech.ai/<version>".
Quick start
Run inference and create prediction on document
using Lucidtech.Las;
ApiClient apiClient = new ApiClient("<endpoint>");
Prediction response = apiClient.Predict(documentPath: "document.pdf", modelName: "invoice|receipt|documentSplit");
Console.WriteLine(response.ToJsonString(Formatting.Indented));
Send feedback to the model.
using Lucidtech.Las;
var feedback = new List<Dictionary<string, string>>()
{
new Dictionary<string, string>(){{"label", "total_amount"},{"value", "54.50"}},
new Dictionary<string, string>(){{"label", "purchase_date"},{"value", "2007-07-30"}}
};
FeedbackResponse response = apiClient.SendFeedback(documentId: "<documentId>", feedback: feedback);
Console.WriteLine(response.ToJsonString(Formatting.Indented));
Revoke consent and deleting all documents associated with consentId.
using Lucidtech.Las;
ApiClient apiClient = new ApiClient("<endpoint>");
RevokeResponse response = apiClient.RevokeConsent(consentId: "<consentId>");
Console.WriteLine(response.ToJsonString(Formatting.Indented));
Contributing
Prerequisites
Download the following packages:
- The latest and greatest stable version of MSBuild
- The latest and greatest version of NuGet
- nunit version 3.9.0 or higher to run tests from command line
- .NET-SDK version 2.2.105
Prerequisites for Arch Users
Download the following packages:
- The latest and greatest stable version of MSBuild
- The latest and greatest version of NuGet
- nunit version 3.9.0 or higher to run tests from command line
- .NET-SDK version 2.2.105
Build and run tests
Clone repo and install the necessary packages manually for the las-sdk-net.
$ git clone git@github.com:LucidtechAI/las-sdk-net.git
$ cd las-sdk-net
$ make prism-start
$ make test
$ # Build for release and make nuget package
$ msbuild Lucidtech/Lucidtech.csproj /t:Rebuild /p:Configuration=Release
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- ini-parser (>= 3.4.0)
- Newtonsoft.Json (>= 11.0.1)
- Polly (>= 7.1.0)
- RestSharp (>= 106.6.9)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Lucidtech.Las:
Package | Downloads |
---|---|
CradlAI.UIPath.Activities
This package was generated using the UiPath VS Extension. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.0.0 | 714 | 12/19/2023 |
4.1.0 | 463 | 6/27/2023 |
4.0.1 | 477 | 3/9/2023 |
4.0.0 | 511 | 2/27/2023 |
3.1.0 | 908 | 3/29/2022 |
3.0.0 | 638 | 10/22/2021 |
2.0.0 | 575 | 10/13/2021 |
1.5.0 | 615 | 7/1/2021 |
1.4.1 | 618 | 7/1/2021 |
1.4.0 | 602 | 6/28/2021 |
1.1.6 | 613 | 4/11/2021 |
1.1.5 | 624 | 4/8/2021 |
1.1.4 | 633 | 3/1/2021 |
1.1.3 | 621 | 2/22/2021 |
1.1.2 | 630 | 2/22/2021 |
1.1.1 | 633 | 2/12/2021 |
1.1.0 | 621 | 2/2/2021 |
1.0.1 | 642 | 1/29/2021 |
1.0.0 | 606 | 1/27/2021 |
0.2.1 | 998 | 5/18/2020 |
0.2.0 | 857 | 2/6/2020 |
0.1.5 | 794 | 1/30/2020 |
0.1.4 | 868 | 5/24/2019 |
0.1.3 | 852 | 4/12/2019 |
0.1.2 | 856 | 3/26/2019 |
0.1.1 | 847 | 3/22/2019 |
Support netstandard2.0, fix documentation and multivalue query parameters