Noticed that the embedding example code with OpenAI python library is wrong:
client = openai.OpenAI(
base_url="https://api.sambanova.ai/v1/embeddings",
api_key="<your-api-key>",
)
The code returns 404 error.
The base_url should just be: base_url="https://api.sambanova.ai/v1/
.
Please kindly test it and correct. Thanks.