mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Adjust arguments in khoj_docker.yml for support
This commit is contained in:
parent
2e0ad6c8a1
commit
13986f0e92
2 changed files with 8 additions and 5 deletions
|
@ -14,6 +14,9 @@ WORKDIR /app
|
|||
RUN pip install --upgrade pip && \
|
||||
pip install --upgrade .
|
||||
|
||||
# https://stackoverflow.com/questions/64776990/python-docker-no-module-found
|
||||
ENV PYTHONPATH /app
|
||||
|
||||
# Run the Application
|
||||
# There are more arguments required for the application to run,
|
||||
# but these should be passed in through the docker-compose.yml file.
|
||||
|
|
|
@ -2,14 +2,14 @@ content-type:
|
|||
# The /data/folder/ prefix to the folders is here because this is
|
||||
# the directory to which the local files are copied in the docker-compose.
|
||||
# If changing, the docker-compose volumes should also be changed to match.
|
||||
yaml:
|
||||
panchayat :
|
||||
input-files: null
|
||||
input-filter: "/home/saba/projects/panchayat/panchayat/instance/*.yaml"
|
||||
compressed-jsonl: "/data/embeddings/panchyat.jsonl.gz"
|
||||
embeddings-file: "/data/embeddings/panchayat_embeddings.pt"
|
||||
input-filter: "/data/panchayat/*.yaml"
|
||||
compressed-jsonl: "/data/embeddings/new/panchyat.jsonl.gz"
|
||||
embeddings-file: "/data/embeddings/new/panchayat_embeddings.pt"
|
||||
|
||||
search-type:
|
||||
symmetric:
|
||||
symmetric:
|
||||
encoder: "sentence-transformers/all-MiniLM-L6-v2"
|
||||
cross-encoder: "cross-encoder/ms-marco-MiniLM-L-6-v2"
|
||||
model_directory: "/data/models/symmetric"
|
||||
|
|
Loading…
Add table
Reference in a new issue