mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-11 07:50:47 +00:00
community: toolkits
docstrings (#23286)
Added missed docstrings. Formatted docstrings to the consistent form. --------- Co-authored-by: ccurme <chester.curme@gmail.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"""Toolkit for interacting with a Power BI dataset."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING, List, Optional, Union
|
||||
@@ -43,6 +44,15 @@ class PowerBIToolkit(BaseToolkit):
|
||||
code are appropriately scoped to the application.
|
||||
|
||||
See https://python.langchain.com/docs/security for more information.
|
||||
|
||||
Parameters:
|
||||
powerbi: The Power BI dataset.
|
||||
llm: The language model to use.
|
||||
examples: Optional. The examples for the prompt. Default is None.
|
||||
max_iterations: Optional. The maximum iterations to run. Default is 5.
|
||||
callback_manager: Optional. The callback manager. Default is None.
|
||||
output_token_limit: Optional. The output token limit. Default is None.
|
||||
tiktoken_model_name: Optional. The TikToken model name. Default is None.
|
||||
"""
|
||||
|
||||
powerbi: PowerBIDataset = Field(exclude=True)
|
||||
|
Reference in New Issue
Block a user