@isdk/ai-tool-llm-llamacpp
Version:
llama.cpp LLM Provider
162 lines (81 loc) • 4.72 kB
Markdown
[**/ai-tool-llm-llamacpp**](../README.md)
***
[/ai-tool-llm-llamacpp](../globals.md) / LLamaCppResult
# Interface: LLamaCppResult
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:542](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L542)
## Properties
### chatTemplateId?
> `optional` **chatTemplateId**: `object`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:559](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L559)
#### id
> **id**: `string`
#### version?
> `optional` **version**: `string`
***
### content
> **content**: `string`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:543](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L543)
***
### generation\_settings
> **generation\_settings**: [`LLamaCppModelGenerationSettings`](LLamaCppModelGenerationSettings.md)
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:544](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L544)
***
### model
> **model**: `string`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:545](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L545)
***
### prompt
> **prompt**: `string`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:546](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L546)
***
### slot\_id
> **slot\_id**: `number`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:547](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L547)
***
### stop
> **stop**: `boolean`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:548](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L548)
***
### stop\_type
> **stop\_type**: `"none"` \| `"eos"` \| `"limit"` \| `"word"`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:558](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L558)
***
### stopped\_eos
> **stopped\_eos**: `boolean`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:549](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L549)
***
### stopped\_limit
> **stopped\_limit**: `boolean`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:550](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L550)
***
### stopped\_word
> **stopped\_word**: `boolean`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:551](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L551)
***
### stopping\_word
> **stopping\_word**: `string`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:552](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L552)
***
### taskId?
> `optional` **taskId**: `AsyncTaskId`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:560](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L560)
***
### timings
> **timings**: [`LLamaCppModelTimings`](LLamaCppModelTimings.md)
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:553](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L553)
***
### tokens\_cached
> **tokens\_cached**: `number`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:554](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L554)
***
### tokens\_evaluated
> **tokens\_evaluated**: `number`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:555](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L555)
***
### tokens\_predicted
> **tokens\_predicted**: `number`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:556](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L556)
***
### truncated
> **truncated**: `boolean`
Defined in: [packages/ai-tool-llm-llamacpp/src/options.ts:557](https://github.com/isdk/ai-tool-llm-llamacpp.js/blob/151b8bdfe7d8b8a8be547948f716da692b2f3c67/src/options.ts#L557)