ChatGPT နှင့် Gemini အစားထိုးနိုင်သော open-source ဖြေရှင်းချက်: စစ်ဆေးနိုင်သောတွေးခေါ်မှု၊ ဘာသာ ၂၉ မျိုးတွင် ပါဝင်သည်၊ Home Assistant နှင့် ချိတ်ဆက်၍ open-source ဖြင့် အိမ်ကို ထိန်းချုပ်နိုင်သည်။
iPhone၊ Android တွင် ရနိုင်သည်၊ Windows၊ macOS နှင့် Linux အတွက် pip / docker / git ဖြင့်လည်း ထည့်သွင်းနိုင်သည်။
📱 မိုဘိုင်းအက်ပ်များ ယခုရနိုင်ပြီ
သင့်ဖုန်းပေါ်ရှိ ကိုယ်ပိုင် AI အေးဂျင့်: သီးသန့်၊ ကိုယ်ပိုင်ကိရိယာပဦးစားပေး၊ open source
အမြန်ဆုံးနှင့် လွယ်ကူဆုံးနည်းလမ်း။ ပထမဦးဆုံးအသုံးပြုချိန် setup wizard ပါဝင်သည်။ Windows၊ macOS နှင့် Linux တွင် အသုံးပြုနိုင်သည်။
pip install ciris-agentထို့နောက် run ပါ: ciris-agent — ပထမဦးဆုံး run wizard ကို စတင်ရန်
CIRIS ကို သီးခြား container ပတ်ဝန်းကျင်တွင် run ပါ။ ပြန်လည်ထုတ်ယူနိုင်သော local သို့မဟုတ် server deployments လိုချင်သောအခါ အကောင်းဆုံးဖြစ်သည်။
docker compose up -dဖန်တီးမှု၊ ပြင်ဆင်မှု သို့မဟုတ် ပါဝင်ဆောင်ရွက်မှုအတွက် repository ကို clone ပါ။ source code အပြည့်အဝ ဝင်ရောက်နိုင်သည်။
git clone https://github.com/CIRISAI/CIRISAgent.gitထို့နောက်: README.md ကို လိုက်နာ၍ လက်ဖြင့် setup ညွှန်ကြားချက်များကို ဖတ်ပါ
တဖြည်းဖြည်း rollout၊ အလိုအလျောက် testing နှင့် rollback စွမ်းရည်များဖြင့် managed canary deployments။ production fleet များအတွက်ဖြစ်သည်။
CIRISManager သည် ကျန်းမာရေး monitoring ဖြင့် အလိုအလျောက် blue-green deployments ပေးသည်။ deployment configurations အတွက် team နှင့် ဆက်သွယ်ပါ။
ပထမဦးဆုံး ပြန်ကြားချက်ရရန် အတိုဆုံးနည်းလမ်း။ agent ကို start ပြီး Python မှ ခေါ်ပါ။ အောက်ပါ block နှစ်ခုလုံးကို ကူး-ကပ်နိုင်သည်။
API adapter ကို run ပါ။ port 8080 ကို မူလသတ်မှတ်ချက်အဖြစ် အသုံးပြုသည်။ OBSERVER ဝင်ရောက်မှုသည် local development အတွက် auth မလိုအပ်ပါ။
pip install ciris-agent ciris-agent --adapter api --port 8080
Async SDK. response.processing_time_ms + response.state တို့ဖြင့် ခေါ်ဆိုမှုတိုင်းတွင် တွေးခေါ်မှု surface ကို မြင်နိုင်သည်။
pip install ciris-sdk
# hello_ciris.py
import asyncio
from ciris_sdk import CIRISClient
async def main():
async with CIRISClient(
base_url="http://localhost:8080",
) as client:
response = await client.interact(
"Hello, CIRIS!"
)
print(response.response)
print(
f"[{response.state}] "
f"{response.processing_time_ms}ms"
)
asyncio.run(main())SDK သည် pre-beta ဖြစ်သည်။ ထုတ်ဝေမှုများကြား interface များ ပြောင်းလဲနိုင်သည်။ API surface အပြည့်အဝ (module ၁၅ ခုတွင် endpoint ၁၈၁ ခု) ကို ciris_sdk on GitHub တွင် မှတ်တမ်းပြုထားသည်။
Python 3.10 သို့မဟုတ် ထို့အထက်ရှိမရှိ စစ်ဆေးပါ:
python --version
pip ကို upgrade လုပ်ကြည့်ပါ:
pip install --upgrade pip
container logs များကို စစ်ဆေးပါ:
docker logs ciris-agent
Docker Compose file ကို စစ်ဆေးပါ:
docker compose -f ~/ciris/docker-compose.yml ps