RecursiveAI.OneOcr.Llm 1.0.0

dotnet add package RecursiveAI.OneOcr.Llm --version 1.0.0
                    
NuGet\Install-Package RecursiveAI.OneOcr.Llm -Version 1.0.0
                    
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="RecursiveAI.OneOcr.Llm" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RecursiveAI.OneOcr.Llm" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="RecursiveAI.OneOcr.Llm" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RecursiveAI.OneOcr.Llm --version 1.0.0
                    
#r "nuget: RecursiveAI.OneOcr.Llm, 1.0.0"
                    
#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.
#:package RecursiveAI.OneOcr.Llm@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RecursiveAI.OneOcr.Llm&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=RecursiveAI.OneOcr.Llm&version=1.0.0
                    
Install as a Cake Tool

RecursiveAI.OneOcr.Llm

Opt-in LLM vision for RecursiveAI.OneOcr: Anthropic, OpenAI, OpenAI-compatible servers (Ollama, llama.cpp, vLLM, LM Studio), Gemini and Azure OpenAI over a plain HttpClient. This is the only OneOcr package that contains networking code; nothing leaves the machine unless you configure a provider, and local methods never touch the network.

dotnet add package RecursiveAI.OneOcr.Llm

Every value a model returns is checked against the words the local reader found on the page and comes back as Grounded, GroundedNormalized, Derived or Ungrounded, with boxes where it has them. The package also provides cost estimates and caps, routing between the local models and the LLM, an Offline switch, a redaction hook and structured output from System.Text.Json source-generated types. API keys are passed explicitly; nothing is read from the environment unless you ask.

ExtractAsync<T> takes a source-generated JsonTypeInfo<T>, derives the schema from it and is grounded like the schema route: it returns LlmReadResult<T> with the Value and the grounded Fields. Cost caps work with a local OpenAI-compatible server (localhost, 127.x.x.x or [::1]), which is priced at 0; a server on another host needs an entry in the price table (LlmPriceTable.With). The provider classes are a closed set; to test code that uses LlmClient, give a provider an HttpClient with a fake HttpMessageHandler.

https://github.com/recursive-ai-oss/oneocr-csharp

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RecursiveAI.OneOcr.Llm:

Package Downloads
RecursiveAI.OneOcr.Training

Fine-tuning for RecursiveAI.OneOcr recognition models from your own documents: an LLM labels the lines, lines the local reader agrees with train the model, the rest go to a review queue. Reaches the network only through RecursiveAI.OneOcr.Llm.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 53 10/31/2026