Skip to content

icarecti/smartgpt_ui

This branch is 27 commits behind ymetz/smartgpt_ui:main.

Folders and files

NameName
Last commit message
Last commit date
Mar 31, 2024
Apr 12, 2024
Apr 11, 2024
Sep 29, 2023
Sep 29, 2023
Apr 11, 2024
Sep 29, 2023
Mar 29, 2024
Sep 29, 2023
Apr 10, 2024
Apr 12, 2024
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Apr 12, 2024
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023
Sep 29, 2023

Repository files navigation

SmartGPT

About

SmarGPT enhances the reasoning capabilities of GPT-style models with prompting and in-context learning.

The interface of SmartGPT uses Chatbot-UI as a foundation.

Updates

SmartGPT is not a comercial product, regular updates are not guaranteed.

1. Clone Repo

git clone 

2. Install Dependencies

npm i

3. Provide OpenAI API Key

Create a .env.local file in the root of the repo with your OpenAI API Key:

OPENAI_API_KEY=YOUR_KEY

You can set OPENAI_API_HOST where access to the official OpenAI host is restricted or unavailable, allowing users to configure an alternative host for their specific needs.

Additionally, if you have multiple OpenAI Organizations, you can set OPENAI_ORGANIZATION to specify one.

4. Run App

npm run dev

5. Use It

You should be able to start chatting.

Configuration

When deploying the application, the following environment variables can be set:

Environment Variable Default value Description
OPENAI_API_KEY The default API key used for authentication with OpenAI
OPENAI_API_HOST https://api.openai.com The base url, for Azure use https://<endpoint>.openai.azure.com
OPENAI_API_TYPE openai The API type, options are openai or azure
OPENAI_API_VERSION 2023-03-15-preview Only applicable for Azure OpenAI
DEFAULT_SYSTEM_PROMPT The default prompt used for the system, if not provided, the system will use the default prompt for the selected prompt mode
DEFAULT_ASSISTANT_PROMPT The default prompt used for the assistant, if not provided, the assistant will use the default prompt for the selected prompt mode
DEFAULT_RESEARCHER_PROMPT The default prompt used for the researcher, if not provided, the researcher will use the default prompt for the selected prompt mode
DEFAULT_RESOLVER_PROMPT The default prompt used for the resolver, if not provided, the resolver will use the default prompt for the selected prompt mode
DEFAULT_TEMPERATURE 0.8 The default temperature used for the system, if not provided, the system will use the default temperature for the selected prompt mode
DEFAULT_PROMPT_MODE smartgpt The default prompt mode, options are smartgpt or default

About

UI Implementation for SmartGPT

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.9%
  • Other 1.1%