Commit Graph

20 Commits

Author SHA1 Message Date
Iván Martínez 2940f987c0
Merge pull request #822 from VaiTon/fix/env-not-existing
Better error message if .env is empty/does not exist.
2023-08-28 17:41:47 +02:00
Iván Martínez 7b294ed31f Update dependencies. Upgrade chromadb integration. 2023-08-28 17:32:56 +02:00
Saurabh e98e86ee99
Update privateGPT.py 2023-07-21 20:37:37 +05:30
VaiTon 28537b6a84 Better error message if .env is empty/does not exist. 2023-07-06 00:16:11 +02:00
Daniel McDonald d540adedcc raise exeception 2023-06-16 09:18:49 -04:00
ivan-ontruck ad661933cb Support n_batch to improve inference performance 2023-06-11 21:33:35 +02:00
ivan-ontruck 52eb020256 Add inference time to output 2023-06-11 21:16:17 +02:00
Jiang Sheng ddfb95a32e
Skip for empty query 2023-06-07 23:29:55 +08:00
impulsivus cf709a6b7a
feat: Get answers using preferred number of chunks 2023-05-24 21:16:58 +03:00
MDW 04f6706bbb Make scripts executeable, add basic pre-commit setup 2023-05-20 11:15:58 +02:00
abhiruka f8805c80f8 Update as per the feedback.
- moved args parser inside main
- assigned empty list to docs.
- Updated README.md.
2023-05-20 07:40:05 +08:00
abhiruka 9fb7f07e3c "Refactored main function to take hide_source and mute_stream parameters for controlling output. Added argparse for command-line argument parsing. StreamingStdOutCallbackHandler and source document display are now optional based on user input. Introduced parse_arguments function to handle command-line arguments. Also, updated README.md to reflect these changes." 2023-05-19 23:18:31 +08:00
Iván Martínez 23d24c88e9 Update code to use sentence-transformers through huggingfaceembeddings 2023-05-17 00:32:41 +02:00
Sorin Neacsu e947ca1d0f
load .env 2023-05-11 15:33:56 -07:00
alxspiker f60dbb520e
Merge branch 'main' into main 2023-05-11 14:34:13 -06:00
alxspiker 52ae6c0866 .env + LlamaCpp + PDF/CSV + Ingest All
.env

Added an env file to make configuration easier

LlamaCpp

Added support for LlamaCpp in .env (MODEL_TYPE=LlamaCpp)

PDF/CSV

Added support for PDF and CSV files.

Ingest All

All files in source_documents will automatically get stored in vector store based on their file type when running ingest, no longer need a path argument.
2023-05-11 14:24:39 -06:00
R-Y-M-R f12ea568e5 Use constants.py file 2023-05-11 10:29:07 -04:00
R-Y-M-R 8c6a81a07f Fix: Disable Chroma Telemetry
Opts-out of anonymized telemetry being tracked in Chroma.

See: https://docs.trychroma.com/telemetry
2023-05-11 10:17:18 -04:00
Iván Martínez bdd8c8748b Update dependencies. Remove custom gpt4all_j wrapper. 2023-05-08 23:41:57 +02:00
Iván martínez 55338b8f6e End-to-end working version 2023-05-02 20:32:28 +02:00