Loading

摘要: 机器学习: https://blog.csdn.net/weixin_44789022/article/details/137631634 https://docs.pingcode.com/ask/ask-ask/189158.html 阅读全文
posted @ 2024-06-20 11:13 踩坑大王 阅读(22) 评论(0) 推荐(0)
摘要: import configparser import unittest from configparser import SectionProxy def test_read_llm_config(provider: str): file = '../llm_config.cfg' config = 阅读全文
posted @ 2025-11-03 18:12 踩坑大王 阅读(2) 评论(0) 推荐(0)
摘要: 默认账号ec2-user 该服务器在旧电脑上有保存密钥对,需要对此做更新和替换 在aws控制台登陆实例: 开放ssh权限 $ sudo -i $ vi /etc/ssh/sshd_config PasswordAuthentication no,把 no 改成 yes #PermitRootLogi 阅读全文
posted @ 2025-11-03 16:17 踩坑大王 阅读(4) 评论(0) 推荐(0)
摘要: 等补充 阅读全文
posted @ 2025-11-03 09:43 踩坑大王 阅读(3) 评论(0) 推荐(0)
摘要: 走vlm需要将excel 转换成 pdf 存在一个问题: 当表头过长时,转换后会被分页 因此需要设置参数手动调整 解决方案: https://www.e-iceblue.com/Tutorials/Python/Spire.XLS-for-Python/Program-Guide/Conversio 阅读全文
posted @ 2025-10-29 10:10 踩坑大王 阅读(3) 评论(0) 推荐(0)
摘要: @staticmethod def get_user_kb_visit_records(tenant_id: str, user_id: str, page: int, limit: int) -> dict: query = KnowledgeBaseUserVisitLog.query.filt 阅读全文
posted @ 2025-09-30 17:51 踩坑大王 阅读(7) 评论(0) 推荐(0)
摘要: https://linux.do/t/topic/963151/21 阅读全文
posted @ 2025-09-17 12:44 踩坑大王 阅读(5) 评论(0) 推荐(0)
摘要: import json import logging from collections.abc import Generator from datetime import datetime from typing import Any, Union from core.agent.base_agen 阅读全文
posted @ 2025-07-28 11:09 踩坑大王 阅读(12) 评论(0) 推荐(0)
摘要: 这是一个非常深刻的问题,直击 gevent 和 asyncio 混合编程的核心。 你提供的代码是合作式的,它的设计目的就是为了融入 gevent 的事件循环。event.wait() 会让出当前 greenlet 的控制权给 gevent 的主调度器(hub),主调度器再去运行其他的 greenle 阅读全文
posted @ 2025-07-15 11:02 踩坑大王 阅读(19) 评论(0) 推荐(0)
摘要: from gevent import monkey monkey.patch_all() import grpc.experimental.gevent grpc.experimental.gevent.init_gevent() def invoke_mcp(self, model_mode: M 阅读全文
posted @ 2025-07-08 17:18 踩坑大王 阅读(78) 评论(0) 推荐(0)
摘要: 总结: ragflow表格内嵌图片无法提取 表格下的图注没有提取 测试用例1 缺陷1 原文: ragflow解析效果: 平台: 缺陷2 原文: ragflow解析效果: 阅读全文
posted @ 2025-06-21 14:37 踩坑大王 阅读(41) 评论(0) 推荐(0)
摘要: 配置环境变量 按需求修改docker/.env 启动docker-compose-base.yml容器 使用uv安装依赖 部分依赖包在macos下不支持,需要注释掉或者更换版本 注释 pyproject.toml 中的"xgboost==1.5.0", 启动task_executor.py 启动ra 阅读全文
posted @ 2025-05-27 17:49 踩坑大王 阅读(287) 评论(0) 推荐(0)
摘要: # 提取内容,构建表单 base_from = { "product": "香水", # 产品 "product_attr": "30ml", "product_num": "1", } email_forms = [] for email in emails: email_from = base_ 阅读全文
posted @ 2025-05-13 17:21 踩坑大王 阅读(29) 评论(0) 推荐(0)
摘要: CREATE OR REPLACE FUNCTION update_chat_groups() RETURNS VOID AS $$ DECLARE raw_config_text TEXT; cleaned_config_text TEXT; chat_group_rec RECORD; curr 阅读全文
posted @ 2025-05-06 08:47 踩坑大王 阅读(21) 评论(0) 推荐(0)
摘要: ![image](https://img2024.cnblogs.com/blog/1892858/202504/1892858-20250430125851383-2086646991.png) ![image](https://img2024.cnblogs.com/blog/1892858/202504/1892858-20250430125820817-1722109838.png) ![ 阅读全文
posted @ 2025-04-30 12:58 踩坑大王 阅读(1) 评论(0) 推荐(0)
摘要: edc-rag(Efficient Dynamic Clustering-based document Compression for Retrieval-Augmented Generation) https://arxiv.org/abs/2504.03165 https://mp.weixin 阅读全文
posted @ 2025-04-08 00:30 踩坑大王 阅读(35) 评论(0) 推荐(0)