More Premium Hugo Themes Premium Nuxt Themes

Chatgpt Nuxt

基于 Nuxt.js 框架的 ChatGPT 类项目,支持 OpenAI 和 Azure 两种 API 切换,支持黑暗模式、中英日多语言切换。

Chatgpt Nuxt

基于 Nuxt.js 框架的 ChatGPT 类项目,支持 OpenAI 和 Azure 两种 API 切换,支持黑暗模式、中英日多语言切换。

Author Avatar Theme by lianginx
Github Stars Github Stars: 240
Last Commit Last Commit: Nov 8, 2023 -
First Commit Created: Dec 18, 2023 -
Chatgpt Nuxt screenshot

Overview:

This is a frontend application implemented in Nuxt 3 for OpenAI’s ChatGPT and DALL·E API. It is designed to support chat completion and image generation using the supported models.

Features:

  • Supports OpenAI API and Azure Open AI Service API
  • Supports chat completion using gpt-4 and gpt-3.5-turbo models
  • Supports image generation using DALL·E

Installation:

To install the theme, follow these steps:

  1. Make sure all dependencies are installed.
  2. Launch the development server by running the command: [code snippet]
  3. View the application at http://localhost:3000.
  4. To build the application for production, execute: [code snippet]
  5. Preview the production build locally with the following command: [code snippet]
  6. To deploy the application, use the one-line command for quick deployment: [code snippet]
  7. Alternatively, you can deploy using Docker Compose: [code snippet]
  8. Once deployment is completed, the project will be deployed onto port 80.

Summary:

This frontend application implemented in Nuxt 3 allows users to interact with OpenAI’s ChatGPT and DALL·E API. It supports chat completion using gpt-4 and gpt-3.5-turbo models, as well as image generation using DALL·E. The application can be easily installed, configured, and deployed for both development and production environments.