Skip to content

Commit

Permalink
Update start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
juntao authored Apr 13, 2024
1 parent d7c1968 commit c61129c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ reverse_prompt=$(awk -F'"' '/"reverse_prompt":/ {print $4}' config.json)
url_embedding_model=$(awk -F'"' '/"embedding":/ {print $4}' config.json)
# parse cli options for embedding vector collection name
embedding_collection_name=$(awk -F'"' '/"embedding_collection_name":/ {print $4}' config.json)
if [[ -z "$embedding_collection_name" ]]; then
embedding_collection_name="default"
fi
# gguf filename
embedding_model_name=$(basename $url_embedding_model)
# stem part of the filename
Expand Down

0 comments on commit c61129c

Please sign in to comment.