langchain_community.agent_toolkits.powerbi.toolkit.PowerBIToolkit¶
class langchain_community.agent_toolkits.powerbi.toolkit.PowerBIToolkit[source]¶
Bases: BaseToolkit
Toolkit for interacting with Power BI dataset.
Security Note: This toolkit interacts with an external service.
Control access to who can use this toolkit.
Make sure that the capabilities given by this toolkit to the calling
code are appropriately scoped to the application.
See https://python.langchain.com/docs/security for more information.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
param callback_manager: Optional[langchain_core.callbacks.base.BaseCallbackManager] = None¶
param examples: Optional[str] = None¶
param llm: Union[langchain_core.language_models.base.BaseLanguageModel, langchain_core.language_models.chat_models.BaseChatModel] [Required]¶
param max_iterations: int = 5¶
param output_token_limit: Optional[int] = None¶
param powerbi: langchain_community.utilities.powerbi.PowerBIDataset [Required]¶
param tiktoken_model_name: Optional[str] = None¶
classmethod construct(_fields_set: Optional[SetStr] = None, **values: Any) → Model¶
Creates a new model setting __dict__ and __fields_set__ from trusted or pre-validated data.
Default values are respected, but no other validation is performed.
Behaves as if Config.extra = ‘allow’ was set since it adds all passed values
copy(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, update: Optional[DictStrAny] = None, deep: bool = False) → Model¶