Giter Club home page Giter Club logo

seatable-openai-integration's Introduction

Seatable OpenAI Integration

Seatable logoBidirectionalOpenAI logo

Overview

This repository demonstrates the seamless integration of the OpenAI API within Seatable, enabling the exchange of prompts with ChatGPT.

Key features:

  • Python script tailored for Seatable Cloud usage
  • OpenAI API interaction via HTTP requests

Example Usage

Consider a table with three essential columns:

Name Meaning Action
Bob [Button]
Anna [Button]
Joe [Button]

Each row contains a unique name entry. The Action column houses a button. When activated, a Python script is executed. This script retrieves the name from the corresponding row, transmits a predefined prompt to OpenAI with the name, and finally stores the response in the designated meaning field.

Prerequisites

  • An active OpenAI account with an associated billing plan

  • An OpenAI API Key, see Account settings

  • An account with seatable.io

    (Pleasebe aware of potential rate limits depending on your billing plan)

Getting Started

  1. Create a new Base on Seatable.io.
  2. Add a Python script and paste the code from script.py.
  3. The script requires some customizations for seamless operation. Refer to the provided instructions.
  4. Introduce the following columns:
    • Name (type: text)
    • Meaning (type: formatted text)
    • Action (type: button, action: Execute the Python script)
  5. Press a button to automatically receive the meaning of the corresponding name.

Limitations

The execution of python scripts within seatable.io has a time constraint. Because of that, more complex queries can cause a timeout.

Attribution

  • bidirectional.png by DinosoftLabs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.