Learn R Programming

aisdk (version 1.1.0)

get_or_create_session: Get or Create Session

Description

Retrieves the current chat session from the cache, or creates a new one. Sessions persist across chunks within a single knit process.

Usage

get_or_create_session(options)

Value

A ChatSession object.

Arguments

options

Chunk options containing potential model specification.