1.5 KiB
1.5 KiB
-
Added additional functionality related to "thinking", for Google and Anthropic LLMs.
- New typed parameters for Google and Anthropic LLMs that control the
models' thinking behavior (like how much thinking to do, and whether to
output thoughts or thought summaries):
AnthropicLLMService.ThinkingConfigGoogleLLMService.ThinkingConfig
- New frames for representing thoughts output by LLMs:
LLMThoughtStartFrameLLMThoughtTextFrameLLMThoughtEndFrame
- A generic mechanism for recording LLM thoughts to context, used
specifically to support Anthropic, whose thought signatures are expected to
appear alongside the text of the thoughts within assistant context
messages. See:
LLMThoughtEndFrame.signatureLLMAssistantAggregatorhandling of the above fieldAnthropicLLMAdapterhandling of"thought"context messages
- Google-specific logic for inserting thought signatures into the context,
to help maintain thinking continuity in a chain of LLM calls. See:
GoogleLLMServicesendingLLMMessagesAppendFrames to add LLM-specific"thought_signature"messages to contextGeminiLLMAdapterhandling of"thought_signature"messages
- An expansion of
TranscriptProcessorto process LLM thoughts in addition to user and assistant utterances. See:TranscriptProcessor(process_thoughts=True)(defaults toFalse)ThoughtTranscriptionMessage, which is now also emitted with the"on_transcript_update"event
- New typed parameters for Google and Anthropic LLMs that control the
models' thinking behavior (like how much thinking to do, and whether to
output thoughts or thought summaries):