How to Develop a Chatbot with React and OpenAIby@hacker7182015
467 reads

How to Develop a Chatbot with React and OpenAI

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

In the [last article] we built a Node.js/Express server that exposes an `/ask` endpoint. When this endpoint is triggered and we include a text `prompt', the endpoint interacts with OpenAI's `/completions` API to generate and return a continuation of that text. We'll be building the UI of our app with the React JavaScript library. To get started, we'll first want to scaffold a React development environment quickly.
featured image - How to Develop a Chatbot with React and OpenAI
Hassan Djirdeh HackerNoon profile picture

@hacker7182015

Hassan Djirdeh

Senior front-end engineer, author, and instructor. Subscribe @ https://frontendfresh.com.


Receive Stories from @hacker7182015


Credibility

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!