from fastapi import FastAPI, HTTPException from pydantic import BaseModel import openai import os # Initialize FastAPI app app = FastAPI() # Set your OpenAI API key openai.api_key = os.getenv("OPENAI_API_KEY") class ChatRequest(BaseModel): message: str user_id: str @app.post("/chat") async def chat_with_bot(request: ChatRequest): try: response = openai.ChatCompletion.create( model="gpt-4", messages=[{"role": "user", "content": request.message}] ) reply = response["choices"][0]["message"]["content"] return {"response": reply} except Exception as e: raise HTTPException(status_code=500, detail=str(e))
top of page

(248)-790-8455

Oriental medicine Massage therapy  Program
  1. Small class

  2. 25 weeks 

  3. Flexible time teaching

  4. 800 hours certificate

  5. $3000 Dragon Scholarship

  6. 6 Months Payment plan available 

  7. Evening class 

  8. online class

  9. Hybrid class

Class information

 class starts Date:  

January 8, Feb 1, Mar 4,

Feb 1, May 1, Jun3

 July 1,   Aug 1, Sep 2,  

Oct 1, Nov 4,   Dec 12

 

Class Time:

Morning Class Time:

Mon—Thu 8:00am- 2:00pm

Evening Class Time:

Mon—Thu 6:30pm- 9:30pm    Saturday 10:00AM -4:00PM

AMOM PROGRAM APPLICATION      

Driver License
bottom of page