datana-gmbh/mongodb-ai

Use AI in MongoDB

1.1.1 2023-11-08 19:53 UTC

This package is auto-updated.

Last update: 2024-10-16 08:13:37 UTC


README

Usage

Installation

composer require datana-gmbh/mongodb-ai

Setup

use Datana\Datapool\Api\MongoDBAI;

$client = new MongoDBAI(
    baseUri: 'https://api.datapool...',
    username: 'my-username',
    password: '******',
    timeout: 10 // optional
);

// you can now request any endpoint which needs authentication
$client->request('GET', '/api/something', $options);