The community member is encountering an error when attempting to conduct semantic chunking with an embedding model where the dimensions parameter is stated. The error message indicates that the create() function in the OpenAI client is receiving an unexpected keyword argument 'dimensions'. Other community members suggest that the issue may be due to an outdated OpenAI client version. After updating the OpenAI client, the issue was resolved.
packages/llama_index/embeddings/openai/base.py", line 180, in get_embeddings data = client.embeddings.create(input=list_of_text, model=engine, **kwargs).data TypeError: create() got an unexpected keyword argument 'dimensions'