New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@webgpt/sdk

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webgpt/sdk

Library to supercharge your use of large language models

  • 0.10.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

⏣ WebGPT SDK

WebGPT SDK is a TypeScript / JavaScript library for interacting with the WebGPT API.

Usage

First, install the package:


npm i @webgpt/sdk

Then, you can use the SDK in your code:

import { WebgptSdk } from '@webgpt/sdk';

const webgpt = new WebgptSdk({
    apiKey: 'YOUR_API_KEY',
});

const task = webgpt.makeAssignment({
    idea: `Crocodile zoo`
    language: `en`,
});

const { assignment } = await task.asPromise();

console.info(`Assignment:`, '\n', assignment);

See more usage examples in the /samples directory.

Access

This is internal SDK for our partners. If you are interested in using it, please contact us at pavol@webgpt.cz.

Keywords

FAQs

Package last updated on 13 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc