MCPcopy Create free account

hub / github.com/HewlettPackard/llmesh / functions

Functions1,350 in github.com/HewlettPackard/llmesh

↓ 1 callersMethod_process_documents
Process a list of Document objects and convert them to BaseMessage objects. :param result: List of Document objects. :return
src/lib/services/chat/memories/langchain/chroma_store_retriever.py:61
↓ 1 callersMethod_process_images
(self, pdf_document, document_name: str)
src/lib/services/rag/data_extractors/pymupdf/sections.py:262
↓ 1 callersMethod_process_lines
(self, lines: list, page_num: int, document_name: str)
src/lib/services/rag/data_extractors/pymupdf/sections.py:135
↓ 1 callersMethod_process_results
(self, results: List[ScoredPoint])
src/lib/services/rag/data_retrievers/qdrant/sentences.py:161
↓ 1 callersMethod_process_results
(self, results)
src/lib/services/rag/data_retrievers/chroma/sentences.py:160
↓ 1 callersMethod_process_results
(self, results: Dict)
src/lib/services/rag/data_retrievers/milvus/sentences.py:97
↓ 1 callersMethod_process_table_item
(self, table_state: dict, item: dict)
src/lib/services/rag/data_extractors/pymupdf/sections.py:223
↓ 1 callersMethod_process_vector_graphics
(self, pdf_document, document_name: str)
src/lib/services/rag/data_extractors/pymupdf/sections.py:293
↓ 1 callersFunction_read_file
(file_path)
notebooks/meta_prompting/utils.py:151
↓ 1 callersFunction_remove_delimiters
Remove specified delimiters from the content. :param content: Content from which to remove delimiters. :param delimiters: List of delimi
src/lib/services/rag/data_transformers/transform/llm.py:137
↓ 1 callersFunction_remove_tags
(text)
src/platform/app_memory/main.py:235
↓ 1 callersMethod_replace_placeholder
Replace a single placeholder with its corresponding value. :param value: The string containing the placeholder. :return: The
src/lib/core/config.py:95
↓ 1 callersMethod_replace_references
(self)
src/platform/tool_agents/openapi_tool.py:81
↓ 1 callersFunction_rerank_answers
(query, elements, rerank, max_chunks=SUMMARY_CHUNKS)
src/platform/rag/main.py:128
↓ 1 callersFunction_reset_games
()
src/platform/app_games/main.py:65
↓ 1 callersMethod_resolve_nested_values
Recursively resolve values in nested dictionaries or lists. :param value: The original value. :return: The resolved
src/lib/system_services/tool_client.py:522
↓ 1 callersMethod_resolve_prompt
Resolve a prompt placeholder by rendering it. :param prompt_name: The name of the prompt to render. :return: The rendered pr
src/lib/core/config.py:116
↓ 1 callersMethod_resolve_tool
Resolve a tool placeholder by finding and instantiating the corresponding tool. :param tool_name: The name of the tool to instantiat
src/lib/core/config.py:129
↓ 1 callersMethod_resolve_value
Resolve the value of config :param value: The original value. :return: The resolved value.
src/lib/system_services/tool_client.py:538
↓ 1 callersMethod_retrieve_chunks
(self, collection: Dict, query: str)
src/lib/services/rag/data_retrievers/qdrant/sentences.py:88
↓ 1 callersMethod_retrieve_chunks
(self, chroma_collection, query: str)
src/lib/services/rag/data_retrievers/chroma/sentences.py:94
↓ 1 callersMethod_retrieve_chunks
(self, collection: Dict, query_embedding: Any)
src/lib/services/rag/data_retrievers/milvus/sentences.py:82
↓ 1 callersFunction_retrieve_from_collection
(collection, query)
src/platform/app_games/games/fantasia_genesis_tools.py:154
↓ 1 callersFunction_retrieve_from_collection
(collection, augment_query)
src/platform/rag/main.py:119
↓ 1 callersMethod_run
(self, action: str, value: Optional[str] = None)
src/platform/tool_agents/openapi_tool.py:178
↓ 1 callersMethod_run_game
Run the gam. :return: Crew Result
src/platform/app_games/games/fantasia_genesis.py:185
↓ 1 callersFunction_safe_str
(value)
notebooks/meta_prompting/agent_simulator.py:159
↓ 1 callersMethod_save_context
Save the new context after the run. :return: Crew completion
src/platform/app_games/games/fantasia_genesis.py:199
↓ 1 callersMethod_save_image
(self, img: dict, pdf_document, image_name: str)
src/lib/services/rag/data_extractors/pymupdf/sections.py:283
↓ 1 callersMethod_save_messages
Save the memory messages.
src/platform/app_games/games/fantasia_genesis.py:214
↓ 1 callersMethod_save_rectangles_as_png
(self, params: dict)
src/lib/services/rag/data_extractors/pymupdf/sections.py:357
↓ 1 callersMethod_serialize_config
Recursively traverse the data and replace non-serializable objects with a placeholder string. Args: data
src/lib/system_services/tool_client.py:366
↓ 1 callersMethod_set_selected_settings
Set the selected settings. :param: Dict of settings
src/platform/app_games/games/fantasia_genesis.py:280
↓ 1 callersMethod_setup_file_handler
Set up the file handler for logging to a file with rotation.
src/lib/core/log.py:94
↓ 1 callersMethod_should_exclude_element
(self, element_metadata)
src/lib/services/rag/data_extractors/unstructured/sections.py:244
↓ 1 callersMethod_skip_border_elements
(self, elements)
src/lib/services/rag/data_extractors/unstructured/sections.py:167
↓ 1 callersFunction_split_characters
(chunk_size, chunk_overlap, elements)
src/lib/services/rag/data_transformers/transform/chunk.py:29
↓ 1 callersMethod_split_markdown
(self, content, file_name)
src/lib/services/rag/data_extractors/markitdown/sections.py:63
↓ 1 callersFunction_split_tokens
(chunk_overlap, token_chunk, character_elements)
src/lib/services/rag/data_transformers/transform/chunk.py:52
↓ 1 callersMethod_start_flask_app
Start the Flask application using the provided configuration. :param config: A dictionary with the configuration details.
src/lib/system_services/tool_client.py:283
↓ 1 callersFunction_store_in_memory
(messages, completion)
src/platform/chat/main.py:139
↓ 1 callersFunction_store_memories
(inputs, outputs)
src/platform/app_memory/main.py:243
↓ 1 callersFunction_store_messages
(inputs, outputs)
src/platform/app_memory/main.py:240
↓ 1 callersFunction_summarize_evals_history
(routines, accuracies)
notebooks/meta_prompting/utils.py:209
↓ 1 callersFunction_summary_answer
(query, results)
src/platform/rag/main.py:161
↓ 1 callersFunction_transform_elements
(elements)
src/platform/rag/load.py:94
↓ 1 callersMethod_transform_elements
(self, config, elements)
src/platform/app_backpanel/tool_manager/rag.py:242
↓ 1 callersMethod_transform_tables
(self, extracted_data: list)
src/lib/services/rag/data_extractors/pymupdf/sections.py:196
↓ 1 callersMethod_transform_to_elements
(self, df)
src/lib/services/rag/data_extractors/pandas/read_excel.py:79
↓ 1 callersMethod_update_existing_config
Update `config` with values from `data`, replacing the target directly when a path is fully traversed. Supports paths like 'tool/int
src/lib/system_services/tool_client.py:499
↓ 1 callersMethod_update_table_mode
( self, table_info: dict, coordinates: dict, last_position: dict,
src/lib/services/rag/data_extractors/pymupdf/sections.py:179
↓ 1 callersMethod_update_transcript
(self, transcript, response)
notebooks/meta_prompting/agent_simulator.py:67
↓ 1 callersMethod_validate_tool_manifest
Validate the provided tool manifest against the Manifest model. :param manifest: The tool manifest dictionary to validate. :
src/lib/system_services/tool_client.py:186
↓ 1 callersFunction_validate_tool_settings
(index, tool_entry, tool_settings)
src/platform/app_backpanel/main.py:189
↓ 1 callersMethod_validate_tool_setup
Validate that the tool setup parameters are correctly provided. :return: True if setup parameters are valid, False otherwise.
src/lib/core/config.py:144
↓ 1 callersFunction_write_dataframe
(df, file_path)
notebooks/meta_prompting/utils.py:206
↓ 1 callersFunctionaddEventListenerToAllAccordions
()
src/platform/app_games/html/static/js/chat.js:254
↓ 1 callersFunctionaddGameOptions
* Adds game options to the dropdown list. * @param {HTMLElement} selectElement - The dropdown select element. * @param {Array} games - List of game
src/platform/app_games/html/static/js/games.js:41
↓ 1 callersFunctionaddSelectedGame
* Adds selected game option to the dropdown list. * @param {HTMLElement} selectElement - The dropdown select element. * @param {Array} games - List
src/platform/app_games/html/static/js/settings.js:45
↓ 1 callersMethodainvoke
Asynchronously invoke the model with a list of messages. :param messages: List of messages formatted for the LLM input. :ret
src/lib/services/chat/models/base.py:93
↓ 1 callersMethodainvoke
Asynchronously invoke the model with a list of messages. :param messages: Message string or list formatted for the model. :r
src/lib/services/chat/models/llamaindex/openai.py:119
↓ 1 callersMethodainvoke
Asynchronously invoke the model with a list of messages. :param messages: Message list formatted for the model. :return: Res
src/lib/services/chat/models/langchain/chat_anthropic.py:134
↓ 1 callersMethodainvoke
Asynchronously invoke the model with a list of messages. :param messages: Message list formatted for the model. :return: Res
src/lib/services/chat/models/langchain/chat_openai.py:147
↓ 1 callersMethodainvoke
Asynchronously invoke the model with a list of messages. :param messages: Message list formatted for the model. :return: Res
src/lib/services/chat/models/langchain/azure_chat_openai.py:196
↓ 1 callersMethodainvoke
Asynchronously invoke the model with a list of messages. :param messages: Message list formatted for the model. :return: Res
src/lib/services/chat/models/langchain/chat_mistralai.py:134
↓ 1 callersMethodainvoke
Asynchronously invoke the model with a list of messages. :param messages: Message list formatted for the model. :return: Res
src/lib/services/chat/models/langchain/chat_google_genai.py:128
↓ 1 callersMethodainvoke
Asynchronously invoke the model with a list of messages. :param messages: Message list formatted for the model. :return: Res
src/lib/services/chat/models/langchain/chat_nvidia.py:128
↓ 1 callersMethodapply_settings
Sets the tool settings. Parameters: tool_settings (dict): The tool settings including configuration details.
src/platform/app_backpanel/tool_manager/rag.py:187
↓ 1 callersMethodastream
Asynchronously stream the model response token by token. :param messages: List of messages formatted for the LLM input. :ret
src/lib/services/chat/models/base.py:102
↓ 1 callersMethodastream
Asynchronously stream the model response token by token. :param messages: Message string or list formatted for the model. :r
src/lib/services/chat/models/llamaindex/openai.py:135
↓ 1 callersMethodastream
Asynchronously stream the model response token by token. :param messages: Message list formatted for the model. :return: Asy
src/lib/services/chat/models/langchain/chat_anthropic.py:149
↓ 1 callersMethodastream
Asynchronously stream the model response token by token. :param messages: Message list formatted for the model. :return: Asy
src/lib/services/chat/models/langchain/chat_openai.py:162
↓ 1 callersMethodastream
Asynchronously stream the model response token by token. :param messages: Message list formatted for the model. :return: Asy
src/lib/services/chat/models/langchain/azure_chat_openai.py:211
↓ 1 callersMethodastream
Asynchronously stream the model response token by token. :param messages: Message list formatted for the model. :return: Asy
src/lib/services/chat/models/langchain/chat_mistralai.py:149
↓ 1 callersMethodastream
Asynchronously stream the model response token by token. :param messages: Message list formatted for the model. :return: Asy
src/lib/services/chat/models/langchain/chat_google_genai.py:143
↓ 1 callersMethodastream
Asynchronously stream the model response token by token. :param messages: Message list formatted for the model. :return: Asy
src/lib/services/chat/models/langchain/chat_nvidia.py:143
↓ 1 callersFunctionasync_gen
()
tests/lib/services/chat/test_model_llamaindex.py:141
↓ 1 callersFunctionbindLlmEvents
* Function to bind events for LLM button
src/platform/app_backpanel/html/static/js/prompt_tool_handler.js:149
↓ 1 callersMethodbuild_stream_chunk
Build a streaming-compatible response chunk using Pydantic model. :param content: The partial assistant message. :param mode
src/lib/core/chat_endpoint.py:220
↓ 1 callersFunctioncancel_order
Cancel an order if it is still in processing.
notebooks/meta_prompting/tools/cancel_order.py:19
↓ 1 callersFunctioncapitalize
* Function to capitalize the first letter of a word * @param {string} word - The word to modify * @returns {string} The word modified
src/platform/app_backpanel/html/static/js/prompt_tool_handler.js:318
↓ 1 callersFunctioncheck_refund_eligibility
Verify if an order qualifies for a refund.
notebooks/meta_prompting/tools/check_refund.py:19
↓ 1 callersMethodclear
Clear data in the remote memory endpoint.
src/lib/services/chat/memories/langchain/custom_remote.py:82
↓ 1 callersFunctionclearInputField
* Clears the input field.
src/platform/app_games/html/static/js/chat.js:90
↓ 1 callersMethodclear_port
Convenience method to clear a port by killing any processes using it. Args: port: The port number to clear.
notebooks/platform_services/lablib/bg_util.py:364
↓ 1 callersFunctionclose_case
Tool function
notebooks/meta_prompting/tools/case_resolution.py:19
↓ 1 callersFunctionconvertCodeToAccordion
* Converts code blocks to an accordion format. * @param {string} text - The text containing code blocks. * @returns {string} The text with converted
src/platform/app_games/html/static/js/chat.js:220
↓ 1 callersFunctionconvertImagesToHtml
* Converts image placeholders in text to actual HTML image elements. * @param {string} text - The text containing image placeholders. * @returns {st
src/platform/app_games/html/static/js/chat.js:210
↓ 1 callersFunctionconvertMarkdownLinksToHtml
* Converts Markdown links to HTML links. * @param {string} text - The text containing Markdown links. * @returns {string} The text with converted HT
src/platform/app_games/html/static/js/chat.js:164
↓ 1 callersFunctionconvertMarkdownTablesToHtml
* Converts Markdown tables to HTML tables. * @param {string} text - The text containing Markdown tables. * @returns {string} The text with converted
src/platform/app_games/html/static/js/chat.js:176
↓ 1 callersFunctionconvertMarkdownToHtml
* Converts Markdown to HTML and applies additional formatting. * @param {string} text - The Markdown text. * @returns {string} The formatted HTML.
src/platform/app_games/html/static/js/chat.js:152
↓ 1 callersMethodconvert_to_messages
Convert a dictionary into an array of prompts. :param prompts_dict: Dictionary containing the prompts data. :return: Result
src/lib/services/chat/memories/langchain/custom_remote.py:121
↓ 1 callersMethodcreate
Return the appropriate Chat Model based on the provided configuration. :param config: Configuration dictionary containing the type o
src/lib/services/chat/model.py:50
↓ 1 callersMethodcreate
Return Data Loader :param config: Configuration dictionary containing the type of loader. :return: An instance of th
src/lib/services/rag/data_loader.py:35
↓ 1 callersFunctioncreateBotMessageHtml
* Creates the HTML structure for a bot's message. * @param {string} message - The bot's message. * @param {string} time - The time the message was s
src/platform/app_games/html/static/js/chat.js:237
↓ 1 callersFunctioncreateFormField
* Creates and appends a form field to the container based on the field data. * @param {HTMLElement} container - The container element to append the f
src/platform/app_games/html/static/js/settings.js:94
↓ 1 callersFunctioncreateLabelInput
* Helper function to create the label input field * @param {int} key - The interface key * @param {string} label - The label of interface * @return
src/platform/app_backpanel/html/static/js/prompt_tool_handler.js:285
↓ 1 callersFunctioncreateNameInput
* Helper function to create the name input field * @param {int} key - The interface key * @param {string} name - The name of interface * @returns {
src/platform/app_backpanel/html/static/js/prompt_tool_handler.js:271
↓ 1 callersFunctioncreateTaskField
* Helper function to create a single task * @param {int} key - The task key * @returns {string} The HTML for the task
src/platform/app_backpanel/html/static/js/agent_tool_handler.js:95
↓ 1 callersFunctioncreateTypeSelect
* Helper function to create the type select dropdown * @param {int} key - The interface key * @param {string} selectedType - The type of interface
src/platform/app_backpanel/html/static/js/prompt_tool_handler.js:299
← previousnext →401–500 of 1,350, ranked by callers