मुख्य कंटेंट तक स्किप करें

AI सेवाओं का परिचय

AIBuds AI framework AI chat, audio recording, streaming speech recognition, text-to-speech, summary, text translation, simultaneous interpretation, conversation translation, image generation और AI asking services के लिए एक common entry point देता है।

हर AI service registered provider SDK से मिलती है जो AIConnectSDK को conform करता है। App शामिल provider SDKs के साथ AIBudsAISDK initialize करता है, AIServiceVendor चुनता है और फिर AIBudsAISDK की service-specific APIs call करता है।

उपलब्ध सुविधाएँ

इंटीग्रेशन प्रक्रिया

  1. App के लिए आवश्यक AI framework और provider SDKs install करें।
  2. AIBudsAISDK initialize करते समय provider SDK implementations register करें।
  3. डिवाइस connect होने के बाद उसकी AI device information AI framework को दें।
  4. setAIServiceVendor से .starBurst या .mltcloud चुनें।
  5. Provider authentication mode app-initiated हो तो authentication पूरा करें।
  6. आवश्यक AI service शुरू करें और उसके callbacks या session events संभालें।

AI सेवा प्रदाता

Public SDK अभी दो selectable AI service providers परिभाषित करता है:

Enum CaseAI सेवा प्रदाता
.starBurstStarBurst AI (ByteDance) सेवा
.mltcloudMltCloud AI (Meilc) सेवा

.none का अर्थ कोई provider selected नहीं है। यह default value है और usable AI service provider नहीं।

Provider registration और provider selection अलग operations हैं। Registration provider implementation को framework में उपलब्ध कराता है; selection तय करता है कि आगे की AI service requests किस registered provider को मिलेंगी।

सेवा उपलब्धता

Installed provider जरूरी नहीं कि हर service implement करे या दूसरे provider जैसी languages support करे। AIBudsAISDK से मिलने वाली provider metadata, जिसमें allSupportedLanguages शामिल है, उपयोग करें और individual operations से आने वाले unsupported-service errors संभालें।

आवश्यक शर्तें

  • AI services उपयोग करने से पहले base AIBuds SDK और AIBudsAISDK initialize करें।
  • Supported device connect करें और उसकी AI device information configure करें।
  • Registered AI service provider चुनें।
  • Provider को आवश्यकता हो तो authentication पूरा करें।
  • Cloud-backed services के लिए network connectivity बनाए रखें।

Provider initialization, selection और authentication checks के लिए AI सेवा प्रदाता चुनें देखें।