Skip to content

Commit

Permalink
feat(example): update stop params
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Dec 23, 2024
1 parent 951436c commit 8f0c00f
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 62 deletions.
46 changes: 23 additions & 23 deletions docs/API/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ llama.rn

#### Defined in

[index.ts:103](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L103)
[index.ts:103](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L103)

___

Expand All @@ -73,7 +73,7 @@ ___

#### Defined in

[index.ts:94](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L94)
[index.ts:94](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L94)

___

Expand All @@ -83,7 +83,7 @@ ___

#### Defined in

[index.ts:67](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L67)
[index.ts:67](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L67)

___

Expand All @@ -93,7 +93,7 @@ ___

#### Defined in

[index.ts:92](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L92)
[index.ts:92](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L92)

___

Expand Down Expand Up @@ -137,7 +137,7 @@ ___

#### Defined in

[NativeRNLlama.ts:60](https://github.com/mybigday/llama.rn/blob/86adb39/src/NativeRNLlama.ts#L60)
[NativeRNLlama.ts:60](https://github.com/mybigday/llama.rn/blob/402a590/src/NativeRNLlama.ts#L60)

___

Expand All @@ -163,7 +163,7 @@ ___

#### Defined in

[NativeRNLlama.ts:201](https://github.com/mybigday/llama.rn/blob/86adb39/src/NativeRNLlama.ts#L201)
[NativeRNLlama.ts:201](https://github.com/mybigday/llama.rn/blob/402a590/src/NativeRNLlama.ts#L201)

___

Expand All @@ -186,7 +186,7 @@ ___

#### Defined in

[NativeRNLlama.ts:190](https://github.com/mybigday/llama.rn/blob/86adb39/src/NativeRNLlama.ts#L190)
[NativeRNLlama.ts:190](https://github.com/mybigday/llama.rn/blob/402a590/src/NativeRNLlama.ts#L190)

___

Expand All @@ -203,7 +203,7 @@ ___

#### Defined in

[NativeRNLlama.ts:185](https://github.com/mybigday/llama.rn/blob/86adb39/src/NativeRNLlama.ts#L185)
[NativeRNLlama.ts:185](https://github.com/mybigday/llama.rn/blob/402a590/src/NativeRNLlama.ts#L185)

___

Expand All @@ -220,7 +220,7 @@ ___

#### Defined in

[NativeRNLlama.ts:180](https://github.com/mybigday/llama.rn/blob/86adb39/src/NativeRNLlama.ts#L180)
[NativeRNLlama.ts:180](https://github.com/mybigday/llama.rn/blob/402a590/src/NativeRNLlama.ts#L180)

___

Expand Down Expand Up @@ -256,7 +256,7 @@ ___

#### Defined in

[NativeRNLlama.ts:8](https://github.com/mybigday/llama.rn/blob/86adb39/src/NativeRNLlama.ts#L8)
[NativeRNLlama.ts:8](https://github.com/mybigday/llama.rn/blob/402a590/src/NativeRNLlama.ts#L8)

___

Expand All @@ -272,7 +272,7 @@ ___

#### Defined in

[NativeRNLlama.ts:4](https://github.com/mybigday/llama.rn/blob/86adb39/src/NativeRNLlama.ts#L4)
[NativeRNLlama.ts:4](https://github.com/mybigday/llama.rn/blob/402a590/src/NativeRNLlama.ts#L4)

___

Expand All @@ -288,7 +288,7 @@ ___

#### Defined in

[NativeRNLlama.ts:221](https://github.com/mybigday/llama.rn/blob/86adb39/src/NativeRNLlama.ts#L221)
[NativeRNLlama.ts:221](https://github.com/mybigday/llama.rn/blob/402a590/src/NativeRNLlama.ts#L221)

___

Expand All @@ -307,7 +307,7 @@ ___

#### Defined in

[NativeRNLlama.ts:225](https://github.com/mybigday/llama.rn/blob/86adb39/src/NativeRNLlama.ts#L225)
[NativeRNLlama.ts:225](https://github.com/mybigday/llama.rn/blob/402a590/src/NativeRNLlama.ts#L225)

___

Expand All @@ -324,7 +324,7 @@ ___

#### Defined in

[NativeRNLlama.ts:232](https://github.com/mybigday/llama.rn/blob/86adb39/src/NativeRNLlama.ts#L232)
[NativeRNLlama.ts:232](https://github.com/mybigday/llama.rn/blob/402a590/src/NativeRNLlama.ts#L232)

___

Expand All @@ -340,7 +340,7 @@ ___

#### Defined in

[NativeRNLlama.ts:217](https://github.com/mybigday/llama.rn/blob/86adb39/src/NativeRNLlama.ts#L217)
[NativeRNLlama.ts:217](https://github.com/mybigday/llama.rn/blob/402a590/src/NativeRNLlama.ts#L217)

___

Expand All @@ -356,7 +356,7 @@ ___

#### Defined in

[chat.ts:3](https://github.com/mybigday/llama.rn/blob/86adb39/src/chat.ts#L3)
[chat.ts:3](https://github.com/mybigday/llama.rn/blob/402a590/src/chat.ts#L3)

___

Expand All @@ -373,7 +373,7 @@ ___

#### Defined in

[chat.ts:7](https://github.com/mybigday/llama.rn/blob/86adb39/src/chat.ts#L7)
[chat.ts:7](https://github.com/mybigday/llama.rn/blob/402a590/src/chat.ts#L7)

___

Expand All @@ -390,7 +390,7 @@ ___

#### Defined in

[index.ts:57](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L57)
[index.ts:57](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L57)

## Functions

Expand All @@ -414,7 +414,7 @@ ___

#### Defined in

[grammar.ts:826](https://github.com/mybigday/llama.rn/blob/86adb39/src/grammar.ts#L826)
[grammar.ts:826](https://github.com/mybigday/llama.rn/blob/402a590/src/grammar.ts#L826)

___

Expand All @@ -435,7 +435,7 @@ ___

#### Defined in

[index.ts:295](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L295)
[index.ts:295](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L295)

___

Expand All @@ -455,7 +455,7 @@ ___

#### Defined in

[index.ts:280](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L280)
[index.ts:280](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L280)

___

Expand All @@ -469,7 +469,7 @@ ___

#### Defined in

[index.ts:354](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L354)
[index.ts:354](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L354)

___

Expand All @@ -489,4 +489,4 @@ ___

#### Defined in

[index.ts:266](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L266)
[index.ts:266](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L266)
36 changes: 18 additions & 18 deletions docs/API/classes/LlamaContext.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

#### Defined in

[index.ts:124](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L124)
[index.ts:124](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L124)

## Properties

Expand All @@ -55,7 +55,7 @@

#### Defined in

[index.ts:116](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L116)
[index.ts:116](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L116)

___

Expand All @@ -65,7 +65,7 @@ ___

#### Defined in

[index.ts:114](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L114)
[index.ts:114](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L114)

___

Expand All @@ -81,7 +81,7 @@ ___

#### Defined in

[index.ts:120](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L120)
[index.ts:120](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L120)

___

Expand All @@ -91,7 +91,7 @@ ___

#### Defined in

[index.ts:118](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L118)
[index.ts:118](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L118)

## Methods

Expand All @@ -111,7 +111,7 @@ ___

#### Defined in

[index.ts:239](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L239)
[index.ts:239](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L239)

___

Expand All @@ -134,7 +134,7 @@ ___

#### Defined in

[index.ts:219](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L219)
[index.ts:219](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L219)

___

Expand All @@ -155,7 +155,7 @@ ___

#### Defined in

[index.ts:160](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L160)
[index.ts:160](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L160)

___

Expand All @@ -175,7 +175,7 @@ ___

#### Defined in

[index.ts:208](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L208)
[index.ts:208](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L208)

___

Expand All @@ -196,7 +196,7 @@ ___

#### Defined in

[index.ts:212](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L212)
[index.ts:212](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L212)

___

Expand All @@ -217,7 +217,7 @@ ___

#### Defined in

[index.ts:150](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L150)
[index.ts:150](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L150)

___

Expand All @@ -231,7 +231,7 @@ ___

#### Defined in

[index.ts:255](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L255)
[index.ts:255](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L255)

___

Expand All @@ -253,7 +253,7 @@ Load cached prompt & completion state from a file.

#### Defined in

[index.ts:134](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L134)
[index.ts:134](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L134)

___

Expand All @@ -267,7 +267,7 @@ ___

#### Defined in

[index.ts:261](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L261)
[index.ts:261](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L261)

___

Expand All @@ -281,7 +281,7 @@ ___

#### Defined in

[index.ts:251](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L251)
[index.ts:251](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L251)

___

Expand All @@ -305,7 +305,7 @@ Save current cached prompt & completion state to a file.

#### Defined in

[index.ts:143](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L143)
[index.ts:143](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L143)

___

Expand All @@ -319,7 +319,7 @@ ___

#### Defined in

[index.ts:200](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L200)
[index.ts:200](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L200)

___

Expand All @@ -339,4 +339,4 @@ ___

#### Defined in

[index.ts:204](https://github.com/mybigday/llama.rn/blob/86adb39/src/index.ts#L204)
[index.ts:204](https://github.com/mybigday/llama.rn/blob/402a590/src/index.ts#L204)
Loading

0 comments on commit 8f0c00f

Please sign in to comment.