All embeddings requests are failing

Created on 16 June 2025, about 2 months ago

Problem/Motivation

VertexProvider::embeddings does not post to a complete URL, it only includes the path in the request. It looks like VertexProvider::chat does post against a complete URL.

Steps to reproduce

Try to generate embeddings data with the Vertex provider, get something like:

cURL error 6: Could not resolve host: projects (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for projects/redacted/locations/us-east4/publishers/google/models/text-embedding-005:predict

Proposed resolution

Update VertexProvider::embeddings to replicate what VertexProvider::chat does and calculate the full URL using the location.

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States lpeabody

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024