create_pbi_chat_agent(
llm: BaseChatModel,
toolkit: Optional[PowerBIToolkit] = None,| Name | Type | Description |
|---|---|---|
llm* | BaseChatModel | The language model to use. |
toolkit | Optional[PowerBIToolkit] | Default: NoneOptional. The Power BI toolkit. Default is None. |
powerbi | Optional[PowerBIDataset] | Default: None |
callback_manager | Optional[BaseCallbackManager] | Default: None |
output_parser | Optional[AgentOutputParser] | Default: None |
prefix | str | Default: POWERBI_CHAT_PREFIX |
suffix | str | Default: POWERBI_CHAT_SUFFIX |
examples | Optional[str] | Default: None |
input_variables | Optional[List[str]] | Default: None |
memory | Optional[BaseChatMemory] | Default: None |
top_k | int | Default: 10 |
verbose | bool | Default: False |
agent_executor_kwargs | Optional[Dict[str, Any]] | Default: None |
kwargs | Any | Default: {} |
Construct a Power BI agent from a Chat LLM and tools.
If you supply only a toolkit and no Power BI dataset, the same LLM is used for both.
Optional. The Power BI dataset. Default is None.
Optional. The callback manager. Default is None.
Optional. The output parser. Default is None.
Optional. The prefix for the prompt. Default is POWERBI_CHAT_PREFIX.
Optional. The suffix for the prompt. Default is POWERBI_CHAT_SUFFIX.
Optional. The examples for the prompt. Default is None.
Optional. The input variables for the prompt. Default is None.
Optional. The memory. Default is None.
Optional. The top k for the prompt. Default is 10.
Optional. Whether to print verbose output. Default is False.
Optional. The agent executor kwargs. Default is None.
Any. Additional keyword arguments.