File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 2424use Symfony \AI \Store \Document \TextDocument ;
2525use Symfony \AI \Store \Document \Vectorizer ;
2626use Symfony \AI \Store \Indexer ;
27- use Symfony \Component \HttpClient \HttpClient ;
2827use Symfony \Component \Uid \Uuid ;
2928
3029require_once dirname (__DIR__ ).'/bootstrap.php ' ;
3130
3231// initialize the store
3332$ store = new Store (
34- httpClient: HttpClient:: create (),
33+ httpClient: http_client (),
3534 endpointUrl: env ('NEO4J_HOST ' ),
3635 username: env ('NEO4J_USERNAME ' ),
3736 password: env ('NEO4J_PASSWORD ' ),
Original file line number Diff line number Diff line change 2424use Symfony \AI \Store \Document \TextDocument ;
2525use Symfony \AI \Store \Document \Vectorizer ;
2626use Symfony \AI \Store \Indexer ;
27- use Symfony \Component \HttpClient \HttpClient ;
2827use Symfony \Component \Uid \Uuid ;
2928
3029require_once dirname (__DIR__ ).'/bootstrap.php ' ;
3130
3231// initialize the store
3332$ store = new Store (
34- HttpClient:: create (),
33+ http_client (),
3534 env ('QDRANT_HOST ' ),
3635 env ('QDRANT_SERVICE_API_KEY ' ),
3736 'movies ' ,
Original file line number Diff line number Diff line change 2424use Symfony \AI \Store \Document \TextDocument ;
2525use Symfony \AI \Store \Document \Vectorizer ;
2626use Symfony \AI \Store \Indexer ;
27- use Symfony \Component \HttpClient \HttpClient ;
2827use Symfony \Component \Uid \Uuid ;
2928
3029require_once dirname (__DIR__ ).'/bootstrap.php ' ;
3130
3231// initialize the store
3332$ store = new Store (
34- httpClient: HttpClient:: create (),
33+ httpClient: http_client (),
3534 endpointUrl: env ('SURREALDB_HOST ' ),
3635 user: env ('SURREALDB_USER ' ),
3736 password: env ('SURREALDB_PASS ' ),
You can’t perform that action at this time.
0 commit comments