MCPcopy Create free account
hub / github.com/Effect-TS/effect / Prompt.ts

File Prompt.ts

packages/effect/src/unstable/ai/Prompt.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Defines prompts sent to AI language models.
3 *
4 * A prompt is an ordered list of messages. Messages can use roles such as

Callers

nothing calls this directly

Calls 12

fromMessagesFunction · 0.85
makeMessageFunction · 0.85
pushMethod · 0.80
makePartFunction · 0.70
isPromptFunction · 0.70
makePromptFunction · 0.70
makeFunction · 0.70
pipeMethod · 0.65
annotateMethod · 0.65
transformMethod · 0.65
ofMethod · 0.65
succeedMethod · 0.45

Tested by

no test coverage detected