MCPcopy 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

toPersistedFunction · 0.85
ofMethod · 0.65
pipeMethod · 0.65
getMethod · 0.65
makeMethod · 0.65
setMethod · 0.65
withPermitsMethod · 0.65
takeMethod · 0.65
releaseMethod · 0.65
makeUnsafeFunction · 0.50
failMethod · 0.45
fromSchemaErrorMethod · 0.45

Tested by

no test coverage detected