Use RestClient internally but uses the configuration from RestTemplate. RestTemplate uses SimpleClientHttpRequestFactory meanwhile RestClient uses JdkClientHttpRequestFactory and produces unsupported upgrade request
when making a request to chroma.
Comment From: tzolov
Thanks @eddumelendez ! I made few additional: - get rid of any RestTemplate usage. - make the RestClient default to SimpleClientHttpRequestFactory as Chroma has issues with HTTP2. - update the documentation. - update the ghcr.io/chroma-core/chroma version to 0.5.0. Fix the withBasicAuthCredentials.
rebased, squashed and merged at 704dec20d9046a199587b6b32d738b1963f558e6