《明史·列传·卷五十五》
哈铭随从皇帝回京，赐姓名为杨铭，任锦衣指挥使，多次奉命出使外族担任翻译。
哈铭从帝还，赐姓名杨铭，历官锦衣指挥使，数奉使外蕃为通事。
Haming accompanied the emperor back to the capital and was given the Chinese name Yang Ming. He was appointed commander of the Jinyi Guards and was sent on several diplomatic missions to foreign tribes as a translator.
<s>[INST] Translate the following Classical Chinese text into English: 哈铭从帝还，赐姓名杨铭，历官锦衣指挥使，数奉使外蕃为通事。 [/INST] Haming accompanied the emperor back to the capital and was given the Chinese name Yang Ming. He was appointed commander of the Jinyi Guards and was sent on several diplomatic missions to foreign tribes as a translator.</s>
Translate the following Classical Chinese text into English: 哈铭从帝还，赐姓名杨铭，历官锦衣指挥使，数奉使外蕃为通事。
user
Haming accompanied the emperor back to the capital and was given the Chinese name Yang Ming. He was appointed commander of the Jinyi Guards and was sent on several diplomatic missions to foreign tribes as a translator.
assistant