MCPcopy Create free account

hub / github.com/HewlettPackard/llmesh / functions

Functions1,350 in github.com/HewlettPackard/llmesh

Method_get_servers
(self)
src/platform/tool_agents/openapi_tool.py:103
Method_get_tags
(self)
src/platform/tool_agents/openapi_tool.py:107
Method_list_open_apis
(self)
src/platform/tool_agents/openapi_tool.py:64
Method_llm_node
Helper function that convert LLM agent response in human message :param state: Graph state. :param agent: Agent object.
src/lib/services/agents/task_forces/langgraph/state_graph.py:215
Method_reference_loader
(self, uri)
src/platform/tool_agents/openapi_tool.py:84
Method_run
(self, information: Any)
src/platform/app_games/games/fantasia_genesis_tools.py:42
Method_run
(self, information: Any)
src/platform/app_games/games/fantasia_genesis_tools.py:53
Method_run
(self, query: Any)
src/platform/app_games/games/fantasia_genesis_tools.py:70
Method_run
(self, query: Any)
src/platform/app_games/games/fantasia_genesis_tools.py:81
Method_run
(self, query: Any)
src/platform/app_games/games/fantasia_genesis_tools.py:92
Method_run
(self, difficulty: Any)
src/platform/app_games/games/fantasia_genesis_tools.py:110
Method_select_open_api
(self, open_api)
src/platform/tool_agents/openapi_tool.py:68
Method_tool_end_game
A tool that handle the end of a game
src/platform/app_games/games/who_am_i.py:137
Method_tool_get_rules
A tool that return the rules.
src/platform/app_games/games/who_am_i.py:131
Method_tool_handle_secret_identity
A tool that handle the secret identity
src/platform/app_games/games/who_am_i.py:148
Method_validate_agent_tool_function_data
(self, index, tool_settings)
src/platform/app_backpanel/tool_manager/agent.py:75
Method_validate_agent_tool_name
(self, index, tool_settings)
src/platform/app_backpanel/tool_manager/agent.py:55
Method_validate_agent_tool_version
(self, index, tool_settings)
src/platform/app_backpanel/tool_manager/agent.py:62
Method_validate_prompt_tool_function_data
(self, index, tool_settings)
src/platform/app_backpanel/tool_manager/prompt.py:75
Method_validate_prompt_tool_name
(self, index, tool_settings)
src/platform/app_backpanel/tool_manager/prompt.py:55
Method_validate_prompt_tool_version
(self, index, tool_settings)
src/platform/app_backpanel/tool_manager/prompt.py:62
Method_validate_rag_tool_function_data
(self, index, tool_settings)
src/platform/app_backpanel/tool_manager/rag.py:80
Method_validate_rag_tool_name
(self, index, tool_settings)
src/platform/app_backpanel/tool_manager/rag.py:60
Method_validate_rag_tool_version
(self, index, tool_settings)
src/platform/app_backpanel/tool_manager/rag.py:67
Functionadd
Add two numbers
notebooks/platform_services/lablib/mcp/definitions.py:23
FunctionaddInterfaceField
* Function to add a new interface field with default input type
src/platform/app_backpanel/html/static/js/prompt_tool_handler.js:335
Methodadd_messages
Insert new ChatMessages into an existing list of messages at a given index. :param messages: The original list of ChatMessages.
src/lib/services/chat/message_managers/base.py:121
Methodadd_messages
( self, messages: List[ChatMessage], new_messages: List[ChatMessage], index: i
src/lib/services/chat/message_managers/llamaindex/chat.py:36
Methodadd_messages
( self, messages: List[ChatMessage], new_messages: List[ChatMessage], index: i
src/lib/services/chat/message_managers/langchain/chat.py:40
Functionadd_two
()
notebooks/platform_services/lablib/mcp/sse/server.py:33
Functionadd_two
()
notebooks/platform_services/lablib/mcp/streamable/server.py:28
Methodainvoke
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_vllm.py:122
Functionanthropic_mock_astream_gen
The async generator function to use as the mock
tests/lib/services/chat/test_model_langchain.py:451
Functionapp
Fixture to set up the Flask application instance for testing.
tests/lib/system_services/test_tool_client_routes.py:19
FunctionappendAgentToolDetails
* Appends tool details to the DOM. * @param {Object} tool - The tool object containing details.
src/platform/app_backpanel/html/static/js/agent_tool_handler.js:5
FunctionappendPromptToolDetails
* Appends tool details to the DOM. * @param {Object} tool - The tool object containing details.
src/platform/app_backpanel/html/static/js/prompt_tool_handler.js:5
FunctionappendRagToolDetails
* Appends tool details to the DOM. * @param {Object} tool - The tool object containing details.
src/platform/app_backpanel/html/static/js/rag_tool_handler.js:5
FunctionapplyAgentToolSettings
* Apply the settings via a POST request. * @param {string} toolId - The ID of the selected tool. * @param {Object} settings - The settings object to
src/platform/app_backpanel/html/static/js/agent_tool_handler.js:161
FunctionapplyPromptToolSettings
* Apply the settings via a POST request. * @param {string} toolId - The ID of the selected tool. * @param {Object} settings - The settings object to
src/platform/app_backpanel/html/static/js/prompt_tool_handler.js:442
FunctionapplyRagToolSettings
* Apply the settings via a POST request. * @param {string} toolId - The ID of the selected tool. * @param {Object} settings - The settings object to
src/platform/app_backpanel/html/static/js/rag_tool_handler.js:316
FunctionapplyTheme
* Fetches the theme settings from a JSON file and applies them to the document. * @param {string} themeName - The name of the theme to apply.
src/platform/app_games/html/static/js/theme.js:9
FunctionapplyTheme
* Fetches the theme settings from a JSON file and applies them to the document. * @param {string} themeName - The name of the theme to apply.
src/platform/app_backpanel/html/static/js/theme.js:5
Methodapply_settings
Sets the tool settings. Parameters: tool_settings (dict): The tool settings including configuration details.
src/platform/app_backpanel/tool_manager/prompt.py:185
Methodapply_settings
Sets the tool settings. Parameters: tool_settings (dict): The tool settings including configuration details.
src/platform/app_backpanel/tool_manager/base.py:72
Methodapply_settings
Sets the tool settings. Parameters: tool_settings (dict): The tool settings including configuration details.
src/platform/app_backpanel/tool_manager/agent.py:174
Functionapply_tool_settings
Endpoint to update the settings of a specific tool.
src/platform/app_backpanel/main.py:141
Functionare_results_cached
Checks if both the routine and test results files are cached.
notebooks/meta_prompting/utils.py:138
Methodastream
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_vllm.py:137
Functionasync_wrapper
(self, *args, **kwargs)
src/lib/services/chat/models/error_handler.py:28
Functionazure_mock_astream_gen
The async generator function to use as the mock
tests/lib/services/chat/test_model_langchain.py:258
Functionbasic_request
Fixture to provide a minimal valid chat request. Returns: ChatEndpoint.ChatRequest: A basic request with one user message.
tests/lib/core/test_chat_endpoint.py:29
Functioncalculate_routine
Calculate routine using LLM and save in a file
notebooks/meta_prompting/utils.py:60
Functionchat
Route to handle chat requests. Accepts POST requests. Retrieves the user's message from the request, and passes it to the cha
src/platform/app_games/main.py:77
Functionchat_completions
OpenAI-compatible endpoint for chat completions. Uses the reasoning engine to generate a response based on the latest user message.
src/platform/orchestrator/main.py:70
Functionchat_endpoint
Fixture to create a ChatEndpoint instance with default config. Returns: ChatEndpoint: An instance of ChatEndpoint.
tests/lib/core/test_chat_endpoint.py:18
Functionchroma_collection_config_singleton
Mockup ChromaCollectionDataStorage configuration.
tests/lib/services/rag/test_data_storage_chroma.py:80
Functionchroma_collection_config_success
Mockup ChromaCollectionDataStorage configuration.
tests/lib/services/rag/test_data_storage_chroma.py:50
Functionchroma_for_sentences_config
Mockup ChromaForSentenceDataLoader configuration.
tests/lib/services/rag/test_data_loader_chroma.py:45
Functionchroma_retriever_config
Fixture to provide a mock configuration for ChromaForSentenceDataRetriever.
tests/lib/services/rag/test_data_retriever_chroma.py:44
Methodclear
Clear context memory. :return: Result object containing the status of the clear operation.
src/lib/services/chat/memories/llamaindex/buffer.py:79
Methodclear
Clear context memory. :return: Result object containing the status of the clear operation.
src/lib/services/chat/memories/langchain/summary.py:97
Methodclear
Clear context memory. :return: Result object containing the status of the clear operation.
src/lib/services/chat/memories/langchain/chroma_store_retriever.py:179
Methodclear
Clear context memory. :return: Result object containing the status of the clear operation.
src/lib/services/chat/memories/langchain/custom_remote.py:273
Methodclear
Clear context memory. :return: Result object containing the status of the clear operation.
src/lib/services/chat/memories/langchain/buffer.py:76
Methodclear
Clear context memory. :return: Result object containing the status of the clear operation.
src/lib/services/chat/memories/langchain/buffer_window.py:81
Functionclear_image_folder
Clears the image output folder before each test that involves image extraction. excluding the .gitkeep file to ensure the directory is preser
tests/lib/services/rag/test_data_extractor_unstructured.py:178
Functionclear_image_folder
Clears the image output folder before each test that involves image extraction.
tests/lib/services/rag/test_data_extractor_pymupdf.py:183
Functionclear_memory
Route the clear memory function
src/platform/app_memory/main.py:261
Methodclear_memory
Clear the conversation history from memory, resetting the conversational context. :return: The result of the operation, containing s
src/lib/services/agents/reasoning_engines/llamaindex/react.py:195
Methodclear_memory
Clear the conversation history from memory, resetting the conversational context. :return: The result of the operation, containing s
src/lib/services/agents/reasoning_engines/langchain/agent_executor.py:195
Functionclear_port
Convenience function to clear a port by killing any processes using it.
notebooks/platform_services/lablib/bg_util.py:413
Functionclient
Flask test client for making requests.
tests/lib/system_services/test_tool_client_routes.py:38
FunctioncollectAgentToolSettings
* Collects settings from the form inputs. * @returns {Object} The settings object.
src/platform/app_backpanel/html/static/js/agent_tool_handler.js:148
FunctioncollectPromptToolSettings
* Collects settings from the form inputs. * @returns {Object} The settings object.
src/platform/app_backpanel/html/static/js/prompt_tool_handler.js:408
FunctioncollectRagToolSettings
* Collects settings from the form inputs. * @returns {Object} The settings object.
src/platform/app_backpanel/html/static/js/rag_tool_handler.js:294
Functionconfig
Fixture for the configuration of the MarkitdownForSectionsDataExtractor.
tests/lib/services/rag/test_data_extractor_makitdown.py:19
Functionconfig
Test config for the PandasReadExcelExtractor.
tests/lib/services/rag/test_data_extractor_pandas.py:45
Functionconfig
test config
tests/lib/services/rag/test_data_extractor_unstructured.py:153
Functionconfig
test config
tests/lib/services/rag/test_data_extractor_pymupdf.py:154
Functionconfig_resource
Server configuration
notebooks/platform_services/lablib/mcp/definitions.py:41
Methodcreate
Return the memory class. :param config: Configuration dictionary containing the type of memory. :return: An instance of the
src/lib/services/chat/memory.py:44
Methodcreate
Create and return a message manager object based on the provided configuration. :param config: Dictionary containing configuration f
src/lib/services/chat/message_manager.py:31
Methodcreate
Create and return a Prompt object based on the provided configuration. :param config: Dictionary containing configurations for file_
src/lib/services/chat/prompt_render.py:28
Methodcreate
Return Data Retriever :param config: Configuration dictionary containing the type of retriever. :return: An instance
src/lib/services/rag/data_retriever.py:35
Methodcreate
Return Data Storage :param config: Configuration dictionary containing the type of storage. :return: An instance of
src/lib/services/rag/data_storage.py:35
Methodcreate
Return Data Transformer :param config: Configuration dictionary containing the type of tranformer actions. :return:
src/lib/services/rag/data_transformer.py:33
Methodcreate
Return the appropriate Data Extractor based on the provided configuration. :param config: Configuration dictionary containing the ty
src/lib/services/rag/data_extractor.py:38
Methodcreate
Return the appropriate Reasoning Engine based on the provided configuration. :param config: Configuration dictionary containing the
src/lib/services/agents/reasoning_engine.py:32
Methodcreate
Return the appropriate tool based on the provided configuration. :param config: Configuration dictionary containing the type of tool
src/lib/services/agents/tool_repository.py:29
Methodcreate_message
Create a single ChatMessage with a text block. :param role: Role of the message (e.g., user, assistant, system). :param cont
src/lib/services/chat/message_managers/base.py:105
Methodcreate_message
(self, role: MessageRole, content: str)
src/lib/services/chat/message_managers/llamaindex/chat.py:33
Methodcreate_message
(self, role: MessageRole, content: str)
src/lib/services/chat/message_managers/langchain/chat.py:37
Functioncrewai_task_force
Fixture to initialize and return an instance of TaskForce with the CrewAIMultiAgent configuration.
tests/lib/services/agents/test_agents_integration.py:93
Functioncte_action_runner_config
Mockup CteActionRunnerDataTransformer configuration.
tests/lib/services/rag/test_data_transformer.py:46
Functiondecorator
(func: Callable)
src/lib/services/chat/message_managers/error_handler.py:24
Functiondecorator
(func: Callable)
src/lib/services/chat/prompt_renders/error_handler.py:24
Functiondecorator
(func: Callable)
src/lib/services/chat/memories/error_handler.py:24
Functiondecorator
(func: Callable)
src/lib/services/chat/models/error_handler.py:25
Functiondocx_config
test config
tests/lib/services/rag/test_data_extractor_unstructured.py:248
Functiondocx_extractor
test extractor
tests/lib/services/rag/test_data_extractor_unstructured.py:268
← previousnext →701–800 of 1,350, ranked by callers