API reference
ShareGptMessage
One ShareGPT message in a conversation. `from` identifies the role and
ShareGptMessage
Auto-generated from TypeDoc on each build. Edit the JSDoc in packages/sdk/src/ to change this page.
One ShareGPT message in a conversation. from identifies the role and
value carries the textual content. Tool calls live in tool_calls
(assistant-only) and tool results re-enter as from: "tool" entries.
Signature
interface ShareGptMessage { /* ... */ }Kind
interface