BuildShip Logo
BuildShip Community

AI Chatbot (OpenAI API)

Enables multi-turn AI chat via API. Accepts a chat ID, user message, and context window size, retrieves recent conversation history, and generates a context-aware response using an OpenAI model; returns the AI's reply as text.

119

Report this template

Select the reason for reporting

Describe the issue in detail

Share template

Link to template

https://templates.buildship.com/template/lh_YOhRI8-c4/

Select an example

Inputs

text

********

chat_id

0000

context_limit

10
This is a static example using sample inputs. Remix the template to run it with your own values.

Output