Skip to content

Commit

Permalink
minor docs improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Mar 27, 2024
1 parent 5a8fff3 commit 4e20a50
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions controllers/jsctrl/samples/aici-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,19 @@ export class MidProcessResult {
_n_backtrack: number;
_n_ff_tokens: Token[];
constructor();
/**
* Stop the current sequence.
*/
static stop(): MidProcessResult;
static skipMe(): MidProcessResult;
static bias(bias: TokenSet): MidProcessResult;
/**
* Sample one of the tokens from the set.
*/
static bias(allowedTokens: TokenSet): MidProcessResult;
/**
* Backtrack given number of tokens and then appends the given tokens to the prompt.
*/
static splice(backtrack: number, tokens: Token[]): MidProcessResult;
static skipMe(): MidProcessResult;
}
export class PreProcessResult {
_n_suspended: boolean;
Expand Down

0 comments on commit 4e20a50

Please sign in to comment.