Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

inherit metadata from the markdown header #31

Merged
merged 1 commit into from
Sep 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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