MyGit
🚩收到GitHub仓库的更新通知

ricklamers/gpt-code-ui

Fork: 439 Star: 3484 (更新于 2024-05-02 22:35:44)

license: MIT

Language: Python .

An open source implementation of OpenAI's ChatGPT Code interpreter

最后发布版本: v0.42.40 ( 2023-07-29 20:19:23)

GitHub网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看
GPT-Code logo

An open source implementation of OpenAI's ChatGPT Code interpreter.

Simply ask the OpenAI model to do something and it will generate & execute the code for you.

Read the blog post to find out more.

Community

Judah Cooper offered to start & curate a Discord community. Join here.

Installation

Open a terminal and run:

pip install gpt-code-ui
gptcode

In order to make basic dependencies available it's recommended to run the following pip install in the Python environment that is used in the shell where you run gptcode:

pip install "numpy>=1.24,<1.25" "dateparser>=1.1,<1.2" "pandas>=1.5,<1.6" "geopandas>=0.13,<0.14" "tabulate>=0.9.0<1.0" "PyPDF2>=3.0,<3.1" "pdfminer>=20191125,<20191200" "pdfplumber>=0.9,<0.10" "matplotlib>=3.7,<3.8"

User interface

GPT-Code logo

Features

  • File upload
  • File download
  • Context awareness (it can refer to your previous messages)
  • Generate code
  • Run code (Python kernel)
  • Model switching (GPT-3.5 and GPT-4)

Misc.

Using .env for OpenAI key

You can put a .env in the working directory to load the OPENAI_API_KEY environment variable.

Configurables

Set the API_PORT, WEB_PORT, SNAKEMQ_PORT variables to override the defaults.

Set OPENAI_BASE_URL to change the OpenAI API endpoint that's being used (note this environment variable includes the protocol https://...).

You can use the .env.example in the repository (make sure you git clone the repo to get the file first).

For Azure OpenAI Services, there are also other configurable variables like deployment name. See .env.azure-example for more information. Note that model selection on the UI is currently not supported for Azure OpenAI Services.

cp .env.example .env
vim .env
gptcode

Docker

localagi took the effort of bundling the Python package in a Docker container. Check it out here: gpt-code-ui-docker.

Contributing

Please do and have a look at the contributions guide! This should be a community initiative. I'll try my best to be responsive.

Thank you for your interest in this project!

最近版本更新:(数据更新于 2024-04-25 17:31:27)

2023-07-29 20:19:23 v0.42.40

2023-07-25 22:10:51 v0.42.39

2023-07-25 22:01:56 v0.42.38

2023-07-25 21:57:45 v0.42.37

2023-07-21 07:10:05 v0.42.35

2023-07-21 07:03:35 v0.42.34

2023-07-18 18:21:21 v0.42.33

2023-06-24 02:02:29 v0.42.32

2023-06-16 17:28:16 v0.42.31

2023-06-08 04:32:26 v0.42.30

主题(topics):

chatgpt, gpt, llms, openai

ricklamers/gpt-code-ui同语言 Python最近更新仓库

2024-05-11 23:55:53 linruowuyin/Fhoe-Rail

2024-05-11 17:41:09 xorbitsai/inference

2024-05-11 16:17:39 VinciGit00/Scrapegraph-ai

2024-05-11 11:16:52 BerriAI/litellm

2024-05-11 03:21:02 rigetti/pyquil

2024-05-11 00:11:50 voicepaw/so-vits-svc-fork