similarity_top_k=1000
response_mode="no_text"
query_term = "formation"
query_engine = picone_index_llama.as_query_engine(
retriever_mode="embedding",
service_context=service_context,
verbose=True,
similarity_top_k=similarity_top_k,
response_mode=response_mode
)
query_engine.query(query_term)
----------------
ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'content-type': 'application/json', 'Content-Length': '103', 'date': 'Sat, 09 Sep 2023 10:45:46 GMT', 'x-envoy-upstream-service-time': '0', 'server': 'envoy', 'Via': '1.1 google', 'Alt-Svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'})
HTTP response body: {"code":3,"message":"Vector dimension 1536 does not match the dimension of the index 768","details":[]}
How to set the embedding size into my query engine?