You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

llama.native.decoderesult.md 882 B

1234567891011121314151617181920
  1. # DecodeResult
  2. Namespace: LLama.Native
  3. Return codes from llama_decode
  4. ```csharp
  5. public enum DecodeResult
  6. ```
  7. Inheritance [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) → [ValueType](https://docs.microsoft.com/en-us/dotnet/api/system.valuetype) → [Enum](https://docs.microsoft.com/en-us/dotnet/api/system.enum) → [DecodeResult](./llama.native.decoderesult.md)<br>
  8. Implements [IComparable](https://docs.microsoft.com/en-us/dotnet/api/system.icomparable), [IFormattable](https://docs.microsoft.com/en-us/dotnet/api/system.iformattable), [IConvertible](https://docs.microsoft.com/en-us/dotnet/api/system.iconvertible)
  9. ## Fields
  10. | Name | Value | Description |
  11. | --- | --: | --- |
  12. | Error | -1 | An unspecified error |
  13. | Ok | 0 | Ok. |
  14. | NoKvSlot | 1 | Could not find a KV slot for the batch (try reducing the size of the batch or increase the context) |