mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 17:05:41 +01:00
Format fixes
This commit is contained in:
parent
8c390812ff
commit
34d48d7b4d
5 changed files with 12 additions and 11 deletions
|
|
@ -105,6 +105,7 @@ class ChatService:
|
|||
# TODO ContextChatEngine is still not migrated by LlamaIndex to accept
|
||||
# llm directly, so we are passing legacy ServiceContext until it is fixed.
|
||||
from llama_index.core import ServiceContext
|
||||
|
||||
return ContextChatEngine.from_defaults(
|
||||
system_prompt=system_prompt,
|
||||
retriever=vector_index_retriever,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue