Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBMB/BMTools
/ functions
Functions
673 in github.com/OpenBMB/BMTools
⨍
Functions
673
◇
Types & classes
87
↳
Endpoints
114
Method
compute_table_schema
schema: {table_name: [field_name]} :param cursor: :return:
bmtools/tools/db_diag/utils/database.py:229
Function
conversational
(model_id: str, text: str, past_user_inputs: str, generated_responses: str)
bmtools/tools/hugging_tools/api.py:166
Method
convert_openapi_to_params
(request_body)
bmtools/agent/apitool.py:86
Method
cost_estimation
(self, sql)
bmtools/tools/database/utils/database.py:200
Method
cost_estimation
(self, sql)
bmtools/tools/db_diag/utils/database.py:223
Function
cpu_diagnosis_agent
(start_time : int, end_time : int)
bmtools/tools/db_diag/api.py:191
Function
create_file
create_file(theme:str) -> None Create a pptx file with specific themes. Available themes: <update at runtime>
bmtools/tools/office/ppt/api.py:59
Method
create_job
(self, query: str)
bmtools/tools/gradio_tools/tools/image_to_music.py:26
Method
create_job
(self, query: str)
bmtools/tools/gradio_tools/tools/sam_with_clip.py:37
Method
create_job
(self, query: str)
bmtools/tools/gradio_tools/tools/text_to_video.py:27
Method
create_job
(self, query: str)
bmtools/tools/gradio_tools/tools/stable_diffusion.py:31
Method
create_job
(self, query: str)
bmtools/tools/gradio_tools/tools/document_qa.py:25
Method
create_job
(self, query: str)
bmtools/tools/gradio_tools/tools/clip_interrogator.py:26
Method
create_job
(self, query: str)
bmtools/tools/gradio_tools/tools/bark.py:64
Method
create_job
(self, query: str)
bmtools/tools/gradio_tools/tools/whisper.py:28
Method
create_job
(self, query: str)
bmtools/tools/gradio_tools/tools/prompt_generator.py:24
Method
create_job
(self, query: str)
bmtools/tools/gradio_tools/tools/image_captioning.py:30
Function
create_split
Split data into two parts. Data is in the form of a tuple of lists.
bmtools/tools/database/utils/data.py:16
Function
create_split
Split data into two parts. Data is in the form of a tuple of lists.
bmtools/tools/db_diag/utils/data.py:16
Function
decorator
(tool : FuncToolBuilder)
bmtools/tools/registry.py:28
Function
decorator
(func: callable)
bmtools/tools/office/ppt/api.py:44
Function
describe_image
Get the text description of an image.
bmtools/tools/sceneXplain/api.py:29
Function
disable_default_handler
Disable the default handler of the HuggingFace Transformers's root logger.
bmtools/utils/logging.py:172
Function
disable_propagation
Disable propagation of the library log outputs. Note that log propagation is disabled by default.
bmtools/utils/logging.py:208
Function
disambiguation
The input is an entity name. This action will disambiguate this entity name to find other entities with similar names in Wikipedia.
bmtools/tools/wikipedia/api.py:123
Function
document_question_answering
(model_id: str, image_file_name: str, text: str)
bmtools/tools/hugging_tools/api.py:186
Function
douban_film
()
bmtools/tools/film/__init__.py:4
Function
draw_table
extract the important elements of the literatures recorded in the literature path and return the path of table records. concatenate the literature pat
bmtools/tools/meta_analysis/api.py:456
Method
drop_simulated_index
(self, oid)
bmtools/tools/database/utils/database.py:264
Method
drop_simulated_index
(self, oid)
bmtools/tools/db_diag/utils/database.py:287
Function
enable_default_handler
Enable the default handler of the HuggingFace Transformers's root logger.
bmtools/utils/logging.py:181
Function
enable_explicit_format
Enable explicit formatting for every HuggingFace Transformers's logger. The explicit formatter is as follows: ``` [LEVELNAME|FILENAME
bmtools/utils/logging.py:227
Function
enable_propagation
Enable propagation of the library log outputs. Please disable the HuggingFace Transformers's default handler to prevent double logging if the
bmtools/utils/logging.py:217
Function
execute_python_code
execute Python expressions with Python Interpreter, can be used as a simple calculator e.g., "(123 + 234) / 23 * 19"
bmtools/tools/code_interpreter/api.py:42
Function
file_operation
()
bmtools/tools/file_operation/__init__.py:5
Function
find_abnormal_metrics
(start_time, end_time, monitoring_metrics, resource)
bmtools/tools/db_diag/api.py:48
Function
find_entity
Find all <r, t> that has the relation <input, r, t>. It looks like viewing the main page of the input entity. The result is a table.
bmtools/tools/kg/wikidata/api.py:20
Method
find_entity_by_relation
(self, ent1)
bmtools/tools/kg/wikidata/utils.py:550
Function
find_entity_by_tail
Find all <h, r> that has the relation <h, r, input>. It looks like viewing the reverse main page of the input entity. The result is a table.
bmtools/tools/kg/wikidata/api.py:85
Method
find_tuple
(self, tup)
bmtools/tools/kg/wikidata/utils.py:397
Function
flightProducts
This function returns the flight information between two cities. :param origin: (str) city name, origin of departure :param d
bmtools/tools/travel/api.py:146
Function
forecast_weather
Forecast weather in the upcoming days.
bmtools/tools/weather/api.py:52
Function
format_docs
(str)
bmtools/tools/hugging_tools/api.py:128
Method
format_messages
(self, **kwargs: Any)
bmtools/agent/autogptmulti/prompt.py:41
Method
format_messages
(self, **kwargs: Any)
bmtools/agent/autogpt/prompt.py:39
Method
from_llm
Get the response parser.
bmtools/agent/BabyagiTools.py:43
Method
from_llm
Get the response parser.
bmtools/agent/BabyagiTools.py:68
Method
from_llm
Get the response parser.
bmtools/agent/BabyagiTools.py:83
Method
from_llm_and_tools
( cls, ai_name: str, ai_role: str, memory: VectorStoreRetriever, tools
bmtools/agent/autogptmulti/agent.py:52
Function
generate_image
Generate an image.
bmtools/tools/image_generation/api.py:107
Function
generate_summary
given the exploring topic and the record table path of the literatures, this tool generates a paragraph of summary.
bmtools/tools/meta_analysis/api.py:496
Method
generate_text
Generates text from the model. Parameters: prompt: The prompt to use. This can be a string or a list of strings. Returns:
bmtools/tools/database/utils/llm.py:32
Method
generate_text
(self, prompt, n)
bmtools/tools/database/utils/llm.py:84
Method
generate_text
(self, prompt, n)
bmtools/tools/database/utils/llm.py:288
Method
generate_text
Generates text from the model. Parameters: prompt: The prompt to use. This can be a string or a list of strings. Returns:
bmtools/tools/db_diag/utils/llm.py:32
Method
generate_text
(self, prompt, n)
bmtools/tools/db_diag/utils/llm.py:84
Method
generate_text
(self, prompt, n)
bmtools/tools/db_diag/utils/llm.py:288
Method
getCount
(self)
bmtools/tools/kg/wikidata/utils.py:336
Function
getWolframAlphaResults
Get Wolfram|Alpha results using natural query. Queries to getWolframAlphaResults must ALWAYS have this structure: {\"input\": query}. And please direc
bmtools/tools/wolframalpha/api.py:24
Function
get_address_by_coordinates
该函数仅适用于中国境内地图(内陆),this function only suitable for locations in Mainland China 根据经纬度获取地点名称 :param lat: 纬度 :param lng:
bmtools/tools/map/baidu_map/baidu_api.py:165
Function
get_allname
prints all the possible synonyms (might be too many, use this function carefully).
bmtools/tools/chemical/prop/api.py:93
Function
get_api_info
()
bmtools/tools/serve.py:36
Method
get_api_info
(request : fastapi.Request)
bmtools/tools/tool.py:88
Function
get_arxiv_article_information
Run Arxiv search and get the article meta information.
bmtools/tools/arxiv/api.py:30
Method
get_cid_by_name
(self, name : str, name_type : Optional[str] = None)
bmtools/tools/chemical/prop/test_prop.py:19
Method
get_cid_by_struct
(self, smiles : str)
bmtools/tools/chemical/prop/test_prop.py:16
Function
get_citation
Function to get citation results from the Google Scholar organic results using the Google Scholar Cite API. Parameters: q (s
bmtools/tools/google_scholar/api.py:135
Method
get_coming
(self)
bmtools/tools/film/douban/test_douban.py:10
Function
get_daily_prices
Get the stock price of an entity in the stock market. Date should be pass as 'yyyy-mm-dd'.
bmtools/tools/stock/api.py:47
Function
get_database_schema
(db_name : str='tpch10x')
bmtools/tools/database/api.py:43
Function
get_distance
Get the distance between two locations in miles
bmtools/tools/map/bing_map/api.py:22
Function
get_distance
该函数仅适用于中国境内地图(内陆),this function only suitable for locations in Mainland China 查询两地之间的距离 :param origin: 起点地址 :param de
bmtools/tools/map/baidu_map/baidu_api.py:199
Function
get_entity_details
(url: str)
bmtools/tools/kg/wikidata/utils.py:148
Function
get_entity_id
Search for all the entities that has the surface form as the input. For example, all the entities that are named ``Obama'', including either person, b
bmtools/tools/kg/wikidata/api.py:141
Function
get_exchange_rate
This API returns the realtime exchange rate for a pair of digital currency (e.g., Bitcoin) and physical currency (e.g., USD).
bmtools/tools/stock/api.py:93
Method
get_full_inputs
Create the full inputs for the LLMChain from intermediate steps.
bmtools/agent/BabyagiTools.py:19
Function
get_id
prints the ID of the queried compound name, and prints the possible 5 names if the queried name can not been precisely matched,
bmtools/tools/chemical/prop/api.py:117
Function
get_id_by_struct
prints the ID of the queried compound SMILES. This should only be used if smiles is provided or retrieved in the previous step. The input should not b
bmtools/tools/chemical/prop/api.py:102
Function
get_image
get_image(keywords:str) -> str Get an image given comma separated keywords, return the image path.
bmtools/tools/office/ppt/api.py:67
Function
get_job_details
You can get the job_ids from 'basic_job_search' function Get all job details, including additional application options / links, emplo
bmtools/tools/job_search/api.py:132
Function
get_loaded_tools
()
bmtools/tools/serve.py:30
Function
get_location
该函数仅适用于中国境内地图(内陆),this function only suitable for locations in Mainland China 根据地址获取地点经纬度, return the coordinates :param addr
bmtools/tools/map/baidu_map/baidu_api.py:155
Function
get_log_levels_dict
()
bmtools/utils/logging.py:112
Function
get_model_status
(model_id, url, headers)
bmtools/tools/hugging_tools/api.py:77
Method
get_movie_detail
(self, url : str)
bmtools/tools/film/douban/test_douban.py:24
Method
get_name_by_cid
(self, cid : str, top_k : Optional[int] = None)
bmtools/tools/chemical/prop/test_prop.py:10
Function
get_nearby_places
该函数仅适用于中国境内地图(内陆),this function only suitable for locations in Mainland China 查询某位置附近的地点 :param location: 地点的经纬度 (纬度, 经度)
bmtools/tools/map/baidu_map/baidu_api.py:176
Method
get_now_playing
(self)
bmtools/tools/film/douban/test_douban.py:17
Function
get_open_info
get information about if the market in the region is open
bmtools/tools/stock/api.py:81
Function
get_parser
()
bmtools/tools/database/utils/db_parser.py:12
Function
get_parser
()
bmtools/tools/db_diag/utils/db_parser.py:12
Function
get_profile
The getProfile function is used to scrape profile results from the Google Scholar Profiles search page. Args: mauthors (
bmtools/tools/google_scholar/api.py:171
Function
get_prop
prints the properties of the queried compound ID
bmtools/tools/chemical/prop/api.py:146
Method
get_prop_by_cid
(self, cid : str)
bmtools/tools/chemical/prop/test_prop.py:22
Function
get_property_checkout_price
This function retrieves the checkout cost of a property given its ID and check-in date. Parameters: propertyId (int): The ID
bmtools/tools/airbnb/api.py:287
Function
get_property_details
This function retrieves the details of a property given its ID. Parameters: propertyId (int): The ID of the property.
bmtools/tools/airbnb/api.py:215
Function
get_property_reviews
This function retrieves the reviews of a property given its ID. Parameters: propertyId (int): The ID of the property.
bmtools/tools/airbnb/api.py:270
Function
get_relation_id
Search for all the relations that has the surface form as the input. For example, all the relations that are named ``tax''.
bmtools/tools/kg/wikidata/api.py:168
Function
get_route
Get the route between two locations in miles
bmtools/tools/map/bing_map/api.py:36
Function
get_route
该函数仅适用于中国境内地图(内陆),this function only suitable for locations in Mainland China 查询两地之间的路线 :param origin: 起点地址 :param de
bmtools/tools/map/baidu_map/baidu_api.py:188
← previous
next →
401–500 of 673, ranked by callers