-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
164 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,9 @@ | |
</p> | ||
|
||
<p align="left"> | ||
<strong>DocsGPT</strong> is a cutting-edge open-source solution that streamlines the process of finding information in project documentation. With its integration of the powerful <strong>GPT</strong> models, developers can easily ask questions about a project and receive accurate answers. | ||
<strong><a href="https://docsgpt.arc53.com/">DocsGPT</a></strong> is a cutting-edge open-source solution that streamlines the process of finding information in project documentation. With its integration of the powerful <strong>GPT</strong> models, developers can easily ask questions about a project and receive accurate answers. | ||
|
||
Say goodbye to time-consuming manual searches, and let <strong>DocsGPT</strong> help you quickly find the information you need. Try it out and see how it revolutionizes your project documentation experience. Contribute to its development and be a part of the future of AI-powered assistance. | ||
Say goodbye to time-consuming manual searches, and let <strong><a href="https://docsgpt.arc53.com/">DocsGPT</a></strong> help you quickly find the information you need. Try it out and see how it revolutionizes your project documentation experience. Contribute to its development and be a part of the future of AI-powered assistance. | ||
</p> | ||
|
||
<div align="center"> | ||
|
@@ -24,7 +24,7 @@ Say goodbye to time-consuming manual searches, and let <strong>DocsGPT</strong> | |
### Production Support / Help for companies: | ||
|
||
We're eager to provide personalized assistance when deploying your DocsGPT to a live environment. | ||
- [Get Support 👋](https://airtable.com/appdeaL0F1qV8Bl2C/shrrJF1Ll7btCJRbP) | ||
- [Get Support 👋](https://cal.com/arc53/docsgpt-demo-b2b) | ||
- [Send Email ✉️](mailto:[email protected]?subject=DocsGPT%20support%2Fsolutions) | ||
|
||
### [🎉 Join the Hacktoberfest with DocsGPT and Earn a Free T-shirt! 🎉](https://github.com/arc53/DocsGPT/blob/main/HACKTOBERFEST.md) | ||
|
@@ -89,23 +89,23 @@ It will install all the dependencies and allow you to download the local model o | |
Otherwise, refer to this Guide: | ||
|
||
1. Download and open this repository with `git clone https://github.com/arc53/DocsGPT.git` | ||
2. Create a `.env` file in your root directory and set the env variable `OPENAI_API_KEY` with your OpenAI API key and `VITE_API_STREAMING` to true or false, depending on if you want streaming answers or not. | ||
2. Create a `.env` file in your root directory and set the env variable `OPENAI_API_KEY` with your [OpenAI API key](https://platform.openai.com/account/api-keys) and `VITE_API_STREAMING` to true or false, depending on if you want streaming answers or not. | ||
It should look like this inside: | ||
|
||
``` | ||
API_KEY=Yourkey | ||
VITE_API_STREAMING=true | ||
``` | ||
See optional environment variables in the `/.env-template` and `/application/.env_sample` files. | ||
3. Run `./run-with-docker-compose.sh`. | ||
See optional environment variables in the [/.env-template](https://github.com/arc53/DocsGPT/blob/main/.env-template) and [/application/.env_sample](https://github.com/arc53/DocsGPT/blob/main/application/.env_sample) files. | ||
3. Run [./run-with-docker-compose.sh](https://github.com/arc53/DocsGPT/blob/main/run-with-docker-compose.sh). | ||
4. Navigate to http://localhost:5173/. | ||
|
||
To stop, just run `Ctrl + C`. | ||
|
||
## Development environments | ||
|
||
### Spin up mongo and redis | ||
For development, only two containers are used from `docker-compose.yaml` (by deleting all services except for Redis and Mongo). | ||
For development, only two containers are used from [docker-compose.yaml](https://github.com/arc53/DocsGPT/blob/main/docker-compose.yaml) (by deleting all services except for Redis and Mongo). | ||
See file [docker-compose-dev.yaml](./docker-compose-dev.yaml). | ||
|
||
Run | ||
|
@@ -119,7 +119,7 @@ docker compose -f docker-compose-dev.yaml up -d | |
Make sure you have Python 3.10 or 3.11 installed. | ||
|
||
1. Export required environment variables or prepare a `.env` file in the `/application` folder: | ||
- Copy `.env_sample` and create `.env` with your OpenAI API token for the `API_KEY` and `EMBEDDINGS_KEY` fields. | ||
- Copy [.env_sample](https://github.com/arc53/DocsGPT/blob/main/application/.env_sample) and create `.env` with your OpenAI API token for the `API_KEY` and `EMBEDDINGS_KEY` fields. | ||
|
||
(check out [`application/core/settings.py`](application/core/settings.py) if you want to see more config options.) | ||
|
||
|
@@ -148,7 +148,7 @@ pip install -r application/requirements.txt | |
|
||
Make sure you have Node version 16 or higher. | ||
|
||
1. Navigate to the `/frontend` folder. | ||
1. Navigate to the [/frontend](https://github.com/arc53/DocsGPT/tree/main/frontend) folder. | ||
2. Install dependencies by running `npm install`. | ||
3. Run the app using `npm run dev`. | ||
|
||
|
@@ -166,6 +166,6 @@ We as members, contributors, and leaders, pledge to make participation in our co | |
</a> | ||
|
||
## License | ||
The source code license is MIT, as described in the LICENSE file. | ||
The source code license is [MIT](https://opensource.org/license/mit/), as described in the [LICENSE](LICENSE) file. | ||
|
||
Built with [🦜️🔗 LangChain](https://github.com/hwchase17/langchain) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
## To customize a main prompt navigate to `/application/prompt/combine_prompt.txt` | ||
## To customize a main prompt, navigate to `/application/prompt/combine_prompt.txt` | ||
|
||
You can try editing it to see how the model responses. | ||
|
Oops, something went wrong.