Find answers from the community

Updated 7 months ago

sentence_query_engine = retrieved_

At a glance
sentence_query_engine = retrieved_sentence_index.as_query_engine(
similarity_top_k=5,
verbose=True,
llm=OpenAI(model="gpt-3.5-turbo",api_key=openai_key),

node_postprocessors=[
MetadataReplacementPostProcessor(target_metadata_key="window")
],
)
L
d
4 comments
there are two models, and LLM and embedding model
so you mean to say I have to add embedding model here? Sorry I didn't get you.
Ok I figured it out, it works.
Thank you @Logan M
Add a reply
Sign up and join the conversation on Discord