mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-01 23:47:54 +00:00
Updated code for mypy
This commit is contained in:
parent
335df17cb8
commit
040e7b7c55
@ -109,7 +109,9 @@ class ChatService:
|
||||
settings = self.settings
|
||||
if use_context:
|
||||
vector_index_retriever = self.vector_store_component.get_retriever(
|
||||
index=self.index, context_filter=context_filter, similarity_top_k=self.settings.rag.similarity_top_k,
|
||||
index=self.index,
|
||||
context_filter=context_filter,
|
||||
similarity_top_k=self.settings.rag.similarity_top_k,
|
||||
)
|
||||
return ContextChatEngine.from_defaults(
|
||||
system_prompt=system_prompt,
|
||||
|
Loading…
Reference in New Issue
Block a user