@sqlrooms/ai / SessionType
Type Alias: SessionType
SessionType =
object
Represents a session in the AI system.
Example
typescript
const session: SessionType = {
id: "session_123",
name: "My Analysis Session",
modelProvider: "openai",
model: "gpt-4o-mini"
};Properties
id
id:
string
Unique identifier for the session
name
name:
string
Display name of the session
modelProvider?
optionalmodelProvider:string
Provider of the AI model (e.g., "openai")
model?
optionalmodel:string
Name of the AI model being used (e.g., "gpt-4o-mini")
