ChromaDB port configuration doesn't register properly even though the application yml configuration was correct.

Bug description Spring-ai ChromaDB vector store port configuration doesn't register

Error shows when the app is run Caused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "localhost:/api/v1/collections/vector_store": unknown protocol: localhost

Environment Spring AI version 1.0.0-SNAPSHOT, Java 11, using Chroma vector store

Expected behavior Port number should be appended properly to connect to the chromadb.

Comment From: eddumelendez

host should be http://localhost instead

Comment From: tzolov

I've fixed the documentation to point to the correct default host property: https://docs.spring.io/spring-ai/reference/api/vectordbs/chroma.html#_configuration_properties

Comment From: kevintanhongann

Awesome thanks 👍

On Wed, 20 Nov 2024, 8:17 am Christian Tzolov, @.***> wrote:

I've fixed the documentation to point to the correct default host property: https://docs.spring.io/spring-ai/reference/api/vectordbs/chroma.html#_configuration_properties

— Reply to this email directly, view it on GitHub https://github.com/spring-projects/spring-ai/issues/1715#issuecomment-2487028200, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACXY4MKAVBDEOOG3VVT6HT2BPIJLAVCNFSM6AAAAABRQN22ZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBXGAZDQMRQGA . You are receiving this because you authored the thread.Message ID: @.***>