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

inflection-ai-sdk-provider

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inflection-ai-sdk-provider

The **[unofficial Inflection AI provider](https://www.npmjs.com/package/inflection-ai-sdk-provider)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the [Inflection AI API](https://developers.inflection.ai/).

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
193
decreased by-37.13%
Maintainers
0
Weekly downloads
 
Created
Source

Unofficial Community Provider for AI SDK - Inflection AI

The unofficial Inflection AI provider for the AI SDK contains language model support for the Inflection AI API.

Setup

The Inflection AI provider is available in the inflection-ai-sdk-provider module on npm. You can install it with

npm i inflection-ai-sdk-provider

Provider Instance

You can import the default provider instance inflection from inflection-ai-sdk-provider:

import { inflection } from "inflection-ai-sdk-provider";

Example

import { inflection } from "inflection-ai-sdk-provider";
import { generateText } from "ai";

const { text } = await generateText({
  model: inflection("inflection_3_with_tools"),
  prompt: "how can I make quick chicken pho?",
});

Models

The following models are supported:

  • inflection_3_pi - "the model powering our Pi experience, including a backstory, emotional intelligence, productivity, and safety. It excels in scenarios such as customer support chatbots."
  • inflection_3_productivity- "the model optimized for following instructions. It is better for tasks requiring JSON output or precise adherence to provided guidelines."
  • inflection_3_with_tools - This model seems to be in preview and it lacks an official description as of the writing of this README in 1.0.0.
ModelText GenerationStreamingImage InputObject GenerationTool UsageTool Streaming
inflection_3_pi
inflection_3_productivity
inflection_3_with_tools

There is limited API support for features other than text generation and streaming text at this time. Should that change, the table above will be updated and support will be added to this unofficial provider.

Documentation

Please check out Inflection AI's API Documentation for more information.

You can find the source code for this provider here on GitHub.

Keywords

FAQs

Package last updated on 13 Feb 2025

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