You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to use an LM Studio hosted embeddings model but I have problem adding it.
First: i manually tried the embeddings model with RapidAPI:
Request
POST /v1/embeddings HTTP/1.1
Content-Type: application/json
Host: localhost:1234
Connection: close
User-Agent: RapidAPI/4.2.8 (Macintosh; OS X/15.2.0) GCDHTTPRequest
Content-Length: 50
{
"input": "Testo di cui generare l'embedding"
}
I already configured the LLM phi-4 from LM Studio with the url http://host.docker.internal:1234/v1/chat/completions and it works fine.
Then i tried to configure the embedding model, i selected OpenAl-compatible APl embedder, i used http://host.docker.internal:1234 as url because i have seen that in the code the /v1/embeddings is automatically added.
LM Studio log:
2025-01-24 10:57:02 [DEBUG]
Received request: POST to /v1/embeddings with body {}
2025-01-24 10:57:02 [ERROR]
'input' field is required
Chershire cat log:
[2025-01-24 09:57:02.035] ERROR cat.routes.embedder..upsert_embedder_setting::150
HTTPStatusError("Client error '400 Bad Request' for url 'http://host.docker.internal:1234/v1/embeddings'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400")
INFO: 192.168.215.1:20785 - "PUT /embedder/settings/EmbedderOpenAICompatibleConfig HTTP/1.1" 400 Bad Request
The text was updated successfully, but these errors were encountered:
I was trying to use an LM Studio hosted embeddings model but I have problem adding it.
First: i manually tried the embeddings model with RapidAPI:
Request
Response
I already configured the LLM phi-4 from LM Studio with the url
http://host.docker.internal:1234/v1/chat/completions
and it works fine.Then i tried to configure the embedding model, i selected
OpenAl-compatible APl embedder
, i usedhttp://host.docker.internal:1234
as url because i have seen that in the code the/v1/embeddings
is automatically added.LM Studio log:
Chershire cat log:
The text was updated successfully, but these errors were encountered: