Skip to content

Commit

Permalink
Add upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
maozdemir committed May 23, 2023
1 parent 091c06e commit b7de303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion privateGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def main():
case _default:
print(f"Model {model_type} not supported!")
exit;
qa = RetrievalQA.from_chain_type(llm=llm, chain_type="stuff", retriever=retriever, return_source_documents=True)
qa = RetrievalQA.from_chain_type(llm=llm, chain_type="stuff", retriever=retriever, return_source_documents= not args.hide_source)
# Interactive questions and answers
while True:
query = input("\nEnter a query: ")
Expand Down

0 comments on commit b7de303

Please sign in to comment.