Commit f3254ad5 authored by alex yao's avatar alex yao

fix: web search 插件读取pdf文件

parent 59897f3e
......@@ -139,7 +139,7 @@ public class WebSearchFunction extends AbstractLargeModelFunction {
webSearchResult.setTitle(item.getTitle());
webSearchResult.setUrl(item.getLink());
webSearchResult.setContent(item.getSnippet());
webSearchResult.setHtmlContent(item.getSnippet());
webSearchResult.setHtmlContent(htmlContent);
results.add(webSearchResult);
}
countDownLatch.countDown();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment