အလိုအလျောက်လုပ်ငန်းနှင့် agent တည်ဆောက်သည့် tool များ
Activepieces ကို Shannon ဖြင့် အသုံးပြုခြင်း
Activepieces ၏ AI Center တွင် Shannon ကို Other (OpenAI Compatible) key အဖြစ် ချိတ်ပြီး model id များကို ရိုက်ထည့်လျှင် သင့် flow များရှိ AI step နှင့် agent များသည် Shannon model များဖြင့် run မည်။
- 2026 နို 7 တွင် စမ်းသပ်ထားသည်
- OpenAI Chat Completions
- ခန့်မှန်း 5 မိနစ်
Activepieces အကြောင်း
Activepieces သည် open-source automation platform ဖြစ်ပြီး cloud တွင် သို့မဟုတ် ကိုယ်တိုင် host လုပ်၍ သုံးနိုင်ကာ app connector၊ AI step နှင့် agent ရာနှင့်ချီ ပါဝင်သည်။ Platform admin များက AI Center တွင် model provider များကို တစ်ကြိမ်ချိတ်လျှင် ခွင့်ပြုထားသော project တိုင်း သုံးနိုင်သည်။ Shannon ချိတ်ပြီးနောက် Ask AI၊ Summarize Text နှင့် Run Agent ကဲ့သို့ step များသည် Shannon model များဖြင့် run သည်။
လိုအပ်သည်များ
- Shannon API key တစ်ခု
- Keys & usage စာမျက်နှာ
- အခြေ URL
-
https://api.shannon-ai.com/v1အဆုံးမှတ်:/v1/chat/completions - အောက်ပါ နမူနာအားလုံးသည် သင့်ရွေးချယ်မှုအတိုင်း ပြောင်းလဲသည်။
သတ်မှတ်ပုံ
-
ကိုယ်တိုင် host လုပ်ခြင်း- Activepieces ကို secret နှစ်ခုဖြင့် စတင်ပါ
Activepieces Cloud တွင် ဤအဆင့်ကို ကျော်ပါ။ container တစ်ခုတည်း setup သည်
AP_JWT_SECRETနှင့်AP_ENCRYPTION_KEYလိုအပ်သည်- မပါလျှင် version 0.92 သည် စတင်ချိန်တွင် “Environment variable AP_WORKER_TOKEN is not set” ဖြင့် ထွက်သွားသည်။http://localhost:8080ကိုဖွင့်ပြီး sign up လုပ်ပါ၊ ပထမ account သည် platform admin ဖြစ်သည်။Dockerdocker run -d --name activepieces -p 127.0.0.1:8080:80 \ -v ~/.activepieces:/root/.activepieces \ -e AP_DB_TYPE=PGLITE \ -e AP_REDIS_TYPE=MEMORY \ -e AP_FRONTEND_URL="http://localhost:8080" \ -e AP_JWT_SECRET=$(openssl rand -hex 32) \ -e AP_ENCRYPTION_KEY=$(openssl rand -hex 16) \ activepieces/activepieces:latest -
AI Center တွင် Shannon ကို ချိတ်ပါ
Platform Admin → AI Center သို့ သွားပြီး Add key ကိုနှိပ်ကာ Other (OpenAI Compatible) ကို ရွေးပါ။ Activepieces သည် key ကို သင်အမည်ပေးသော header အောက်တွင် ရိုက်သည့်အတိုင်း ပို့သဖြင့်
x-api-keyကို key သီးသန့်ဖြင့် သုံးပါ။ API style ကို Chat completions တွင်ထားပြီး Connect ကို နှိပ်ပါ။Other (OpenAI Compatible)Name: Shannon Base URL: https://api.shannon-ai.com/v1 API key: YOUR_API_KEY API key header: x-api-key API style: Chat completions
Activepieces 0.92.3 ပေါ်ရှိ အမှန်တကယ် setup- Shannon အတွက် ဖြည့်ထားသော provider dialog။ -
Model id များကို ရိုက်ထည့်ပါ
ဤ provider သည် Shannon ၏ model စာရင်းကို မဖတ်ပါ။ key ၏ စာမျက်နှာတွင် Models အောက်၌ Shannon id တစ်ခုစီကို ရိုက်ထည့်ပြီး Text ကိုထားကာ Add ကိုနှိပ်ပြီး Save နှိပ်ပါ။
ModelKimi-K3-uncensored-NVFP4
Activepieces 0.92.3 ရှိ Shannon key- active ဖြစ်ပြီး model id တစ်ခု ထည့်ထားသည်။ -
Ask AI step တစ်ခု ထည့်ပြီး စမ်းသပ်ပါ
flow တွင် + ကိုနှိပ်ပြီး AI & Agents → AI → Ask AI ကိုဖွင့်ကာ provider အဖြစ် OpenAI Compatible ကိုရွေးပါ၊ Shannon id ကိုရွေးပြီး prompt ကို ရေးပါ။ Test Step က တစ်ကြိမ် run ပြီး အဖြေကို ပြသည်။ Run Agent နှင့် အခြား AI action များလည်း provider တူကို သုံးသည်။
Activepieces 0.92.3 ပေါ်ရှိ အမှန်တကယ် run- Ask AI ကို စက္ကန့် 12 အတွင်း အောင်မြင်စွာ စမ်းသပ်ခဲ့သည်။
အလုပ်လုပ်ကြောင်း စစ်ဆေးပါ
ပို့ရန်: ကြောင်တစ်ကောင် ဖြစ်နိုင်သော အရောင်သုံးမျိုးကို စာကြောင်းတိုတစ်ကြောင်းဖြင့် ပြောပါ။
မြင်ရမည့်အရာ: Tested Successfully နှင့် Output အောက်တွင် “ကြောင်တစ်ကောင်သည် အနက်၊ လိမ္မော်ရောင် သို့မဟုတ် အဖြူရောင် ဖြစ်နိုင်သည်။” ကဲ့သို့ စာကြောင်းတစ်ကြောင်း။
Activepieces နှင့် ကိုက်ညီသော model များ
အောက်ပါ id တိုင်းသည် Activepieces ၏ လိုအပ်ချက်နှင့် ကိုက်ညီသည်။ ပထမ id သည် code နမူနာများတွင် default ဖြစ်သည်။
| မော်ဒယ် ID | Context အရွယ် | အများဆုံး output | ပုံ ထည့်သွင်းမှု |
|---|---|---|---|
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | ဟုတ် |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | ဟုတ် |
shannon-3 | 196,608 | 65,536 | ဟုတ် |
shannon-coder-1 | 131,072 | 65,536 | မဟုတ် |
သိထားသင့်သည်များ
- Connect ကို နှိပ်ခြင်းသည် လိပ်စာနှင့် header ပုံစံမှန်ကန်မှုကိုသာ စစ်သည်၊ ထိုအချိန်တွင် Activepieces သည် Shannon ကို မခေါ်ပါ။ key မှားနေလျှင် step တစ်ခု run သောအခါမှ ပထမဆုံး ပေါ်လာသည်။
- header အဖြစ်
Authorizationကို အစားသုံးလိုလျှင် key ကိုBearer sk-…ဟု ရိုက်ပါ- Activepieces က ရှေ့တွင် ဘာမျှ မထည့်ပေးပါ။ - ကျွန်ုပ်တို့ စမ်းသပ်ခဲ့သော ကိုယ်တိုင် host လုပ်သည့် Community Edition တွင် AI Center သည် ငွေပေးချေသော plan မလိုပါ။ Activepieces docs တွင် သင့်ကိုယ်ပိုင် key များအတွက် AI provider ပါဝင်သော plan လိုသည်ဟု ဆိုထားသဖြင့် Cloud တွင် သင့် plan ကို စစ်ပါ။
- Shannon model များကို Text အဖြစ် ထားပါ- Shannon တွင် ပုံ သို့မဟုတ် embeddings endpoint မရှိပါ။
- Run Agent သည် tool များကို loop လုပ်ပြီး ခေါ်သဖြင့် agent step တစ်ခုက request အများအပြား ပို့နိုင်သည်၊ Ask AI က တစ်ခုသာ ပို့သည်။
အကြံပြုချက်များ
- flow ကို မထုတ်ပြန်မီ AI step တစ်ခုကို သီးသန့် run ရန် step panel ရှိ Test Step (Ctrl + G) ကို နှိပ်ပါ၊ အဖြေသည် Output အောက်တွင် ပေါ်သည်။
- step တွင် provider ကို key အား သင်ပေးထားသော အမည်အောက်တွင်မဟုတ်ဘဲ OpenAI Compatible ဟု စာရင်းပြသည်၊ ထို့နောက် model menu တွင် သင်ရိုက်ထည့်ထားသော id များ ပေါ်သည်။
- Shannon ကို မည်သည့် project များ သုံးနိုင်သည်ကို ရွေးရန် key ၏ စာမျက်နှာရှိ Project access ကို သုံးပါ၊ ၎င်းသည် All ဖြင့် စသည်။
- Ask AI သည် အဖြေများကို မူလအားဖြင့် token 2000 တွင် ကန့်သတ်သည်၊ မူကြမ်းရှည်များအတွက် step ထဲရှိ Max Tokens ကို မြှင့်ပါ။
- Credentials → Replace ဖြင့် key ကို လဲလှယ်ပါ၊ model စာရင်းနှင့် project access သည် မပြောင်းပါ။
ပြဿနာဖြေရှင်းခြင်း
| လက္ခဏာ | အကြောင်းရင်း | ဖြေရှင်းနည်း |
|---|---|---|
| container သည် “Environment variable AP_WORKER_TOKEN is not set” ဖြင့် ထွက်သွားသည် | Activepieces 0.92 သည် worker token ကို AP_JWT_SECRET မှ တည်ဆောက်ပြီး Docker command အတိုက ၎င်းကို ချန်ထားသည်။ | AP_JWT_SECRET (openssl rand -hex 32) နှင့် AP_ENCRYPTION_KEY (openssl rand -hex 16) ကို သတ်မှတ်ပြီး ပြန်စတင်ပါ။ |
| key သည် Active ဟု ပြသော်လည်း step သည် 401 ဖြင့် မအောင်မြင်ပါ | Connect ပေါ်ရှိ စစ်ဆေးမှုသည် Shannon ကို မဆက်သွယ်သဖြင့် key သို့မဟုတ် header မှားနေသည်ကိုလည်း သိမ်းထားမိသည်။ | Credentials → Replace ကို သုံးပါ- header x-api-key ကို key သီးသန့်ဖြင့်၊ သို့မဟုတ် Authorization ကို Bearer sk-… ဖြင့်။ |
| “… is not a valid base URL” ဟု ပြသည် | Base URL တွင် https:// မပါပါ။ | https://api.shannon-ai.com/v1 ကို ထည့်ပါ။ |
| step ၏ model menu တွင် Shannon id မပါပါ | model များကို key ၏ စာမျက်နှာတွင် ရိုက်ထည့်ရမည်၊ Shannon မှ ဘာမျှ မဖတ်ပါ။ | id ကို Models အောက်တွင် Text အဖြစ် ထည့်ပြီး Save နှိပ်ကာ step ထဲရှိ Model ဘေးရှိ refresh icon ကို နှိပ်ပါ။ |
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 ကို အလိုအလျောက် ပြန်မပို့ပါ။ |
မေးခွန်းများ
Activepieces သည် Shannon နှင့် အလုပ်လုပ်ပါသလား။
လုပ်ပါသည်၊ AI Center ရှိ base URL https://api.shannon-ai.com/v1 ပါသော Other (OpenAI Compatible) key အဖြစ်။
Activepieces က Responses API ကို သုံးနိုင်ပါသလား။
နိုင်ပါသည်။ key ၏ API style သည် Chat completions သို့မဟုတ် Responses ဖြစ်နိုင်ပြီး Shannon က နှစ်ခုလုံးကို ပေးသည်။ ကျွန်ုပ်တို့ Chat completions ကို စမ်းသပ်ခဲ့သည်။
agent များ အလုပ်လုပ်ပါသလား။
Run Agent သည် tool ခေါ်နိုင်သော model လိုအပ်သည်၊ Shannon model များ ခေါ်နိုင်သည်။ Ask AI နှင့် provider နှင့် model menu တူကို သုံးသည်။