MCPcopy Index your code
hub / github.com/microsoft/TypeChat / complete

Method complete

typescript/src/model.ts:76–76  ·  view source on GitHub ↗

* Obtains a completion from the language model for the given prompt. * @param prompt A prompt string or an array of prompt sections. If a string is specified, * it is converted into a single "user" role prompt section.

(prompt: string | PromptSection[])

Source from the content-addressed store, hash-verified

74 * it is converted into a single "user" role prompt section.
75 */
76 complete(prompt: string | PromptSection[]): Promise<Result<string>>;
77}
78
79/**

Callers 5

translateMethod · 0.65
translateFunction · 0.65
model.test.mjsFile · 0.65
llmFilterFunction · 0.65
handleCallFunction · 0.65

Implementers 3

TypeChatLanguageModelpython/src/typechat/_internal/model.py
HttpxLanguageModelpython/src/typechat/_internal/model.py
FixedModelpython/tests/test_translator.py

Calls

no outgoing calls

Tested by

no test coverage detected