dhti-elixir-template for DHTI
Deprecated. Use the new monorepo instead.
This DHTI elixir template is a simple but functional EMR chatbot too!* 👉 Try it out today!. Create DHTI elixirs by using the cookiecutter
There are three branches available:
- feature/chain-1: A simple chain example using Langchain. For beginners.
- feature/agent-1: A simple agent example using Langchain. The MCP agent automatically detects available tools using MCPX (included in DHTI).
- feature/agent-2: An advanced agent example using Langchain. The MCP agent automatically detects available tools using MCPX (included in DHTI) and uses a more advanced branching strategy with agent in the loop.
See the example bootstrapping code here
npx dhti-cli elixir install -g https://github.com/dermatologist/dhti-elixir-template.git -n dhti-elixir-template -b <branch-name>
Read more about DHTI elixirs here
python tests/server.pyGET /langserve: A simple root endpoint that returns a welcome message.GET /langserve/dhti_elixir_template/cds-services: Endpoint to access CDS services discovery.POST /langserve/dhti_elixir_template/cds-services/dhti-service: Endpoint to invoke services.POST /langserve/mcp/messages: Endpoint for sending messages to the MCP server.GET /langserve/mcp/sse: Endpoint for Server-Sent Events (SSE) to receive real-time updates.GET /langserve/mcp: Base path for MCP server functionalities (for configuration of MCP client using SSE).
Test using cds-hooks sandbox. Use the endpoint to access CDS services discovery.
- Write your code in
src/dhti_elixir_template/chain.py(replacedhti_elixir_templatewith your elixir name) as DhtiChain class. - Follow the same (chain) pattern for agents as well.
If you find this project useful, give us a star. It helps others discover the project.
