Implemented a new /help command in the chatbot that provides users with the content of docs/usage.md.
Description
Added functionality to the chatbot where users can type /help to get assistance. When executed, the chatbot reads from the docs/usage.md file and displays its content. The implementation leverages a new function, get_docs(doc_name), which is designed in a generic manner to allow for future commands that might read other documentation pages.
Related Issue(s)
58
Motivation and Context
The addition of the /help command enhances the user experience by providing immediate assistance directly within the chat interface. The generic design of the get_docs() function lays the groundwork for future expansion, where other docs pages can be easily integrated into the chatbot's command set.
Types of changes
[x] New feature (non-breaking change which adds functionality)
Checklist:
[x] My code follows the code style of this project.
Summary
Implemented a new
/help
command in the chatbot that provides users with the content ofdocs/usage.md
.Description
Added functionality to the chatbot where users can type
/help
to get assistance. When executed, the chatbot reads from thedocs/usage.md
file and displays its content. The implementation leverages a new function,get_docs(doc_name)
, which is designed in a generic manner to allow for future commands that might read other documentation pages.Related Issue(s)
58
Motivation and Context
The addition of the
/help
command enhances the user experience by providing immediate assistance directly within the chat interface. The generic design of theget_docs()
function lays the groundwork for future expansion, where other docs pages can be easily integrated into the chatbot's command set.Types of changes
Checklist: