Create Empty Transcript • AI Agent SDK

create_empty_transcript: Create an empty transcript window with optional system prompt.

create_empty_transcript

Function

</div>

This function is defined in the turn_context module.

Create an empty transcript window with optional system prompt.

Signature

python
def create_empty_transcript(system_prompt: Optional[str]) -> TranscriptWindow

Parameters

ParamField Optional[str]

No description available.

Returns

ResponseField TranscriptWindow

The result of the operation.

Uses

  • TranscriptWindow

Source

View on GitHub

praisonaiagents/runtime/turn_context.py at line 284