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

Interface PromptSection

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

Source from the content-addressed store, hash-verified

6 * the prompt in repair attempts). TypeChat currently doesn't use the "system" role.
7 */
8export interface PromptSection {
9 /**
10 * Specifies the role of this section.
11 */
12 role: "system" | "user" | "assistant";
13 /**
14 * Specifies the content of this section.
15 */
16 content: PromptContent;
17}
18
19export type PromptContent =
20 | string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected