Skip to content

Commit

Permalink
[change] pagesize
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Apr 17, 2023
1 parent e9303f8 commit 1b99d83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
port: 22
username: root
key: ${{ secrets.SSH_KEY }}
script: rm -rf /data/knowledge && mkdir -p /data/knowledge/logs && cd /data/knowledge && tar xvfz /root/dist-knowledge.tar.gz && supervisorctl reload
script: rm -rf /data/knowledge && mkdir -p /data/knowledge/logs && cd /data/knowledge && tar xvfz /root/dist-knowledge.tar.gz && supervisorctl reload && /usr/local/bin/yao-0418 migrate --force
2 changes: 1 addition & 1 deletion scripts/vector.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

const distance = 0.2;
const distancePrompts = 6;
const pageSize = 2;
const pageSize = 9;

/**
* the schema of the vector database
Expand Down

0 comments on commit 1b99d83

Please sign in to comment.