https://github.com/tachionstrahl/seatable-openai-integration
Demonstration of OpenAI API Integration within Seatable Cloud
https://github.com/tachionstrahl/seatable-openai-integration
chatgpt openai openai-api seatable
Last synced: about 2 months ago
JSON representation
Demonstration of OpenAI API Integration within Seatable Cloud
- Host: GitHub
- URL: https://github.com/tachionstrahl/seatable-openai-integration
- Owner: Tachionstrahl
- Created: 2023-10-29T14:38:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-27T17:34:14.000Z (over 2 years ago)
- Last Synced: 2025-07-29T11:12:42.023Z (11 months ago)
- Topics: chatgpt, openai, openai-api, seatable
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Seatable OpenAI Integration



## 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](https://platform.openai.com/account/api-keys)
- 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