Skip to main content

chatgpt Adaptor developer README.md

Source: https://github.com/OpenFn/adaptors/tree/main/packages/chatgpt

language-chatgpt

An OpenFn adaptor for building integration jobs for use with OpenAI's ChatGPT API.

Documentation

View the docs site for full technical documentation.

Configuration

View the configuration-schema for required and optional configuration properties.

A example expression using the create function

prompt('Write me a poem about tables and chairs.');

Development

Clone the adaptors monorepo. Follow the "Getting Started" guide inside to get set up.

Run tests using pnpm run test or pnpm run test:watch

Build the project using pnpm build.

To build only the docs run pnpm build docs.