Skip to content

Commit 66029f7

Browse files
authored
Merge pull request #104 from AI-Citizen/release/0325
0325 release
2 parents 758751b + 1ee3786 commit 66029f7

File tree

253 files changed

+15700
-67015
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

253 files changed

+15700
-67015
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ node_modules
172172

173173
# Local storage and workspace files
174174
localstorage/
175+
!localstorage/workspace/
175176
workspace/out/
176177
solidgpt/src/tools/qdrant/embeddings/
177178
solidgpt/src/tools/qdrant/embedding/
179+
180+
# DB
181+
celerydb.sqlite
182+
results.db

CONTRIBUTING.md

Lines changed: 0 additions & 67 deletions
This file was deleted.

README.md

Lines changed: 59 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -1,131 +1,72 @@
1-
![IMG_4502](https://github.com/AI-Citizen/SolidGPT/assets/39673228/347a6be2-93d6-42e9-99e2-f8b7b1ea96de)
2-
<h1 align="center">🧱 SolidGPT-Build Your Service with AI</h1>
1+
# 🧱 SolidGPT
32

4-
[![Twitter Follow](https://img.shields.io/twitter/follow/SolidGPT?style=social)](https://twitter.com/SolidGPT)
3+
# 🚀 What's this
4+
SolidGPT is a AI searching assistant for developer that helps code and workspace semantic search
55

6-
# 🚀 SolidGPT(SaaS edition)
7-
SolidGPT(SaaS edition) is an AI-centric serverless platform. Combine AI coding and AI cloud infrastructure management. You can easily build, launch and scaleing services on AWS using natural language with LLM Agents.
6+
🔥🔥🔥 Try SolidGPT VSCode Extension from the [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=aict.solidgpt)
87

9-
## 📖 Highlight
10-
- AI create APIs on AWS with one line input.
11-
<img width="760" alt="Screen Shot 2024-02-04 at 2 59 44 PM" src="https://github.com/AI-Citizen/SolidGPT/assets/39673228/e72f3280-415f-4ac1-9496-812ac67a5153">
8+
Appreciate Star 🌟 us on our [SolidGPT Github](https://github.com/AI-Citizen/SolidGPT)
129

13-
Incomming..
10+
# Try SolidGPT VSCode Extension
11+
1. Install SolidGPT VSCode Extension from the [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=aict.solidgpt)
1412

15-
# SolidGPT
16-
Chat everything with your code repository, ask repository-level code questions, and discuss your requirements. AI scans and learns from your code to seek coding advice, develop coding plans, and generate a product requirement documents using the information in the repository.
13+
# 🏁 Quick Start
14+
Highly recommend to try SolidGPT VSCode Extension from the [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=aict.solidgpt).
1715

18-
**If you like our work, please give us a 🌟 star. Your support serves as a great encouragement for us. Thank you! 😊**
16+
Or you can follow the steps below to build from source.
17+
## 📦 Build From Source
18+
1. Pull the latest version of the SolidGPT from the GitHub repository.
19+
1. Pip install the requirements.txt file under the SolidGPT root directory.
20+
```sh
21+
pip install -r requirements.txt
22+
```
23+
1. Open terminal and run the following command to start the server.
24+
```sh
25+
python run_api.py
26+
```
27+
1. Open terminal and run the following command to start the webapp.
28+
```sh
29+
cd solidportal
30+
npm install
31+
npm run dev
32+
```
1933

20-
# 🏁 Quick Start
34+
## ❗️❗️ Onborading your Codebase and Notion
35+
1. Click Settings button on the right bottom corner.
36+
<img width="124" alt="image" src="https://github.com/AI-Citizen/SolidGPT-Private/assets/39673228/451b52e3-4f79-478f-9ee9-5679a93a1656">
2137

22-
## 🧱 **Prerequisite**
2338

24-
- python3.8 or above
25-
- [OpenAI api key](https://openai.com/blog/openai-api)
26-
- [Install npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
27-
- [Install & run redis](https://redis.io/docs/install/install-redis/)
28-
## 🔧 **Setup**
29-
```sh
30-
git clone https://github.com/AI-Citizen/SolidGPT.git
31-
cd SolidGPT
32-
pip3 install -r requirements.txt #installing the env
33-
```
34-
- Set the project root folder as python path
35-
- Linux/Mac
36-
```sh
37-
export PYTHONPATH=$PYTHONPATH:$(git rev-parse --show-toplevel)/
38-
```
39-
- Windows
40-
41-
Replace path\to\directory with the path of the project root directory
42-
```cmd
43-
set PYTHONPATH=path\to\directory
44-
```
45-
- ### Start Server
46-
Open first terminal and cd into the project root folder(SolidGPT)
47-
- Linux/Mac/WSL2
48-
```sh
49-
sh StartServer.sh
50-
```
51-
- Windows
52-
53-
Install the [WSL2](https://learn.microsoft.com/en-us/windows/wsl/install) and start the server from WSL2
54-
```sh
55-
wsl --install
56-
wsl2
57-
sh StartServer.sh
58-
```
59-
60-
Or install directly on Windows [Not Recommended]
61-
62-
Note: redis server needs to be installed before running below commands:
63-
https://github.com/microsoftarchive/redis/releases
64-
```
65-
uvicorn solidgpt.src.api.api:app --reload
66-
67-
celery -A solidgpt.src.api.celery_tasks worker --loglevel=info -P eventlet
68-
```
69-
- Docker
70-
```sh
71-
docker buildx build -t solidgptlocalhost .
72-
docker run -p 8000:8000 solidgptlocalhost
73-
```
74-
- ### Start UI portal
75-
Open the second terminal
76-
- You'll need to install npm, and we recommend using version 9.8.1 or higher.
77-
78-
```sh
79-
# From the project root folder
80-
cd solidportal/panel
81-
npm i && npm start
82-
```
83-
84-
85-
86-
# 🏠 Introduction
87-
- SolidGPT first learns from your repository in the `Onboard Project` phase.
88-
89-
- After this, choose Generate PRD or Get Tech Solution for customized solutions based on the onboarded project.
90-
91-
## 📖 Onboarding your project
92-
93-
1. Choose `Onboard Project` from the top left dropdown.
94-
1. Enter your OpenAI API key.
95-
1. Upload your project folder.(All files will be saved in your localstorage `SolidGPT/localstorage/...`)
96-
1. ❗️Note: After completing the Onboard Project, an Onboard ID will be generated. If you remain in the same browser session, it will be automatically applied to subsequent actions. Alternatively, you can save it and manually input it in the future to bypass onboarding.
97-
98-
## 🧮 Get Technical Solution
99-
1. Choose `Get Tech Solution` from the top left dropdown.
100-
1. Enter your OpenAI API key.
101-
1. Input your problem/Requirement.
102-
103-
Note: We currently support Python, JavaScript, and TypeScript projects. Support for more languages is on the way.
104-
## 📁 Generate Product Requirement Document
105-
1. Choose `Generate RPD` from the top left dropdown.
106-
1. Input your requirement (suggest short and clear)
107-
1. Input additional info or your project, SolidGPT will both use a summary from the repository and additional info you provide (optional)
108-
109-
### 📺 Demo(v0.2.5)
110-
![copy_FD8819CE-0A56-4E9C-A018-FA90700E7605](https://github.com/AI-Citizen/SolidGPT/assets/39673228/8ef57ba1-093e-4cc5-a07d-45b5c2dea850)
111-
112-
## 🖇️ Document
113-
[Explore SolidGPT](https://github.com/AI-Citizen/SolidGPT/blob/main/docs/READMEv1.md)
114-
115-
[Solid Portal](https://github.com/AI-Citizen/SolidGPT/blob/main/docs/solidportal.md)
116-
117-
[Solid GPT Infrastructure](https://github.com/AI-Citizen/SolidGPT/blob/main/docs/infrastructure.md)
118-
119-
[Deeply Customize Agent Skill](https://github.com/AI-Citizen/SolidGPT/blob/main/docs/customagentskill.md)
120-
121-
[Embedding with private data](https://github.com/AI-Citizen/SolidGPT/blob/main/docs/embeddingprivatedata.md)
122-
123-
[Fine-tuning with GPT3.5](https://github.com/AI-Citizen/SolidGPT/blob/main/docs/gptfinetuning.md)
124-
125-
[Fine-tuning with Llama2](https://github.com/AI-Citizen/SolidGPT/blob/main/docs/llama2finetuning.md)
126-
127-
## Contact
39+
### 1. Setup Codebase
40+
1. Enter your OpenAI API key. [Get OpenAI API Key](https://openai.com/blog/openai-api)
41+
1. Enter the full path of the folder you wish to onboard. **Suggest onboard lower than 100 files, maximum support 500 files onboarding**.
42+
<img width="315" alt="image" src="https://github.com/AI-Citizen/SolidGPT-Private/assets/39673228/62f1790a-196a-4088-a747-e91205e8fc32">
43+
44+
### 2. Setup Notion (Optional)
45+
1. Configure the Notion API by getting your Notion API secret from [Notion API](https://developers.notion.com/docs/create-a-notion-integration#getting-started) and entering it on the Settings page
46+
1. Give your integration page permissions. [Details](https://developers.notion.com/docs/create-a-notion-integration#give-your-integration-page-permissions)
47+
1. Get Notion Page ID and entering it on the Settings page
48+
<img width="669" alt="image" src="https://github.com/AI-Citizen/SolidGPT-Private/assets/39673228/ae2b5ab3-af61-44e7-bdc1-d81a33462d23">
49+
<img width="315" alt="image" src="https://github.com/AI-Citizen/SolidGPT-Private/assets/39673228/6e96db5b-350a-4e8b-b9ca-b41ccfe6ce7c">
50+
51+
### 3. Pick chat resources and start chat
52+
53+
54+
## 🔥 Usecase
55+
- Talk to your codebase, save time hunting for the place to start a change or the right method to call.
56+
- Ask any questions about your codebase, get the answer in seconds.
57+
- Semantic search and summary in Notion, knows your project from documents and track the project sprint board and tickets.
58+
- Get questions answered from your codebase and Notion, no more context switching.
59+
60+
## 📖 Known Issue
61+
1. [Intel Chip Mac]: permission denied
62+
- Please run \`cd ~/.vscode/extensions\` and \`chmod -R 777 aict.solidgpt*\` in your terminal to allow the app to run.
63+
64+
## 📣 Feedback!!
12865
If you have any questions or feedback about our project, please don't hesitate to reach out to us. We greatly appreciate your suggestions!
12966
- Email: aict@ai-citi.com
13067
- GitHub Issues: For more technical inquiries, you can also create a new issue in our [GitHub repository](https://github.com/AI-Citizen/SolidGPT/issues).
13168
We will respond to all questions within 2-3 business days.
69+
70+
## Data Safety
71+
- SolidGPT will not collect any of users' data.
72+
- SolidGPT using OpenAI series model API, using SolidGPT indicates that you have read, understood, and agreed to adhere to all terms of use associated with the OpenAI GPT series model API.

StartServer.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/Introduction_CN.md

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)