npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@slates-integrations/openai

v0.2.0-rc.9

Published

Generate text, images, audio, and video using large language models and multimodal AI. Create chat completions, generate and edit images from text prompts, convert text to speech, transcribe and translate audio, generate video, and create text embeddings

Readme

Openai

Generate text, images, audio, and video using large language models and multimodal AI. Create chat completions, generate and edit images from text prompts, convert text to speech, transcribe and translate audio, generate video, and create text embeddings for search and retrieval. Fine-tune models on custom training data, run evaluations to measure model performance, and moderate content against policy categories. Manage vector stores for semantic file search, upload and organize files, and submit batch processing jobs for asynchronous bulk requests. Conduct real-time speech-to-speech conversations via WebRTC or SIP. Administer organizations, projects, users, API keys, and audit logs programmatically. Receive webhook notifications for background responses, batch jobs, fine-tuning jobs, eval runs, and incoming realtime calls.

Tools

Create Embeddings

Generate vector embeddings for text input using OpenAI embedding models (text-embedding-3-small, text-embedding-3-large). Useful for search, RAG, clustering, and semantic similarity. Supports configurable output dimensions.

Create Response

Generate a response using the OpenAI Responses API, the primary gateway for all model families. Supports text generation, built-in tools (web search, file search, code interpreter), function calling, structured output, and reasoning models with configurable effort levels.

Generate Image

Generate images from text prompts using OpenAI's image generation models (e.g. DALL·E 3, gpt-image-1). Returns generated image content as Slate attachments when the API returns base64 data. Supports configurable size, quality, and style.

Generate Text

Generate text using OpenAI chat completion models (GPT-5, GPT-4o, etc.). Supports multi-turn conversations, system instructions, structured JSON output, and configurable generation parameters.

List Models

List all available OpenAI models, or retrieve details about a specific model. Useful for discovering available model IDs, owners, and capabilities before making API calls.

Create Batch

Submit a batch of API requests for asynchronous processing at reduced cost. Supports chat completions and embeddings endpoints. The input must be a JSONL file uploaded via the Files API.

List Files

List files uploaded to OpenAI, optionally filtered by purpose (e.g. "fine-tune", "assistants"). Returns file metadata including ID, name, size, and purpose.

Create Fine-Tuning Job

Create a new fine-tuning job to customize an OpenAI model on your training data. Supports supervised fine-tuning and direct preference optimization (DPO). Configure hyperparameters such as epochs, batch size, and learning rate.

Create Vector Store

Create a managed vector store for uploading, chunking, and searching files. Vector stores power file search in the Responses API and support hybrid search (semantic + keyword).

Moderate Content

Classify text against OpenAI's content policy categories. Returns flagged status and per-category scores for hate, harassment, self-harm, sexual, and violence content. Useful for filtering harmful content in user-generated input.

License

This integration is licensed under the FSL-1.1.