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

@flatfile/ai-agents

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flatfile/ai-agents

A collection of AI Agents for building in Flatfile

  • 0.1.0-alpha.0
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
88
increased by340%
Maintainers
0
Weekly downloads
 
Created
Source

AI Agents for Flatfile

This repo contains a collection of AI Agents for building in Flatfile.

Usage

Install

npm install @flatfile/ai-agents

Import

Update the .env file with keys for your OpenAI and Anthropic models and select the model you want to use.

import { blueprintAgent } from '@flatfile/ai-agents'

const csv = `first_name, last_name, email, phone, address, city, state, zip_code
John,Doe,john.doe@example.com,123-456-7890,123 Main St,Anytown,CA,12345`

const blueprint = await blueprintAgent('gpt-4o', csv)

console.log(blueprint)

Publish

To publish the package, follow these steps:

  1. Install dependencies: Install all required dependencies:

    npm install
    
  2. Build the package: Ensure that the package is built by running the following command:

    npm run build
    
  3. Run CI checks: Before publishing, make sure all CI checks pass. This includes building, checking format, checking exports, linting, and testing:

    npm run ci
    
  4. Create a changeset: If you haven't already, create a changeset to document the changes in this release:

    npm run changeset
    
  5. Version the package: Update the version based on the changeset:

    npm run local-release
    
  6. Publish the package: The prepublishOnly script ensures that all CI checks are run before publishing. To publish the package, use:

    npm publish
    

Make sure you have the necessary permissions to publish the package to the registry.

FAQs

Package last updated on 16 Dec 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