Find answers from the community

Updated 2 weeks ago

Query

index = load_or_create_index(storage_context=storage_context, embed_model=embed_model, documents=documents)
query_engine = index.as_query_engine(
verbose=True,
)
response = query_engine.query("What is so funnny?")

does the query engine as well needs the embed model ?
L
1 comment
Yes, it needs to embed the queries
Add a reply
Sign up and join the conversation on Discord