အကြောင်းအရာသို့ ကျော်သွားရန်
AIChat

Command-line tool များ

AIChat ကို Shannon ဖြင့် အသုံးပြုခြင်း

AIChat ၏ config.yaml တွင် Shannon ကို openai-compatible client အဖြစ် ထည့်ပြီး Shannon model များပေါ်တွင် chat လုပ်ခြင်း၊ shell အကူအညီနှင့် agent များ run ပါ။

  • 2026 နို 7 တွင် စမ်းသပ်ထားသည်
  • OpenAI Chat Completions
  • ခန့်မှန်း 2 မိနစ်

AIChat အကြောင်း

AIChat သည် terminal တွင် model များနှင့် chat လုပ်ရန် Rust binary တစ်ခုတည်းဖြစ်ပြီး REPL၊ shell-command အကူအညီ၊ session၊ role၊ RAG နှင့် agent များ ပါသည်။ OpenAI-compatible service မည်သည့်အရာကိုမဆို client အဖြစ် လက်ခံသဖြင့် Shannon model များကို အခြားများနှင့်အတူ စာရင်းပြုပြီး သုံးနိုင်သည်။

လိုအပ်သည်များ

Shannon API key တစ်ခု
Keys & usage စာမျက်နှာ
အခြေ URL
https://api.shannon-ai.com/v1 အဆုံးမှတ်: /v1/chat/completions
အောက်ပါ နမူနာအားလုံးသည် သင့်ရွေးချယ်မှုအတိုင်း ပြောင်းလဲသည်။

သတ်မှတ်ပုံ

  1. Shannon ကို client အဖြစ် ထည့်ပါ

    ~/.config/aichat/config.yaml ကို ပြင်ပါ။ ပုံသေ model ကို <client name>:<model id> ဟု ရေးသည်။

    ~/.config/aichat/config.yaml
    model: shannon:shannon-3
    clients:
      - type: openai-compatible
        name: shannon
        api_base: https://api.shannon-ai.com/v1
        api_key: YOUR_API_KEY
        models:
          - name: shannon-3
            max_input_tokens: 196608
            max_output_tokens: 65536
            supports_function_calling: true
  2. Chat လုပ်ပါ

    Shell
    aichat "Name three colours a cat can be."
    shannon:shannon-coder-1 ပေါ်ရှိ AIChat- စာရင်းထဲရှိ model၊ ထို့နောက် ခေါက်ထားသော think block နှင့် ကြောင်အရောင်များအကြောင်း တစ်ကြောင်းတည်းအဖြေ
    အထက်ပါ client ဖြင့် AIChat 0.30.0 ပေါ်တွင် တကယ်လုပ်ကြည့်ခြင်း- reasoning အရင်၊ ထို့နောက် အဖြေ။

အလုပ်လုပ်ကြောင်း စစ်ဆေးပါ

ပို့ရန်: aichat --list-models | grep shannon

မြင်ရမည့်အရာ: စာရင်းထဲတွင် shannon:<id>။

AIChat နှင့် ကိုက်ညီသော model များ

အောက်ပါ id တိုင်းသည် AIChat ၏ လိုအပ်ချက်နှင့် ကိုက်ညီသည်။ ပထမ id သည် code နမူနာများတွင် default ဖြစ်သည်။

မော်ဒယ် IDContext အရွယ်အများဆုံး outputပုံ ထည့်သွင်းမှု
shannon-3 196,608 65,536 ဟုတ်
shannon-3-pro 196,608 65,536 ဟုတ်
Kimi-K3-uncensored-3BIT-REAP 225,280 225,280 ဟုတ်
Kimi-K3-uncensored-NVFP4 1,022,976 262,144 ဟုတ်

သိထားသင့်သည်များ

  • Shannon id တစ်ခုစီကို models အောက်တွင် စာရင်းပေးပါ၊ AIChat သည် openai-compatible client အတွက် သင်စာရင်းပေးသော id များကိုသာ ပြသည်။
  • key သည် ဖိုင်ထဲတွင် ရှိသည်၊ config.yaml ကို သင်တစ်ဦးတည်းသာ ဖတ်နိုင်အောင် ထားပါ။
  • reasoning ပြန်ပေးသော model များအတွက် (Shannon model များကဲ့သို့) AIChat သည် model ၏ reasoning ကို အဖြေမတိုင်မီ <think> block အဖြစ် ပြသည်။

အကြံပြုချက်များ

  1. aichat -m shannon:<id> သည် command တစ်ခုအတွက် model ရွေးသည်၊ .model သည် REPL အတွင်း ပြောင်းသည်။
  2. aichat -e "…" သည် တောင်းဆိုမှုကို shell command အဖြစ် ပြောင်းပြီး မ run မီ မေးသည်။
  3. aichat -s <name> သည် အမည်ပေးထားသော session ကို run များကြား ထိန်းထားသည်။

ပြဿနာဖြေရှင်းခြင်း

လက္ခဏာအကြောင်းရင်းဖြေရှင်းနည်း
Unknown model model ကို <client>:<id> ဟု မရေးထားပါ၊ သို့မဟုတ် id ကို client အောက်တွင် စာရင်းမပေးထားပါ။ shannon:<id> ကို သုံးပြီး id ကို models အောက်တွင် စာရင်းပေးပါ။
404 Not Found api_base တွင် /v1 မပါပါ။ https://api.shannon-ai.com/v1 ကို သုံးပါ။
401 Unauthorized Key မရှိခြင်း၊ စာလုံးပေါင်းမှားခြင်း သို့မဟုတ် လဲလှယ်ပြီးသွားခြင်း ဖြစ်သည်။ Keys & usage မှ key ကို ထပ်မံကူးယူပါ။ ၎င်းသည် sk- ဖြင့် စတင်သည်။
context_length_exceeded သို့မဟုတ် "prompt is too long" စာတို စကားပြောဆိုမှုသည် model ၏ context window ထက် ပိုရှည်နေသည်။ chat အသစ် စတင်ပါ၊ tool ကို ချုံ့ခွင့်ပေးပါ သို့မဟုတ် window ပိုကြီးသော model ကို ရွေးပါ။
insufficient_quota သင့် လက်ကျန်ငွေသည် request အတွက် ပေးချေရန် မလုံလောက်ပါ။ Top up ပြုလုပ်ပါ သို့မဟုတ် plan ပြောင်းပါ။ request ကို အလိုအလျောက် ပြန်မပို့ပါ။

မေးခွန်းများ

AIChat သည် Shannon နှင့် အလုပ်လုပ်ပါသလား။

လုပ်ပါသည်၊ api_base: https://api.shannon-ai.com/v1 ပါသော openai-compatible client အဖြစ် ဖြစ်သည်။

AIChat သည် Shannon model အများအပြားကို သုံးနိုင်ပါသလား။

နိုင်ပါသည်၊ client အောက်တွင် စာရင်းပေးပြီး -m သို့မဟုတ် .model ဖြင့် ပြောင်းပါ။

SHANNON NVIDIA Inception အစီအစဉ် အမှတ်တံဆိပ် SHANNON LAB LLC သည် NVIDIA Inception အစီအစဉ်၏ အဖွဲ့ဝင်ဖြစ်သည်။

သင့်ဘာသာကို ရွေးချယ်ပါ

ဘာသာအားလုံးသည် တန်းတူဖြစ်သည်။ သင်အသုံးပြုလိုသော ဘာသာကို ရွေးပါ။

ဥရောပ

အရှေ့အလယ်ပိုင်းနှင့် မြောက်အာဖရိက

တောင်အာရှ

အရှေ့တောင်အာရှ

အရှေ့အာရှ

ဗဟိုအာရှနှင့် ကော့ကေးဆပ်

အာဖရိက

သမုဒ္ဒရာဒေသ

ဖန်တီးထားသော နှင့် ဂန္ထဝင်