8000 mlflow-typescript-examples/basic at main · mlflow/mlflow-typescript-examples · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

MLflow Tracing with Express and OpenAI

TypeScript implementation of MLflow tracing with session context using Express and OpenAI.

Setup

  1. Install dependencies:
npm install
  1. Setup MLflow and environment configuration:
npm run setup:basic
  1. Run the application:
# Development mode with hot reload
npm run dev

Example Request

curl -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.

0