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'
From a glance at your code, yes, you should be able to conduct the vector search query via using the MongoDB vector search aggregate pipeline with LlamaIndex: