synced from main and solved conflicts

This commit is contained in:
juan-m12i
2023-12-19 15:16:05 +00:00
5 changed files with 14 additions and 10 deletions

View File

@@ -14,6 +14,8 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4

View File

@@ -117,7 +117,7 @@ Don't know what to contribute? Here is the public
[Project Board](https://github.com/users/imartinez/projects/3) with several ideas. [Project Board](https://github.com/users/imartinez/projects/3) with several ideas.
Head over to Discord Head over to Discord
#contributors channel and ask for write permissions on that Github project. #contributors channel and ask for write permissions on that GitHub project.
## 💬 Community ## 💬 Community
Join the conversation around PrivateGPT on our: Join the conversation around PrivateGPT on our:
@@ -158,4 +158,4 @@ This project has been strongly influenced and supported by other amazing project
[GPT4All](https://github.com/nomic-ai/gpt4all), [GPT4All](https://github.com/nomic-ai/gpt4all),
[LlamaCpp](https://github.com/ggerganov/llama.cpp), [LlamaCpp](https://github.com/ggerganov/llama.cpp),
[Chroma](https://www.trychroma.com/) [Chroma](https://www.trychroma.com/)
and [SentenceTransformers](https://www.sbert.net/). and [SentenceTransformers](https://www.sbert.net/).

View File

@@ -89,7 +89,7 @@ navigation:
# `type:primary` is always displayed at the most right side of the navbar # `type:primary` is always displayed at the most right side of the navbar
navbar-links: navbar-links:
- type: secondary - type: secondary
text: Github text: GitHub
url: "https://github.com/imartinez/privateGPT" url: "https://github.com/imartinez/privateGPT"
- type: secondary - type: secondary
text: Contact us text: Contact us

View File

@@ -10,7 +10,7 @@
``` ```
* Install Python `3.11` (*if you do not have it already*). Ideally through a python version manager like `pyenv`. * Install Python `3.11` (*if you do not have it already*). Ideally through a python version manager like `pyenv`.
Python 3.12 should work too. Earlier python versions are not supported. Earlier python versions are not supported.
* osx/linux: [pyenv](https://github.com/pyenv/pyenv) * osx/linux: [pyenv](https://github.com/pyenv/pyenv)
* windows: [pyenv-win](https://github.com/pyenv-win/pyenv-win) * windows: [pyenv-win](https://github.com/pyenv-win/pyenv-win)
@@ -232,4 +232,4 @@ To install a C++ compiler on Windows 10/11, follow these steps:
When running a Mac with Intel hardware (not M1), you may run into _clang: error: the clang compiler does not support ' When running a Mac with Intel hardware (not M1), you may run into _clang: error: the clang compiler does not support '
-march=native'_ during pip install. -march=native'_ during pip install.
If so set your archflags during pip install. eg: _ARCHFLAGS="-arch x86_64" pip3 install -r requirements.txt_ If so set your archflags during pip install. eg: _ARCHFLAGS="-arch x86_64" pip3 install -r requirements.txt_

View File

@@ -22,13 +22,15 @@ data:
ui: ui:
enabled: true enabled: true
path: / path: /
default_chat_system_prompt: "You are a helpful, respectful and honest assistant. default_chat_system_prompt: >
You are a helpful, respectful and honest assistant.
Always answer as helpfully as possible and follow ALL given instructions. Always answer as helpfully as possible and follow ALL given instructions.
Do not speculate or make up information. Do not speculate or make up information.
Do not reference any given instructions or context." Do not reference any given instructions or context.
default_query_system_prompt: "You can only answer questions about the provided context. default_query_system_prompt: >
If you know the answer but it is not based in the provided context, don't provide You can only answer questions about the provided context.
the answer, just state the answer is not in the context provided." If you know the answer but it is not based in the provided context, don't provide
the answer, just state the answer is not in the context provided.
llm: llm:
mode: local mode: local