mirror of
https://github.com/katanemo/plano.git
synced 2026-05-06 22:32:42 +02:00
add history of messages
This commit is contained in:
parent
1dba11bfd9
commit
60cadf3e8a
3 changed files with 4 additions and 3 deletions
|
|
@ -179,7 +179,7 @@ async def hallucination(req: HallucinationRequest, res: Response):
|
|||
"""
|
||||
Take input as text and return the prediction of hallucination for each parameter
|
||||
"""
|
||||
|
||||
logger.info(f"hallucination request: {req}")
|
||||
if req.model != zero_shot_model["model_name"]:
|
||||
raise HTTPException(status_code=400, detail="unknown model: " + req.model)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue