Skip to main content

Initialization

Initialize the Altibbi SDK with the following parameters:

  • Partner Endpoint: Your partner endpoint (will be shared with you upon request).
  • Token: Authentication token from your backend.
  • Language: Preferred language for responses either Arabic (default) or English.
  • Sina Model End Point: Altibbi Sina AI Model.
import { init } from 'react-native-altibbi';

init('TOKEN', 'PARTNER_ENDPOINT', 'LANGUAGE', 'SINA_MODEL_ENDPOINT_OPTIONALLY');

After the initiation you can start using the APIs and ready-to-use functions included in react-native-altibbi