49 lines
4.9 KiB
Plaintext
49 lines
4.9 KiB
Plaintext
/workspace/apps/xhs/process_raw_notes.py:28: LangChainDeprecationWarning: The class `HuggingFaceEmbeddings` was deprecated in LangChain 0.2.2 and will be removed in 1.0. An updated version of the class exists in the :class:`~langchain-huggingface package and should be used instead. To use it run `pip install -U :class:`~langchain-huggingface` and import as `from :class:`~langchain_huggingface import HuggingFaceEmbeddings``.
|
|
embed_model = HuggingFaceEmbeddings(
|
|
2024-12-12 11:16:48,246 - INFO - HTTP Request: GET https://api.gradio.app/gradio-messaging/en "HTTP/1.1 200 OK"
|
|
2024-12-12 11:16:49,154 - INFO - Load pretrained SentenceTransformer: /datacenter/expert_models/bce-embedding-base_v1/
|
|
2024-12-12 11:16:49,711 - INFO - Load pretrained SentenceTransformer: /datacenter/expert_models/bce-embedding-base_v1/
|
|
2024-12-12 11:16:50,251 - INFO - HTTP Request: GET http://localhost:7864/gradio_api/startup-events "HTTP/1.1 200 OK"
|
|
2024-12-12 11:16:50,258 - INFO - HTTP Request: HEAD http://localhost:7864/ "HTTP/1.1 200 OK"
|
|
2024-12-12 11:16:50,891 - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
|
|
2024-12-12 11:16:51,533 - INFO - 开始处理查询: 我想知道小红书最近流行什么品类的化妆品
|
|
2024-12-12 11:16:51,533 - INFO - 正在检查向量存储路径: ./raw_vs
|
|
2024-12-12 11:16:51,533 - INFO - 正在加载向量存储...
|
|
2024-12-12 11:16:51,535 - INFO - Loading faiss with AVX2 support.
|
|
2024-12-12 11:16:51,541 - INFO - Successfully loaded faiss with AVX2 support.
|
|
2024-12-12 11:16:51,550 - INFO - 开始向量搜索...
|
|
2024-12-12 11:16:51,656 - INFO - 找到 10 条相关结果
|
|
2024-12-12 11:16:51,657 - INFO - 数据库连接成功
|
|
2024-12-12 11:16:51,657 - INFO - 处理content_hash: c400b73ccfc318706344e09dd5b04911d25a900bba3fbcd00cb94d3f4eedf468, 相似度分数: 0.6672792434692383
|
|
2024-12-12 11:16:51,658 - INFO - 处理content_hash: b0f623872e36aace325d130cbe4da67facf90207c3ebe580d8248c48fae6914e, 相似度分数: 0.6348525285720825
|
|
2024-12-12 11:16:51,659 - INFO - 处理content_hash: 2e3d691cc4761b1543ac978cebbb2f421541d72482785bfe9549606462342204, 相似度分数: 0.6296566128730774
|
|
2024-12-12 11:16:51,660 - INFO - 处理content_hash: ceff17141518c2cf6c5bef54b1c9319c3131dc1e10b195d1e45ed94e2f3f8b20, 相似度分数: 0.6177676916122437
|
|
2024-12-12 11:16:51,661 - INFO - 处理content_hash: 3c043b64437de21a84f9387c950f0b4277eb6448d250ce3ba990573aad75ffb4, 相似度分数: 0.6168495416641235
|
|
2024-12-12 11:16:51,662 - INFO - 处理content_hash: 1d22fc29f8a17a9dde49ca1a00170a42feadd474758b0b325d205f81b1ec34a9, 相似度分数: 0.6131041049957275
|
|
2024-12-12 11:16:51,662 - INFO - 处理content_hash: fa0dd93c5aa9be541029e6bf3f91e1953241d52df22c8aca7516faf51193e661, 相似度分数: 0.6083372831344604
|
|
2024-12-12 11:16:51,663 - INFO - 找到 5 条符合相似度要求的笔记
|
|
2024-12-12 11:16:51,663 - INFO - 准备调用GPT...
|
|
2024-12-12 11:16:51,663 - INFO - 调用GPT获取回答...
|
|
2024-12-12 11:17:05,962 - INFO - HTTP Request: POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions "HTTP/1.1 200 OK"
|
|
2024-12-12 11:17:05,969 - ERROR - 关闭数据库连接时出错: object NoneType can't be used in 'await' expression
|
|
2024-12-12 11:17:05,969 - INFO - GPT响应: 根据小红书上的笔记内容,最近流行的化妆品品类包括:
|
|
|
|
1. **面霜**:特别是针对干皮的面霜,如温碧泉的小红芯面霜,因其出色的保湿效果和性价比受到用户的喜爱。
|
|
|
|
2. **水乳套装**:大牌水乳套装如艾天然双效水乳、雪花秀滋盈水乳、资生堂悦薇水乳和兰蔻极光水乳,这些产品因其良好的口碑和效果受到用户的推荐。
|
|
|
|
3. **精华油**:针对敏感肌的精华油,如阿芙极光玫瑰精华油,因其温和不刺激、吸收快的特点,特别适合敏感肌用户进行淡斑、修护和提亮肤色。
|
|
|
|
4. **特殊皮肤护理产品**:对于脂溢性皮炎和玫瑰痤疮等特殊皮肤问题,用户推荐了一些特定的品牌和产品,如雅漾修复霜、娇韵诗双萃和雅诗兰黛第六代小棕瓶等。
|
|
|
|
这些品类的化妆品在小红书上受到了广泛的关注和好评,可以作为参考。如果你有具体的皮肤需求或偏好,可以根据这些趋势选择合适的产品。
|
|
2024-12-12 11:17:22,437 - INFO - 笔记选择改变: 高口碑版的年终水乳总结!大牌水乳这样选💡
|
|
(感谢观看,理性种草)一晃眼一年又过去了,这几天打算出几期年终总结,先来大牌水乳篇!有时候面对市面上琳琅满目的水乳不知道怎么选的时候,可以直接考虑大品牌,毕竟大品牌的实力和口碑都在那儿,盲选都不会出错...
|
|
❤️ 343 💬 42 ↗️ 4
|
|
WARNING: Invalid HTTP request received.
|
|
WARNING: Invalid HTTP request received.
|
|
WARNING: Invalid HTTP request received.
|
|
WARNING: Invalid HTTP request received.
|
|
WARNING: Invalid HTTP request received.
|
|
WARNING: Invalid HTTP request received.
|