Merge pull request #231 from milescattini/patch-1

Add fix for clang install of non m1 mac
This commit is contained in:
Iván Martínez 2023-05-18 23:51:36 +02:00 committed by GitHub
commit ad64589c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,5 +106,10 @@ To install a C++ compiler on Windows 10/11, follow these steps:
3. Download the MinGW installer from the [MinGW website](https://sourceforge.net/projects/mingw/).
4. Run the installer and select the `gcc` component.
## Mac Running Intel
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.
If so set your archflags during pip install. eg: _ARCHFLAGS="-arch x86_64" pip3 install -r requirements.txt_
# Disclaimer
This is a test project to validate the feasibility of a fully private solution for question answering using LLMs and Vector embeddings. It is not production ready, and it is not meant to be used in production. The models selection is not optimized for performance, but for privacy; but it is possible to use different models and vectorstores to improve performance.