Minor updates to Java docs (#21269)

This commit is contained in:
Nat Kershaw (MSFT) 2024-07-11 12:32:10 -07:00 committed by GitHub
parent 8c073f9b5f
commit 2b75c9bf54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ description: Java API reference for ONNX Runtime generate() API
has_children: false
parent: API docs
grand_parent: Generate API (Preview)
nav_order: 1
nav_order: 4
---
# ONNX Runtime generate() Java API
@ -17,7 +17,7 @@ _Note: this API is in preview and is subject to change._
{:toc}
## Install and import
The Java API is delivered by the ai.onnxruntime.genai Java package. Package publication is pending. To build the package from source, see the [installation guide](../howto/build-from-source.md).
The Java API is delivered by the ai.onnxruntime.genai Java package. Package publication is pending. To build the package from source, see the [build from source guide](../howto/build-from-source.md).
```java
import ai.onnxruntime.genai.*;

View file

@ -16,7 +16,7 @@ nav_order: 2
## Pre-requisites
- `cmake`
- `.Net v6` (if building C# library or API)
- `.Net v6` (if building C#)
## Clone the onnxruntime-genai repo