Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
fromMessages
Function · 0.85
makeMessage
Function · 0.85
push
Method · 0.80
makePart
Function · 0.70
isPrompt
Function · 0.70
makePrompt
Function · 0.70
make
Function · 0.70
pipe
Method · 0.65
annotate
Method · 0.65
transform
Method · 0.65
of
Method · 0.65
succeed
Method · 0.45
Tested by
no test coverage detected