MCPcopy
hub / github.com/continuedev/continue / decode

Method decode

core/llm/asyncEncoder.ts:7–7  ·  view source on GitHub ↗
(tokens: number[])

Source from the content-addressed store, hash-verified

5export interface AsyncEncoder {
6 encode(text: string): Promise<number[]>;
7 decode(tokens: number[]): Promise<string>;
8 close(): Promise<void>;
9}
10

Callers 15

streamResponseFunction · 0.65
__init__Method · 0.65
response_deserializeMethod · 0.65
getDecodedOutputFunction · 0.65
decodeMethod · 0.65
decodeMethod · 0.65
pruneStringFromBottomFunction · 0.65
pruneStringFromTopFunction · 0.65
decodeVocabularyMethod · 0.65
decodeMethod · 0.65
testCaseMethod · 0.65

Implementers 3

LlamaAsyncEncodercore/llm/asyncEncoder.ts
GPTAsyncEncodercore/llm/asyncEncoder.ts
NonWorkerAsyncEncodercore/llm/countTokens.ts

Calls

no outgoing calls

Tested by 1

getTextMethod · 0.52