V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
helloword001
V2EX  ›  OpenAI

各位大佬,很好奇 chatdoc 和 chatpdf 和对一个网址进行总结是怎么实现的啊

  •  
  •   helloword001 · 190 天前 · 1119 次点击
    这是一个创建于 190 天前的主题,其中的信息可能已经有所发展或是发生改变。
    各位大佬,很好奇 chatdoc 和 chatpdf 和对一个网址进行总结是怎么实现的啊,有没有哪位大佬知道的啊
    8 条回复    2023-10-27 21:24:04 +08:00
    helloword001
        1
    helloword001  
    OP
       190 天前
    我顶
    luzemin
        2
    luzemin  
       190 天前   ❤️ 1
    简单画了下,大概就是这意思,中间的细节你自己再查下

    Selenium39
        3
    Selenium39  
       190 天前
    现在各种 chatXXX 太多了,能不能弄一个 chatAll 的网站
    ChatLaw: https://chatlaw.cloud
    ChatDoctor: https://github.com/Kent0n-Li/ChatDoctor
    ChatPPT: http://chatppt.closeai.red
    ChatDoc: https://chatdoc.com
    ChatDb: https://www.chatdb.ai
    edisonwong
        4
    edisonwong  
       190 天前
    @Selenium39 我写了个有点类似的,参考帖子 https://v2ex.com/t/983404 也许不是很完善,目前在优化中
    helloword001
        5
    helloword001  
    OP
       190 天前
    @luzemin 牛逼
    helloword001
        6
    helloword001  
    OP
       190 天前
    @edisonwong 你这开源吗,能学习一下吗
    edisonwong
        7
    edisonwong  
       190 天前
    @helloword001 我这个的内核的逻辑跟 quvir 没区别,可以看看 github quvir
    mmdsun
        8
    mmdsun  
       190 天前
    我用 Azure OpenAI GPT-4 ,接口它是支持自定义数据集,调用聊天接口指定数据源就可以了:背后也是向量搜索。
    https://learn.microsoft.com/zh-cn/azure/ai-services/openai/concepts/use-your-data#data-formats-and-file-types
    (——提示用这种认识搜索服务是要额外花钱的,如果考虑成本自建更好,开源向量数据库也很多)
    ```
    {
    "messages": [
    {
    "role": "user",
    "content": "who is my manager?"
    }
    ],
    "dataSources": [
    {
    "type": "AzureCognitiveSearch",
    "parameters": {
    "endpoint": "'$SearchEndpoint'",
    "key": "'$SearchKey'",
    "indexName": "'$SearchIndex'",
    "filter": "my_group_ids/any(g:search.in(g, 'group_id1, group_id2'))"
    }
    }
    ]
    }
    ```
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   742 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 21:16 · PVG 05:16 · LAX 14:16 · JFK 17:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.