V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
sigoden
V2EX  ›  分享创造

Aichat: 在终端中使用 GPT-4(V)、Gemini、LocalAI、Ollama、通义千问等大模型

  •  
  •   sigoden · 123 天前 · 1428 次点击
    这是一个创建于 123 天前的主题,其中的信息可能已经有所发展或是发生改变。

    项目地址: https://github.com/sigoden/aichat

    支持的大模型

    • OpenAI: gpt-3.5/gpt-4/gpt-4-vision
    • Gemini: gemini-pro/gemini-pro-vision/gemini-ultra (免费)
    • LocalAI: opensource LLMs (免费)
    • Ollama: opensource LLMs (免费)
    • Azure-OpenAI: user deployed gpt-3.5/gpt-4
    • 文心一言: ernie-bot-turbo/ernie-bot/ernie-bot-8k/ernie-bot-4
    • 通义千问: qwen-turbo/qwen-plus/qwen-max/qwen-max-longcontext/qwen-vl-plus (部分免费)

    特性

    • 有两种模式:REPL/Command
    • 支持角色
    • 支持上下文感知对话(会话)
    • 支持多模式模型(如视觉)
    • 语法高亮显示 Markdown 和 200 种其他语言
    • 流式输出
    • 支持代理
    • 深色/浅色主题
    • 保存消息/会话

    REPL 模式:

    chat-repl mode

    Command 模式:

    command mode

    6 条回复    2024-02-21 21:21:15 +08:00
    billzhuang
        1
    billzhuang  
       123 天前 via iPhone
    请问支持 latex 嘛
    sigoden
        2
    sigoden  
    OP
       123 天前
    @billzhuang 支持 latex 高亮,不支持 latex 形变。
    sigoden
        3
    sigoden  
    OP
       123 天前
    文心一言最近更新了收费策略。大家谨慎考虑是否使用。

    cyio
        4
    cyio  
       101 天前
    这个需求在大陆挺常见的,希望支持下
    feat: custom Gemini api base by cyio · Pull Request #292 · sigoden/aichat https://github.com/sigoden/aichat/pull/292
    cyio
        5
    cyio  
       101 天前
    管道协同是亮点,可以直接与本地文件交互
    举例 cat tmp.js |aichat convert to ts | sed '1d;$d' > tmp.ts
    coolloves
        6
    coolloves  
       66 天前
    感谢分享,终端用着还挺好的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3214 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 12:15 · PVG 20:15 · LAX 05:15 · JFK 08:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.