Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HewlettPackard/llmesh
/ functions
Functions
1,350 in github.com/HewlettPackard/llmesh
⨍
Functions
1,350
◇
Types & classes
202
↳
Endpoints
133
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
Function
add
Add two numbers
notebooks/platform_services/lablib/mcp/definitions.py:23
Function
addInterfaceField
* Function to add a new interface field with default input type
src/platform/app_backpanel/html/static/js/prompt_tool_handler.js:335
Method
add_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
Method
add_messages
( self, messages: List[ChatMessage], new_messages: List[ChatMessage], index: i
src/lib/services/chat/message_managers/llamaindex/chat.py:36
Method
add_messages
( self, messages: List[ChatMessage], new_messages: List[ChatMessage], index: i
src/lib/services/chat/message_managers/langchain/chat.py:40
Function
add_two
()
notebooks/platform_services/lablib/mcp/sse/server.py:33
Function
add_two
()
notebooks/platform_services/lablib/mcp/streamable/server.py:28
Method
ainvoke
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
Function
anthropic_mock_astream_gen
The async generator function to use as the mock
tests/lib/services/chat/test_model_langchain.py:451
Function
app
Fixture to set up the Flask application instance for testing.
tests/lib/system_services/test_tool_client_routes.py:19
Function
appendAgentToolDetails
* 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
Function
appendPromptToolDetails
* 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
Function
appendRagToolDetails
* 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
Function
applyAgentToolSettings
* 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
Function
applyPromptToolSettings
* 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
Function
applyRagToolSettings
* 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
Function
applyTheme
* 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
Function
applyTheme
* 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
Method
apply_settings
Sets the tool settings. Parameters: tool_settings (dict): The tool settings including configuration details.
src/platform/app_backpanel/tool_manager/prompt.py:185
Method
apply_settings
Sets the tool settings. Parameters: tool_settings (dict): The tool settings including configuration details.
src/platform/app_backpanel/tool_manager/base.py:72
Method
apply_settings
Sets the tool settings. Parameters: tool_settings (dict): The tool settings including configuration details.
src/platform/app_backpanel/tool_manager/agent.py:174
Function
apply_tool_settings
Endpoint to update the settings of a specific tool.
src/platform/app_backpanel/main.py:141
Function
are_results_cached
Checks if both the routine and test results files are cached.
notebooks/meta_prompting/utils.py:138
Method
astream
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
Function
async_wrapper
(self, *args, **kwargs)
src/lib/services/chat/models/error_handler.py:28
Function
azure_mock_astream_gen
The async generator function to use as the mock
tests/lib/services/chat/test_model_langchain.py:258
Function
basic_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
Function
calculate_routine
Calculate routine using LLM and save in a file
notebooks/meta_prompting/utils.py:60
Function
chat
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
Function
chat_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
Function
chat_endpoint
Fixture to create a ChatEndpoint instance with default config. Returns: ChatEndpoint: An instance of ChatEndpoint.
tests/lib/core/test_chat_endpoint.py:18
Function
chroma_collection_config_singleton
Mockup ChromaCollectionDataStorage configuration.
tests/lib/services/rag/test_data_storage_chroma.py:80
Function
chroma_collection_config_success
Mockup ChromaCollectionDataStorage configuration.
tests/lib/services/rag/test_data_storage_chroma.py:50
Function
chroma_for_sentences_config
Mockup ChromaForSentenceDataLoader configuration.
tests/lib/services/rag/test_data_loader_chroma.py:45
Function
chroma_retriever_config
Fixture to provide a mock configuration for ChromaForSentenceDataRetriever.
tests/lib/services/rag/test_data_retriever_chroma.py:44
Method
clear
Clear context memory. :return: Result object containing the status of the clear operation.
src/lib/services/chat/memories/llamaindex/buffer.py:79
Method
clear
Clear context memory. :return: Result object containing the status of the clear operation.
src/lib/services/chat/memories/langchain/summary.py:97
Method
clear
Clear context memory. :return: Result object containing the status of the clear operation.
src/lib/services/chat/memories/langchain/chroma_store_retriever.py:179
Method
clear
Clear context memory. :return: Result object containing the status of the clear operation.
src/lib/services/chat/memories/langchain/custom_remote.py:273
Method
clear
Clear context memory. :return: Result object containing the status of the clear operation.
src/lib/services/chat/memories/langchain/buffer.py:76
Method
clear
Clear context memory. :return: Result object containing the status of the clear operation.
src/lib/services/chat/memories/langchain/buffer_window.py:81
Function
clear_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
Function
clear_image_folder
Clears the image output folder before each test that involves image extraction.
tests/lib/services/rag/test_data_extractor_pymupdf.py:183
Function
clear_memory
Route the clear memory function
src/platform/app_memory/main.py:261
Method
clear_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
Method
clear_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
Function
clear_port
Convenience function to clear a port by killing any processes using it.
notebooks/platform_services/lablib/bg_util.py:413
Function
client
Flask test client for making requests.
tests/lib/system_services/test_tool_client_routes.py:38
Function
collectAgentToolSettings
* Collects settings from the form inputs. * @returns {Object} The settings object.
src/platform/app_backpanel/html/static/js/agent_tool_handler.js:148
Function
collectPromptToolSettings
* Collects settings from the form inputs. * @returns {Object} The settings object.
src/platform/app_backpanel/html/static/js/prompt_tool_handler.js:408
Function
collectRagToolSettings
* Collects settings from the form inputs. * @returns {Object} The settings object.
src/platform/app_backpanel/html/static/js/rag_tool_handler.js:294
Function
config
Fixture for the configuration of the MarkitdownForSectionsDataExtractor.
tests/lib/services/rag/test_data_extractor_makitdown.py:19
Function
config
Test config for the PandasReadExcelExtractor.
tests/lib/services/rag/test_data_extractor_pandas.py:45
Function
config
test config
tests/lib/services/rag/test_data_extractor_unstructured.py:153
Function
config
test config
tests/lib/services/rag/test_data_extractor_pymupdf.py:154
Function
config_resource
Server configuration
notebooks/platform_services/lablib/mcp/definitions.py:41
Method
create
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
Method
create
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
Method
create
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
Method
create
Return Data Retriever :param config: Configuration dictionary containing the type of retriever. :return: An instance
src/lib/services/rag/data_retriever.py:35
Method
create
Return Data Storage :param config: Configuration dictionary containing the type of storage. :return: An instance of
src/lib/services/rag/data_storage.py:35
Method
create
Return Data Transformer :param config: Configuration dictionary containing the type of tranformer actions. :return:
src/lib/services/rag/data_transformer.py:33
Method
create
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
Method
create
Return the appropriate Reasoning Engine based on the provided configuration. :param config: Configuration dictionary containing the
src/lib/services/agents/reasoning_engine.py:32
Method
create
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
Method
create_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
Method
create_message
(self, role: MessageRole, content: str)
src/lib/services/chat/message_managers/llamaindex/chat.py:33
Method
create_message
(self, role: MessageRole, content: str)
src/lib/services/chat/message_managers/langchain/chat.py:37
Function
crewai_task_force
Fixture to initialize and return an instance of TaskForce with the CrewAIMultiAgent configuration.
tests/lib/services/agents/test_agents_integration.py:93
Function
cte_action_runner_config
Mockup CteActionRunnerDataTransformer configuration.
tests/lib/services/rag/test_data_transformer.py:46
Function
decorator
(func: Callable)
src/lib/services/chat/message_managers/error_handler.py:24
Function
decorator
(func: Callable)
src/lib/services/chat/prompt_renders/error_handler.py:24
Function
decorator
(func: Callable)
src/lib/services/chat/memories/error_handler.py:24
Function
decorator
(func: Callable)
src/lib/services/chat/models/error_handler.py:25
Function
docx_config
test config
tests/lib/services/rag/test_data_extractor_unstructured.py:248
Function
docx_extractor
test extractor
tests/lib/services/rag/test_data_extractor_unstructured.py:268
← previous
next →
701–800 of 1,350, ranked by callers