MCPcopy Create free account

hub / github.com/OpenBMB/BMTools / functions

Functions673 in github.com/OpenBMB/BMTools

Functionget_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
Methodget_tables
(self)
bmtools/tools/database/utils/database.py:193
Methodget_tables
(self)
bmtools/tools/db_diag/utils/database.py:216
Functionget_today_date
Get today's date
bmtools/tools/stock/api.py:32
Functionget_tools_list
()
bmtools/tools/serve.py:24
Functionget_translation
(input_text:str or list, tgt_lang:str, max_length:int)
bmtools/tools/translation/nllb/api.py:21
Functionget_translation
(text:str, tgt_lang:str)
bmtools/tools/translation/baidu/api.py:30
Functionget_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
Functionget_weather_today
Get today's the weather
bmtools/tools/weather/api.py:23
Methodgive_str
(self)
bmtools/tools/kg/wikidata/utils.py:286
Methodgive_tmp
(self, sparqlIdx=-1)
bmtools/tools/kg/wikidata/utils.py:719
Functiongoogle_places
()
bmtools/tools/google_places/__init__.py:4
Functiongoogle_scholar
()
bmtools/tools/google_scholar/__init__.py:5
Functiongoogle_serper
()
bmtools/tools/google_serper/__init__.py:4
Functiongradio
()
bmtools/tools/gradio_tools/__init__.py:4
Methodhead
(self,)
bmtools/tools/kg/wikidata/utils.py:391
Functionhealth
()
bmtools/tools/serve.py:18
Functionhugging_tools
()
bmtools/tools/hugging_tools/__init__.py:4
Functionimage_classification
(model_id: str, image_file_name: str)
bmtools/tools/hugging_tools/api.py:259
Functionimage_generation
()
bmtools/tools/image_generation/__init__.py:4
Functionimage_segmentation
(model_id: str, image_file_name: str)
bmtools/tools/hugging_tools/api.py:214
Functionimage_to_image
(model_id: str, image_file_name: str)
bmtools/tools/hugging_tools/api.py:192
Functionimage_to_text
(model_id: str, image_file_name: str)
bmtools/tools/hugging_tools/api.py:265
Functionimagecaption
Creating a caption for an image.
bmtools/tools/gradio_tools/api.py:31
Functionimgprompt
Creating a prompt for StableDiffusion that matches the input image.
bmtools/tools/gradio_tools/api.py:67
Functionimgtomsc
Creating music from images.
bmtools/tools/gradio_tools/api.py:55
Methodinput_keys
(self)
bmtools/agent/BabyagiTools.py:175
Functionjob_search
()
bmtools/tools/job_search/__init__.py:5
FunctionlandscapeProducts
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
Methodlangchain
(self)
bmtools/tools/gradio_tools/tools/gradio_tool.py:115
Functionliterature_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
Methodload_page
(self, url : str, max_retry : int = 3)
bmtools/tools/bing_search/test_bing.py:34
Functionload_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
Functionlocation_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
FunctionlodgingProducts
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
Methodlog_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
Methodlog_probs
Returns the log probs of the text.
bmtools/tools/database/utils/llm.py:119
Methodlog_probs
(self, text, log_prob_range=None)
bmtools/tools/database/utils/llm.py:306
Methodlog_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
Methodlog_probs
Returns the log probs of the text.
bmtools/tools/db_diag/utils/llm.py:119
Methodlog_probs
(self, text, log_prob_range=None)
bmtools/tools/db_diag/utils/llm.py:306
Functionlookup
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
Functionmemory_diagnosis_agent
(start_time : int, end_time : int)
bmtools/tools/db_diag/api.py:243
Functionmeta_analysis
()
bmtools/tools/meta_analysis/__init__.py:4
Functionmodel_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
Functionmodel_from_config
Returns a model based on the config.
bmtools/tools/database/utils/llm.py:18
Functionmodel_from_config
Returns a model based on the config.
bmtools/tools/db_diag/utils/llm.py:18
Functionnow_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
Functionobject_detection
(model_id: str, image_file_name: str)
bmtools/tools/hugging_tools/api.py:237
Functionobtain_start_and_end_time_of_anomaly
()
bmtools/tools/db_diag/api.py:118
Functionoffice_ppt
()
bmtools/tools/office/__init__.py:4
Functionoriginal_func
(*args, **kwargs)
bmtools/tools/hugging_tools/api.py:132
Methodoutput_keys
(self)
bmtools/agent/BabyagiTools.py:179
Methodpgsql_actual_time
(self, sql)
bmtools/tools/database/utils/database.py:155
Methodpgsql_actual_time
(self, sql)
bmtools/tools/db_diag/utils/database.py:178
Methodpgsql_query_plan
(self, sql)
bmtools/tools/db_diag/utils/database.py:150
Methodpgsql_results
(self, sql)
bmtools/tools/db_diag/utils/database.py:137
Methodpostprocess
(self, output: Union[Tuple[Any], Any])
bmtools/tools/gradio_tools/tools/image_to_music.py:31
Methodpostprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/sam_with_clip.py:48
Methodpostprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/text_to_video.py:30
Methodpostprocess
(self, output: Tuple[Any] | Any)
bmtools/tools/gradio_tools/tools/stable_diffusion.py:34
Methodpostprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/document_qa.py:29
Methodpostprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/clip_interrogator.py:31
Methodpostprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/bark.py:80
Methodpostprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/whisper.py:31
Methodpostprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/prompt_generator.py:27
Methodpostprocess
(self, output: str)
bmtools/tools/gradio_tools/tools/image_captioning.py:33
Functionpreprocess_execute_sql
(sql)
bmtools/tools/database/utils/db_utils.py:25
Functionpreprocess_execute_sql
(sql)
bmtools/tools/db_diag/utils/db_utils.py:25
Functionprint_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
Functionprint_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
Functionprint_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
Functionpromptgenerator
Generating a prompt for stable diffusion and other image and video generators based on text input.
bmtools/tools/gradio_tools/api.py:37
Functionproperty_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
Functionproperty_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
Functionproperty_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
Functionpython
()
bmtools/tools/python/__init__.py:4
Functionqa
Answering questions from the image of the document.
bmtools/tools/gradio_tools/api.py:25
Functionquestion_answering
(model_id: str, question: str, context: str)
bmtools/tools/hugging_tools/api.py:138
Functionread_file
read file from disk
bmtools/tools/file_operation/api.py:32
Functionregister
(tool_name)
bmtools/tools/registry.py:27
Functionregister_database_tool
()
bmtools/tools/database/__init__.py:4
Functionregister_db_diag_tool
()
bmtools/tools/db_diag/__init__.py:4
Functionremove_handler
removes given handler from the HuggingFace Transformers's root logger.
bmtools/utils/logging.py:199
Functionremove_table
(sql)
bmtools/tools/database/utils/db_utils.py:10
Functionremove_table
(sql)
bmtools/tools/db_diag/utils/db_utils.py:10
Functionrent_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
Functionreset_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
Methodreset_session
(self)
bmtools/tools/code_interpreter/api.py:23
Functionretrieve
(tools_search)
web_demo.py:114
Functionretrieve
(request: RetrieveRequest)
bmtools/tools/serve.py:57
Functionrewrite_sql
Rewrite the input sql query
bmtools/tools/database/api.py:135
Functionrun_python
Run python code in a REPL.
bmtools/tools/python/api.py:52
Functionruntime_update_docstring
This is a decorator that can help update the docstring at runtime
bmtools/tools/office/ppt/api.py:41
FunctionsceneXplain
()
bmtools/tools/sceneXplain/__init__.py:4
Functionsearch
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
Methodsearch
(self, key_words : str, max_retry : int = 3)
bmtools/tools/bing_search/test_bing.py:31
Functionsearch_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
Functionsearch_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
Functionsearch_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
← previousnext →501–600 of 673, ranked by callers