deepset-cloud-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.9.1 • Public • Published

Deepset Cloud Client SDK

This is an inofficial deepset cloud client provided by Fakir Technology Consultants GmbH.

If you have any questions or feedback, feel free to open an issue or contact us at info@fakir.tech

Features

File Upload Handling

  • Throttling of requests
  • Retry on failed uploads
  • Data Deduplications (using unique meta fields)

Quick Examples

import { initialize } from 'deepet-cloud-sdk';

const deepsetCloudClient = initialize({apiKey: '...' });


await deepsetCloudClient.storeFile({
    fileContent: "I am Albet Einestein",
    fileName: "einstein.txt"
})

const { results } = await deepsetCloudClient.search( {   
            pipeline:"germanBert", 
            query:"Who ist Albert Einstein"
        })


for (let answer of results[0]) {
    console.log(answer.text); //
}

Readme

Keywords

Package Sidebar

Install

npm i deepset-cloud-sdk

Weekly Downloads

1

Version

0.9.1

License

none

Unpacked Size

10.4 kB

Total Files

3

Last publish

Collaborators

  • sfakir