mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 07:40:12 +01:00
feat: Get answers using preferred number of chunks
This commit is contained in:
parent
573c4363c4
commit
cf709a6b7a
3 changed files with 5 additions and 2 deletions
|
|
@ -22,6 +22,7 @@ PERSIST_DIRECTORY: is the folder you want your vectorstore in
|
|||
MODEL_PATH: Path to your GPT4All or LlamaCpp supported LLM
|
||||
MODEL_N_CTX: Maximum token limit for the LLM model
|
||||
EMBEDDINGS_MODEL_NAME: SentenceTransformers embeddings model name (see https://www.sbert.net/docs/pretrained_models.html)
|
||||
TARGET_SOURCE_CHUNKS: The amount of chunks (sources) that will be used to answer a question
|
||||
```
|
||||
|
||||
Note: because of the way `langchain` loads the `SentenceTransformers` embeddings, the first time you run the script it will require internet connection to download the embeddings model itself.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue