mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 20:27:58 +00:00
enhanced
This commit is contained in:
parent
ce7b936f4f
commit
0314cb99e3
@ -979,9 +979,10 @@ class LollmsApplication(LoLLMsCom):
|
|||||||
"url":chunk.doc.path,
|
"url":chunk.doc.path,
|
||||||
"brief":chunk.text
|
"brief":chunk.text
|
||||||
})
|
})
|
||||||
internet_search_results += f"{self.start_header_id_template}search result chunk{self.end_header_id_template}\nchunk_infos:{chunk.doc.path}\nchunk_title:{chunk.doc.title}\ncontent:{chunk.text}\n"
|
internet_search_results += self.system_custom_header("search result chunk")+f"\nchunk_infos:{chunk.doc.path}\nchunk_title:{chunk.doc.title}\ncontent:{chunk.text}\n"
|
||||||
else:
|
else:
|
||||||
internet_search_results += "The search response was empty!\nFailed to recover useful information from the search engine.\n"
|
internet_search_results += "The search response was empty!\nFailed to recover useful information from the search engine.\n"
|
||||||
|
internet_search_results += self.system_custom_header("information") + "Use the search results to answer the user question."
|
||||||
if self.config.internet_quick_search:
|
if self.config.internet_quick_search:
|
||||||
self.personality.step_end("Performing Internet search (quick mode)")
|
self.personality.step_end("Performing Internet search (quick mode)")
|
||||||
else:
|
else:
|
||||||
|
@ -19,3 +19,6 @@ python-multipart
|
|||||||
python-socketio
|
python-socketio
|
||||||
python-socketio[client]
|
python-socketio[client]
|
||||||
python-socketio[asyncio_client]
|
python-socketio[asyncio_client]
|
||||||
|
|
||||||
|
freedom-search
|
||||||
|
scrapemaster
|
Loading…
Reference in New Issue
Block a user