- Issue created by @lpeabody
- First commit to issue fork.
- Merge request !9Issue #3530443 by lpeabody, yce: All embeddings requests are failing β (Open) created by yce
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.
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
Update VertexProvider::embeddings
to replicate what VertexProvider::chat
does and calculate the full URL using the location.
Active
1.1
Code