otto8-ai / otto8

Open source AI Agent Platform
Apache License 2.0
19 stars 12 forks source link

502 <Model.otto.otto8.ai \"text-embedding-3-small\" not found\n> #607

Open thoraxe opened 1 week ago

thoraxe commented 1 week ago

I'm trying to use text-embedding-3-small with Azure OpenAI. I have this configured in Otto8. I have deleted all other model configurations. The only two model configurations I have:

  1. text-embedding-3-small as a text-embedding model
  2. gpt-4o as the default as an agent

When attempting to ingest a knowledge document, an error occurs:

failed to ingest file: ingestion failed for at least one file: failed to add documents from file "ws://directory:///data/.local/share/otto8/workspace-provider/af4accb1-396c-4152-a027-d2be574a9783/.conversion/image-streams-manage.txt.json": couldn't add document '28a9c87f-a0f4-4ea3-9959-c219f8ab07e2': couldn't create embedding of document: error sending request(s): retry limit (5) exceeded or failed with non-retriable error(s): #1/5: 502 <Model.otto.otto8.ai "text-embedding-3-small" not found > (err: <nil>); #2/5: 502 <Model.otto.otto8.ai "text-embedding-3-small" not found > (err: <nil>); #3/5: 502 <Model.otto.otto8.ai "text-embedding-3-small" not found > (err: <nil>); #4/5: 502 <Model.otto.otto8.ai "text-embedding-3-small" not found > (err: <nil>); #5/5: 502 <Model.otto.otto8.ai "text-embedding-3-small" not found > (err: <nil>)

Is there a way to get more debug logging via environment variable? It's not clear what URL Otto8 is attempting to reach.

thedadams commented 1 week ago

Thanks for opening this issue. This is not yet supported, but a change has been submitted to make this possible: https://github.com/otto8-ai/tools/pull/212