Skip to content

Multi modal

Bases: QueryComponent

基础LLM组件。

Source code in llama_index/core/multi_modal_llms/base.py
162
163
164
165
166
167
168
169
170
171
172
class BaseMultiModalComponent(QueryComponent):
    """基础LLM组件。"""

    multi_modal_llm: MultiModalLLM = Field(..., description="LLM")
    streaming: bool = Field(default=False, description="Streaming mode")

    class Config:
        arbitrary_types_allowed = True

    def set_callback_manager(self, callback_manager: Any) -> None:
        """设置回调管理器。"""

set_callback_manager #

set_callback_manager(callback_manager: Any) -> None

设置回调管理器。

Source code in llama_index/core/multi_modal_llms/base.py
171
172
def set_callback_manager(self, callback_manager: Any) -> None:
    """设置回调管理器。"""