TypeScript implementation of MLflow tracing with session context using Express and OpenAI.
- Install dependencies:
npm install- Setup MLflow and environment configuration:
npm run setup:basic- Run the application:
# Development mode with hot reload
npm run devcurl -X POST http://localhost:8000/chat \
-H "Content-Type: application/json" \
-H "X-Session-ID: session-123" \
-H "X-User-ID: user-456" \
-d '{"message": "Hello, how are you?"}'Then go to the MLflow UI and you should see the generated trace.