This commit is contained in:
geezo 2025-04-19 21:12:33 +00:00
commit 5546d94c03
5 changed files with 324 additions and 0 deletions

1
.env Normal file
View File

@ -0,0 +1 @@
JINAAI_APIKEY=jina_61d8f670acbd4eb3922f9b5987b9e7abeX85Efaoe7Rb-idMn_TSFx8IeMlI

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
sample_files/

31
docker-compose.yaml Normal file
View File

@ -0,0 +1,31 @@
---
services:
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
image: cr.weaviate.io/semitechnologies/weaviate:1.30.1
ports:
- 8080:8080
- 50051:50051
volumes:
- weaviate_data:/var/lib/weaviate
restart: on-failure:0
environment:
CLIP_INFERENCE_API: 'http://multi2vec-clip:8080'
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
ENABLE_MODULES: 'multi2vec-clip'
ENABLE_API_BASED_MODULES: 'true'
CLUSTER_HOSTNAME: 'node1'
multi2vec-clip:
image: cr.weaviate.io/semitechnologies/multi2vec-clip:sentence-transformers-clip-ViT-B-32-multilingual-v1
environment:
ENABLE_CUDA: '0'
volumes:
weaviate_data:

283
obsidian_rag.ipynb Normal file

File diff suppressed because one or more lines are too long

8
requirements.txt Normal file
View File

@ -0,0 +1,8 @@
# colbert-ai[faiss]
# torch
# markdown2
# tqdm
weaviate-client
python-dotenv
fastembed-gpu