This package defines custom ROS 2 action messages for interacting with language models in a ROS-based system.
The UserQueryResponse.action consists of three sections: request, response, and feedback.
string user_name # Interacting user's name
string user_query # Input query from the user
string response_text # Generated response to the user's query
float32 elapsed_time # Time taken to generate the response (in seconds)
string status # Status of the process (e.g., "completed", "failed")
This package is intended to be used as a dependency in nodes that require sending and receiving custom action messages.
Example import in Python:
from llm_interactions_msgs.action import UserQueryResponseExample import in C++:
#include "llm_interactions_msgs/action/user_query_response.hpp"The UserQueryResponse.srv consists of two sections: request and response.
string user_name # Interacting user's name
string user_query # Input query from the user
string response_text # Generated response to the user's query
This package is intended to be used as a dependency in nodes that require sending and receiving custom service messages. Example import in Python:
from llm_interactions_msgs.srv import UserQueryResponseExample import in C++:
#include "llm_interactions_msgs/srv/user_query_response.hpp"- ROS 2 (>= Humble)
action_msgsbuiltin_interfaces
Clone this package into your ROS 2 workspace:
cd ~/ros2_ws/src
git clone <repository_url>
cd ~/ros2_ws
colcon build --packages-select llm_interactions_msgs --symlink-install
source install/setup.bash