Skip to content

openai/openai-responses-starter-app

Repository files navigation

Responses starter app

MIT License NextJS OpenAI API

This repository contains a NextJS starter app built on top of the Responses API. It leverages built-in tools (web search and file search) and implements a chat interface with multi-turn conversation handling.

Features:

  • Multi-turn conversation handling
  • Web search tool configuration
  • Vector store creation & file upload for use with the file search tool
  • Function calling
  • Streaming responses & tool calls
  • Display annotations

This app is meant to be used as a starting point to build a conversational assistant that you can customize to your needs.

How to use

  1. Set Up the OpenAI API:

  2. Clone the Repository:

    git clone https://github.com/openai/openai-responses-starter-app.git
  3. Install dependencies:

    Run in the project root:

    npm install
  4. Run the app:

    npm run dev

    The app will be available at http://localhost:3000.

Contributing

You are welcome to open issues or submit PRs to improve this app, however, please note that we may not review all suggestions.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Starter app to build with the OpenAI Responses API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •