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
Function
get_salary_estimation
Get estimated salaries for a jobs around a location. :param job_title: Job title for which to get salary estimation. :param
bmtools/tools/job_search/api.py:156
Method
get_tables
(self)
bmtools/tools/database/utils/database.py:193
Method
get_tables
(self)
bmtools/tools/db_diag/utils/database.py:216
Function
get_today_date
Get today's date
bmtools/tools/stock/api.py:32
Function
get_tools_list
()
bmtools/tools/serve.py:24
Function
get_translation
(input_text:str or list, tgt_lang:str, max_length:int)
bmtools/tools/translation/nllb/api.py:21
Function
get_translation
(text:str, tgt_lang:str)
bmtools/tools/translation/baidu/api.py:30
Function
get_verbosity
Return the current level for the 🤗 Transformers's root logger as an int. Returns: :obj:`int`: The logging level. <Tip> 🤗 Tran
bmtools/utils/logging.py:117
Function
get_weather_today
Get today's the weather
bmtools/tools/weather/api.py:23
Method
give_str
(self)
bmtools/tools/kg/wikidata/utils.py:286
Method
give_tmp
(self, sparqlIdx=-1)
bmtools/tools/kg/wikidata/utils.py:719
Function
google_places
()
bmtools/tools/google_places/__init__.py:4
Function
google_scholar
()
bmtools/tools/google_scholar/__init__.py:5
Function
google_serper
()
bmtools/tools/google_serper/__init__.py:4
Function
gradio
()
bmtools/tools/gradio_tools/__init__.py:4
Method
head
(self,)
bmtools/tools/kg/wikidata/utils.py:391
Function
health
()
bmtools/tools/serve.py:18
Function
hugging_tools
()
bmtools/tools/hugging_tools/__init__.py:4
Function
image_classification
(model_id: str, image_file_name: str)
bmtools/tools/hugging_tools/api.py:259
Function
image_generation
()
bmtools/tools/image_generation/__init__.py:4
Function
image_segmentation
(model_id: str, image_file_name: str)
bmtools/tools/hugging_tools/api.py:214
Function
image_to_image
(model_id: str, image_file_name: str)
bmtools/tools/hugging_tools/api.py:192
Function
image_to_text
(model_id: str, image_file_name: str)
bmtools/tools/hugging_tools/api.py:265
Function
imagecaption
Creating a caption for an image.
bmtools/tools/gradio_tools/api.py:31
Function
imgprompt
Creating a prompt for StableDiffusion that matches the input image.
bmtools/tools/gradio_tools/api.py:67
Function
imgtomsc
Creating music from images.
bmtools/tools/gradio_tools/api.py:55
Method
input_keys
(self)
bmtools/agent/BabyagiTools.py:175
Function
job_search
()
bmtools/tools/job_search/__init__.py:5
Function
landscapeProducts
This function returns the scenic spot information given a destination. :param (str) destination: string of cityname, destination of a
bmtools/tools/travel/api.py:215
Method
langchain
(self)
bmtools/tools/gradio_tools/tools/gradio_tool.py:115
Function
literature_filter
Check each literatures saved in the literature path according to the questions saved in the question path, and return the literatures that match the
bmtools/tools/meta_analysis/api.py:417
Method
load_page
(self, url : str, max_retry : int = 3)
bmtools/tools/bing_search/test_bing.py:34
Function
load_page_index
Load page detail of the search result indexed as 'idx', and return the content of the page.
bmtools/tools/bing_search/api.py:163
Function
location_suggestions
Search location by name. Args: q (str): Name of the state, county, neighborhood, city, or street. This is a required paramet
bmtools/tools/zillow/api.py:280
Function
lodgingProducts
This function returns the lodging resources near a given location. :param (str) destination: the destination can be a city, address,
bmtools/tools/travel/api.py:94
Method
log_probs
Returns the log probs of the text. Parameters: text: The text to get the log probs of. This can be a string or a list of strings.
bmtools/tools/database/utils/llm.py:42
Method
log_probs
Returns the log probs of the text.
bmtools/tools/database/utils/llm.py:119
Method
log_probs
(self, text, log_prob_range=None)
bmtools/tools/database/utils/llm.py:306
Method
log_probs
Returns the log probs of the text. Parameters: text: The text to get the log probs of. This can be a string or a list of strings.
bmtools/tools/db_diag/utils/llm.py:42
Method
log_probs
Returns the log probs of the text.
bmtools/tools/db_diag/utils/llm.py:119
Method
log_probs
(self, text, log_prob_range=None)
bmtools/tools/db_diag/utils/llm.py:306
Function
lookup
The input is a keyword. This action will look up in the current passage and return the next several sentences containing the keyword in current passag
bmtools/tools/wikipedia/api.py:98
Function
memory_diagnosis_agent
(start_time : int, end_time : int)
bmtools/tools/db_diag/api.py:243
Function
meta_analysis
()
bmtools/tools/meta_analysis/__init__.py:4
Function
model_docs
returns a document about the usage, examples, and available models of existing API. Every time before you use the API, you should get the d
bmtools/tools/hugging_tools/api.py:318
Function
model_from_config
Returns a model based on the config.
bmtools/tools/database/utils/llm.py:18
Function
model_from_config
Returns a model based on the config.
bmtools/tools/db_diag/utils/llm.py:18
Function
now_playing_out_filter
NowPlayingOutFilter(args: str) prints the details of the filtered [outNum] playing films now according to region, scoreSort args is a list
bmtools/tools/film/douban/api.py:202
Function
object_detection
(model_id: str, image_file_name: str)
bmtools/tools/hugging_tools/api.py:237
Function
obtain_start_and_end_time_of_anomaly
()
bmtools/tools/db_diag/api.py:118
Function
office_ppt
()
bmtools/tools/office/__init__.py:4
Function
original_func
(*args, **kwargs)
bmtools/tools/hugging_tools/api.py:132
Method
output_keys
(self)
bmtools/agent/BabyagiTools.py:179
Method
pgsql_actual_time
(self, sql)
bmtools/tools/database/utils/database.py:155
Method
pgsql_actual_time
(self, sql)
bmtools/tools/db_diag/utils/database.py:178
Method
pgsql_query_plan
(self, sql)
bmtools/tools/db_diag/utils/database.py:150
Method
pgsql_results
(self, sql)
bmtools/tools/db_diag/utils/database.py:137
Method
postprocess
(self, output: Union[Tuple[Any], Any])
bmtools/tools/gradio_tools/tools/image_to_music.py:31
Method
postprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/sam_with_clip.py:48
Method
postprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/text_to_video.py:30
Method
postprocess
(self, output: Tuple[Any] | Any)
bmtools/tools/gradio_tools/tools/stable_diffusion.py:34
Method
postprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/document_qa.py:29
Method
postprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/clip_interrogator.py:31
Method
postprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/bark.py:80
Method
postprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/whisper.py:31
Method
postprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/prompt_generator.py:27
Method
postprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/image_captioning.py:33
Function
preprocess_execute_sql
(sql)
bmtools/tools/database/utils/db_utils.py:25
Function
preprocess_execute_sql
(sql)
bmtools/tools/db_diag/utils/db_utils.py:25
Function
print_detail
parsing_detail_page(args) prints the details of a movie, giving its name. args is a list like 'str1' str1 is target movie's na
bmtools/tools/film/douban/api.py:260
Function
print_literature
given the literature path and number that are required to display, this tool returns the title and abstract of the literature.
bmtools/tools/meta_analysis/api.py:509
Function
print_tablefile
given the table file path that are required to display, this tool reads the file and returns the string of the table.
bmtools/tools/meta_analysis/api.py:531
Function
promptgenerator
Generating a prompt for stable diffusion and other image and video generators based on text input.
bmtools/tools/gradio_tools/api.py:37
Function
property_by_coordinates
Search property by coordinates. Args: long (float): Longitude of the property. This is a required parameter. lat (fl
bmtools/tools/zillow/api.py:231
Function
property_by_coordinates
Search property by coordinates. Args: long (float): Longitude of the property. This is a required parameter. lat (fl
bmtools/tools/airbnb/api.py:186
Function
property_by_mls
Search property by MLS #. Args: mls (str): MLS # of the property. This is a required parameter. Returns: A
bmtools/tools/zillow/api.py:260
Function
python
()
bmtools/tools/python/__init__.py:4
Function
qa
Answering questions from the image of the document.
bmtools/tools/gradio_tools/api.py:25
Function
question_answering
(model_id: str, question: str, context: str)
bmtools/tools/hugging_tools/api.py:138
Function
read_file
read file from disk
bmtools/tools/file_operation/api.py:32
Function
register
(tool_name)
bmtools/tools/registry.py:27
Function
register_database_tool
()
bmtools/tools/database/__init__.py:4
Function
register_db_diag_tool
()
bmtools/tools/db_diag/__init__.py:4
Function
remove_handler
removes given handler from the HuggingFace Transformers's root logger.
bmtools/utils/logging.py:199
Function
remove_table
(sql)
bmtools/tools/database/utils/db_utils.py:10
Function
remove_table
(sql)
bmtools/tools/db_diag/utils/db_utils.py:10
Function
rent_estimate
Estimate rent for a property. Args: propertyType (str): Type of the property. This is a required parameter. Options are 'Sin
bmtools/tools/zillow/api.py:165
Function
reset_format
Resets the formatting for HuggingFace Transformers's loggers. All handlers currently bound to the root logger are affected by this method.
bmtools/utils/logging.py:242
Method
reset_session
(self)
bmtools/tools/code_interpreter/api.py:23
Function
retrieve
(tools_search)
web_demo.py:114
Function
retrieve
(request: RetrieveRequest)
bmtools/tools/serve.py:57
Function
rewrite_sql
Rewrite the input sql query
bmtools/tools/database/api.py:135
Function
run_python
Run python code in a REPL.
bmtools/tools/python/api.py:52
Function
runtime_update_docstring
This is a decorator that can help update the docstring at runtime
bmtools/tools/office/ppt/api.py:41
Function
sceneXplain
()
bmtools/tools/sceneXplain/__init__.py:4
Function
search
The input is an exact entity name. The action will search this entity name on Wikipedia and returns the first five sentences if it exists. If not, it
bmtools/tools/wikipedia/api.py:70
Method
search
(self, key_words : str, max_retry : int = 3)
bmtools/tools/bing_search/test_bing.py:31
Function
search_author
Search for an author using the Google Scholar Author API. :param author_id: Required. The ID of an author. :param hl: Optiona
bmtools/tools/google_scholar/api.py:86
Function
search_by_code
After knowing the unique id of entity or relation, perform a sparql query. E.g., Select ?music\nWhere {{\nwd:Q00 wdt:P00 ?music.\n}} The enti
bmtools/tools/kg/wikidata/api.py:194
Function
search_destination
This function performs a destination search given a query and optionally a country. And return positions 'ID' information. Parameter
bmtools/tools/airbnb/api.py:166
← previous
next →
501–600 of 673, ranked by callers