API reference¶
This section provides reference documentation for the TrulyNatural SDK API. This includes both the native C and the Java interfaces.
- Overview
- Design goals and high-level overview of how everything fits together. Start here.
- Inference
- Functions, classes, and methods for evaluating models.
- I/O
- Streamed input and output adapters. Inference uses these for all binary and text input and output.
- Constants
- TrulyNatural SDK metadata available during the compile or build phase, for example the SDK VERSION.
- Setting keys
- Settings are strings used as keys in Session inference object function or method calls. This section provides an exhaustive list of all supported keys.
- Library configuration
- Describes functions and settings that control overall TrulyNatural SDK library behavior.
- These are most useful on small platforms with limited memory, and relevant to the native C API only. Library configuration is not available in other language bindings.
- Memory management
- Describes heap memory management used by the TrulyNatural SDK C language binding. The Java binding uses the standard garbage collecting approach.
- Integrate with your build
- Describes how to add the TrulyNatural SDK to your own application's build system.
- C examples
- Sample code that use the C API.
- Java examples
- Sample code that use the Desktop Java API.
- Android examples
- Sample code that use Java on Android.
- iOS examples
- Sample code that use Swift with a bridging header to the C API.