Skip to content

Commit

Permalink
Merge pull request #31 from flepied/metadata
Browse files Browse the repository at this point in the history
inherit metadata from the markdown header
  • Loading branch information
flepied committed Sep 3, 2023
2 parents 62fbb0f + 739331f commit 7654cee
Show file tree
Hide file tree
Showing 6 changed files with 269 additions and 240 deletions.
8 changes: 0 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,6 @@ repos:
pass_filenames: false
files: ^(.*/)?pyproject.toml$

- id: poetry-check-lock
name: Poetry check lock
description: run poetry check for lock consistency
entry: poetry check --lock
language: python
pass_filenames: false
files: ^(.*/)?pyproject.toml$

- id: inject-chromadb-version
name: inject chromadb version into compose.yaml
entry: make compose.yaml
Expand Down
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ networks:
driver: bridge
services:
server:
image: ghcr.io/chroma-core/chroma:0.4.7
image: ghcr.io/chroma-core/chroma:0.4.8
volumes:
- $DSTDIR/Db:/chroma/chroma:z
ports:
Expand Down
3 changes: 1 addition & 2 deletions integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ done
sudo journalctl -u sba-md
sudo journalctl -u sba-txt

set +x

# test the vector store
RES=$(poetry run ./similarity.py "What is langchain?")
echo "$RES"
Expand Down Expand Up @@ -68,6 +66,7 @@ while [ $TRY -lt 30 ]; do
sleep 1
done
sudo journalctl -u sba-md
jq . $HOME/.second-brain/checksums.json
sudo journalctl -u sba-md | grep "skipping $HOME/Notes/langchain.md as content did not change"

# wait a bit to be sure to have all the logs in different seconds
Expand Down
Loading

0 comments on commit 7654cee

Please sign in to comment.