Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ Chat.ts
File
Chat.ts
packages/effect/src/unstable/ai/Chat.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Stateful conversation sessions on top of a language model.
3
*
4
* A `Chat` keeps `Prompt` history in a `Ref` and reuses it
for
text generation,
Callers
nothing calls this directly
Calls
14
toPersisted
Function · 0.85
of
Method · 0.65
pipe
Method · 0.65
get
Method · 0.65
make
Method · 0.65
set
Method · 0.65
withPermits
Method · 0.65
take
Method · 0.65
release
Method · 0.65
makeUnsafe
Function · 0.50
fail
Method · 0.45
fromSchemaError
Method · 0.45
Tested by
no test coverage detected