Lucidtech.Las
0.1.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Lucidtech.Las --version 0.1.1
NuGet\Install-Package Lucidtech.Las -Version 0.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Lucidtech.Las" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lucidtech.Las --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Lucidtech.Las, 0.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Lucidtech.Las as a Cake Addin #addin nuget:?package=Lucidtech.Las&version=0.1.1 // Install Lucidtech.Las as a Cake Tool #tool nuget:?package=Lucidtech.Las&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
.NET SDK for Lucidtech AI Services
Documentation
Create documents by using doxygen. Download the latest and greatest version of doxygen.
$ doxygen documentation.conf
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
- Lucidtech.Las requires compatibility with .NET standard 4.7
Quick start
using Lucidtech.Las;
# Run inference and create prediction on document
using namespace Lucidtech.Las;
ApiClient apiClient = new ApiClient("<api endpoint>");
Prediction response = apiClient.Predict(documentPath: "document.pdf", modelName: "invoice");
Console.WriteLine(response.ToJsonString(Formatting.Indented));
# Send feedback to the model.
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.
ApiClient apiClient = new ApiClient("<endpoint>"); \n
RevokeResponse response = apiClient.RevokeConsent(consentId: "<consentId>");
Console.WriteLine(response.ToJsonString(Formatting.Indented));
Contributing
Prerequisites
Download the latest and greatest version of MSBuild and NuGet. Download NUnit.Console version 3.9.0 or higher to run tests from command line.
$ nuget install NUnit.Console
Build and run tests
Clone repo and install the necessary packages manually for the las-sdk-net.
$ clone git@github.com:LucidtechAI/las-sdk-net.git
$ nuget install -OutputDirectory packages
$ msbuild Test/Test.csproj # Build
$ nunit3-console Test/bin/Debug/Test.dll; # Run
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- INIFileParser (>= 2.5.2)
- Newtonsoft.Json (>= 12.0.0)
- RestSharp (>= 105.2.3)
- System.Runtime.InteropServices (>= 4.3.0)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.0.0)
- System.Runtime.Serialization.Xml (>= 4.3.0)
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 | 693 | 12/19/2023 |
4.1.0 | 462 | 6/27/2023 |
4.0.1 | 476 | 3/9/2023 |
4.0.0 | 510 | 2/27/2023 |
3.1.0 | 902 | 3/29/2022 |
3.0.0 | 637 | 10/22/2021 |
2.0.0 | 574 | 10/13/2021 |
1.5.0 | 614 | 7/1/2021 |
1.4.1 | 617 | 7/1/2021 |
1.4.0 | 601 | 6/28/2021 |
1.1.6 | 612 | 4/11/2021 |
1.1.5 | 623 | 4/8/2021 |
1.1.4 | 632 | 3/1/2021 |
1.1.3 | 620 | 2/22/2021 |
1.1.2 | 629 | 2/22/2021 |
1.1.1 | 632 | 2/12/2021 |
1.1.0 | 620 | 2/2/2021 |
1.0.1 | 641 | 1/29/2021 |
1.0.0 | 605 | 1/27/2021 |
0.2.1 | 997 | 5/18/2020 |
0.2.0 | 856 | 2/6/2020 |
0.1.5 | 793 | 1/30/2020 |
0.1.4 | 867 | 5/24/2019 |
0.1.3 | 851 | 4/12/2019 |
0.1.2 | 855 | 3/26/2019 |
0.1.1 | 846 | 3/22/2019 |
First release