Our great sponsors
-
Full source is available on our GitHub example repo. We will update this example when ChatGPT becomes available as an API.
-
Redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
The code uses the codehooks-js library to handle routing and middleware for the API, and the node-fetch library to make HTTP requests to the OpenAI API. The code also uses the built-in codehooks.io Key-Value store to cache the response from the OpenAI API for 60 seconds, in order to reduce the number of requests made to the OpenAI API (If you want to create your own Node.js Express backend, you just need to replace this cache with Redis for example).
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
This is an example of a serverless Node.js application that uses codehooks.io create a REST API for the OpenAI GPT-3 language model (which similar in many ways to ChatGPT). The API allows REST API clients to send text prompts to the GPT-3 model and receive a response in return.
Related posts
- GPT_scraper: A way to store ChatGPT conversations through hidden backend api via requests or selenium (no APIKEY needed!)
- Is it possible to develop an app which displays a live stream feed and how do you do it?
- Fake ChatGPT Chrome Browser Extension Caught Hijacking Facebook Accounts
- Ask HN: How are you using GPT to be productive?
- GPT-4 support?