Ibraaheem commited on
Commit
e489a89
·
verified ·
1 Parent(s): 6dffb64

Update private_gpt/server/chat/chat_router.py

Browse files
private_gpt/server/chat/chat_router.py CHANGED
@@ -1,5 +1,5 @@
1
  from fastapi import APIRouter, Depends, Request
2
- from llama_index.llms.type import ChatMessage, MessageRole
3
  from pydantic import BaseModel
4
  from starlette.responses import StreamingResponse
5
  import logging
 
1
  from fastapi import APIRouter, Depends, Request
2
+ from llama_index.llms import ChatMessage, MessageRole
3
  from pydantic import BaseModel
4
  from starlette.responses import StreamingResponse
5
  import logging