{"id":22704774,"url":"https://github.com/weberi/node-red-contrib-chatgpt-api","last_synced_at":"2026-02-19T18:05:09.780Z","repository":{"id":267026527,"uuid":"899974119","full_name":"weberi/node-red-contrib-chatgpt-api","owner":"weberi","description":"Enhance your Node-RED flows with AI! Integrate ChatGPT models to enable AI-powered chat, user-friendly speech interfaces, and intelligent automations, with built-in support for prompt engineering.","archived":false,"fork":false,"pushed_at":"2024-12-07T14:36:00.000Z","size":23,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-23T10:39:24.664Z","etag":null,"topics":["ai","api","artificial-intelligence","chatbot","chatgpt","conversational-ai","large-language-model","llm","node-red","prompt","prompt-engineering"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weberi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-07T14:24:16.000Z","updated_at":"2025-09-02T10:34:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca8668e3-21d8-4a28-a349-9afc9435e317","html_url":"https://github.com/weberi/node-red-contrib-chatgpt-api","commit_stats":null,"previous_names":["weberi/node-red-contrib-chatgpt-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/weberi/node-red-contrib-chatgpt-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weberi%2Fnode-red-contrib-chatgpt-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weberi%2Fnode-red-contrib-chatgpt-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weberi%2Fnode-red-contrib-chatgpt-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weberi%2Fnode-red-contrib-chatgpt-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weberi","download_url":"https://codeload.github.com/weberi/node-red-contrib-chatgpt-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weberi%2Fnode-red-contrib-chatgpt-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29626657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T18:02:07.722Z","status":"ssl_error","status_checked_at":"2026-02-19T18:01:46.144Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","api","artificial-intelligence","chatbot","chatgpt","conversational-ai","large-language-model","llm","node-red","prompt","prompt-engineering"],"created_at":"2024-12-10T09:07:46.471Z","updated_at":"2026-02-19T18:05:09.775Z","avatar_url":"https://github.com/weberi.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# node-red-contrib-chatgpt-api\nA Node-RED node for interacting with the OpenAI ChatGPT API.\nSupports creating prompts, retrieving models, and generating AI-driven completions.\n\n## Features\n\n- Easily interact with OpenAI's ChatGPT API for intelligent, chat-based completions.\n- Customize model, temperature, and token limits.\n- Requires an OpenAI API key: Get yours from the [OpenAI Platform](https://platform.openai.com/docs/overview/).\n- Lightweight implementation using Node.js's native https module.\n\n## Installation\n\nInstall the nodes directly through Node-RED's built-in palette manager.\n\n## Nodes\n\n- **gptapi**: Calls the ChatGPT API to generate completions\n- **gptprompt**: Helps construct the prompt.\n- **gptmodels**: Retrieves the list of available models from the OpenAI API.\n\n## Usage\n\n1. Drag the **gptapi** node from the palette into your Node-RED workspace.\n2. Double-click the node to open the configuration panel:\n   - Enter your **OpenAI API Key**. If you don’t have one, visit the [OpenAI Platform](https://platform.openai.com/docs/overview/) to generate it.\n   - Specify a model in the node or in the input payload, e.g., **gpt-4**.\n   - Optionally set values for **temperature** and **maximum tokens**.\n3. Use the **gptmodels** node to retrieve a list of available models.\n4. Use the **gptprompt** node to configure a multi-part structured prompt and pass it to the **gptapi** node as `msg.prompt`.\n5. The **gptapi** node returns the API response in `msg.payload`.\n\n\n\n## Example Flow\nThe example flow demonstrates how to use the nodes together:\n\n![Demo Flow](examples/demo_flow.png)\n\nYou can import it from the repository to get started quickly.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweberi%2Fnode-red-contrib-chatgpt-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweberi%2Fnode-red-contrib-chatgpt-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweberi%2Fnode-red-contrib-chatgpt-api/lists"}