kenxt
kenxt
明白了,主要使看到fastgpt会把md中的base64图片解析出来存到mongodb里去,所以想用md方式上传。如果能有ragflow中那样,有个设置为一个分段(其实是部分)就方便了。pdf我看到是可以不分段的,目前pdf解析时内容识别结果需要调整。 建议增加一个不分段
在docker-compose.yml中fastgpt的环境变量environment中可以定义mongodb/redis/postgresql的地址链接 下面是pgvector版本 # MongoDB 连接参数. 用户名myusername,密码mypassword。 - MONGODB_URI=mongodb:// # pg 连接参数 - PG_URL=postgresql:// # Redis 连接参数 - REDIS_URL= 下面是milvus版本 # MongoDB 连接参数. 用户名myusername,密码mypassword。 - MONGODB_URI=mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin # zilliz 连接参数 - MILVUS_ADDRESS=http://milvusStandalone:19530...
I have the same error, when I executed: RAILS_ENV=production bundle exec rake canvas:compile_assets --trace: ...... rake aborted! Parallel::UndumpableException: FrozenError: can't modify frozen Array: ["/usr/src/app/app/controllers", "/usr/src/app/app/controllers/concerns", "/usr/src/app/app/graphql", "/usr/src/app/app/helpers", "/usr/src/app/app/messages", "/usr/src/app/app/models", "/usr/src/app/app/observers",...
I think I have found the answer. I have reviewed the code content of models/page-view.rb#self.page-viewed_method: def self.page_view_method enable_page_views = Setting.get("enable_page_views", "false") return false if enable_page_views == "false" enable_page_views = "db"...
The current canvas version does not support writing page views to cassandra. dB/migrate/20240604155656_migrate_cassandra_data_to_postgres.rb is used to copy data from cassandra to postgres and set enable_page_view to db.
厂商选腾讯呢,另外不通过渠道而直接添加腾讯模型是否可以。我试了阿里云模型直接添加可以的,不走渠道,走渠道也是报401
已经配置了环境变量,如下图: 
架构是下面的样子:  因为用MinerU解析pdf时部分图片有问题,需要替换,替换的图片就放在/images下面了,在知识库中修改或增加图片链接时用的是相对目录,比如:  的格式,如果指定域名肯定是没有问题的,目前是这种情况下调用,偶发被替换为与内容有关(文本中出现过)的域名。这么设置主要是考虑图片调用域名不和域名绑定,如果支持知识库编辑时在文本框中粘贴图片实现上传就更好了。类似github编辑框这样。
I modified the code in aws_s3_storage.py, checked the oss settings, but there are still errors.
仔细看了一下日志,是图片调用时url问题,修改了docker-compose.yml中FE_DOMAIN(不要带端口号)后正常