Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@replit/ai

Package Overview
Dependencies
Maintainers
29
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@replit/ai

A library for building AI applications in JavaScript and TypeScript.

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
29
Weekly downloads
 
Created
Source

@replit/ai

A library for building AI applications in JavaScript and TypeScript.

Requirements

  1. Running On Replit: it is required to be running on Replit (either in development or in a deployment) to be able to use this package. You must also subscribe to one of our paid plans. This requirement will loosen up in the future.
  2. Supported backends: Node 18+, Deno, and Bun. In essence the backend needs to have support for the fetch API. You may be able to use older version of Node as long as you polyfill your runtime with fetch prior to calling into the API.

Usage

The library implements an API for text completion, chat completion, and generating embeddings. It supports streaming so that you can provide your users with the best user experience.

The library is available on NPM as @replit/ai.

You can check out the API reference

Here is a simple command line chat demo using this library

Keywords

FAQs

Package last updated on 12 Sep 2023

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