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-06-16 07:24:22 UTC


README

mongodb-ai

Branch PHP Code Coverage
master PHP Code Coverage

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);