Update app/llm.py
Browse files- app/llm.py +1 -1
app/llm.py
CHANGED
|
@@ -99,7 +99,7 @@ async def chat(chatm:ChatModel):#, user: schemas.BaseUser = fastapi.Depends(curr
|
|
| 99 |
|
| 100 |
# Chat Completion API
|
| 101 |
@llm_router.post("/generate", tags=["llm"])
|
| 102 |
-
async def generate(gen:GenModel)
|
| 103 |
gen.system = "You are an helpful medical AI assistant."
|
| 104 |
gen.temperature = 0.5
|
| 105 |
gen.seed = 42
|
|
|
|
| 99 |
|
| 100 |
# Chat Completion API
|
| 101 |
@llm_router.post("/generate", tags=["llm"])
|
| 102 |
+
async def generate(gen:GenModel):#, user: schemas.BaseUser = fastapi.Depends(current_active_user)):
|
| 103 |
gen.system = "You are an helpful medical AI assistant."
|
| 104 |
gen.temperature = 0.5
|
| 105 |
gen.seed = 42
|