GatedOpenaiLlmContext
- class pipecat.processors.aggregators.gated_openai_llm_context.GatedOpenAILLMContextAggregator(*, notifier, start_open=False, **kwargs)[source]
Bases:
FrameProcessor
This aggregator keeps the last received OpenAI LLM context frame and it doesn’t let it through until the notifier is notified.
- Parameters:
notifier (BaseNotifier)
start_open (bool)
- async process_frame(frame, direction)[source]
- Parameters:
frame (Frame)
direction (FrameDirection)