Skip to content

Commit 695792f

Browse files
committed
bug #1086 [Demo] Fix blog indexing after chroma lib update (chr-hertel)
This PR was merged into the main branch. Discussion ---------- [Demo] Fix blog indexing after chroma lib update | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | | License | MIT Follows ChromaDB Lib and Symfony 7.4 update. Commits ------- 4e49760 Fix blog indexing after chroma lib update
2 parents a54c63b + 4e49760 commit 695792f

File tree

4 files changed

+1556
-4
lines changed

4 files changed

+1556
-4
lines changed

demo/.env

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ APP_ENV=dev
1919
APP_SECRET=ccb9dca72dce53c683eaaf775bfdb253
2020
###< symfony/framework-bundle ###
2121

22-
CHROMADB_HOST=chromadb
23-
CHROMADB_PORT=8080
2422
HUGGINGFACE_API_KEY=hf-...
2523

2624
###> symfony/ai-bundle ###

demo/composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@
88
"ext-ctype": "*",
99
"ext-gd": "*",
1010
"ext-iconv": "*",
11-
"symfony/ai-chroma-db-store": "@dev",
1211
"league/commonmark": "^2.7.1",
1312
"mrmysql/youtube-transcript": "^0.0.5",
13+
"nyholm/psr7": "^1.8",
1414
"php-http/discovery": "^1.20",
1515
"runtime/frankenphp-symfony": "^0.2.0",
1616
"symfony/ai-bundle": "@dev",
17+
"symfony/ai-chroma-db-store": "@dev",
1718
"symfony/ai-clock-tool": "@dev",
1819
"symfony/ai-similarity-search-tool": "@dev",
1920
"symfony/ai-wikipedia-tool": "@dev",

demo/config/packages/chromadb.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
Codewithkyrian\ChromaDB\Factory:
33
calls:
4-
- withHost: ['%env(CHROMADB_HOST)%']
4+
- withHost: ['http://%env(CHROMADB_HOST)%']
55
- withPort: ['%env(CHROMADB_PORT)%']
66

77
Codewithkyrian\ChromaDB\Client:

0 commit comments

Comments
 (0)