NVIDIAEmbeddings.model_type, instead of setting model_type="query" or "passage" use NVIDIAEmbeddings.embed_query and NVIDIAEmbeddings.embed_documents
migration guide -
ChatNVIDIA().mode("nim", base_url="http://...") must use ChatNVIDIA(base_url="http://...")
NVIDIAEmbeddings().mode("nim", base_url="http://...") must use NVIDIAEmbeddings(base_url="http://...")
NVIDIARerank().mode("nim", base_url="http://...") must use NVIDIARerank(base_url="http://...")
compatibility for the playground_nvolveqa_40k (aka nvolveqa_40k) model. when specifying model="nvolveqa_40k", the NV-Embed-QA model will be used and truncate="END" will be set. note: the old nvolveqa_40k model endpoint would silently truncated input while all available endpoints raise an error instead of truncating.
model migration, the following models will raise a warning and use an alternative (model changes in italics) -
this is version 0.1.0 of the connectors with two primary changes -
all playground_* model endpoints have been decommissioned.
functionality removed -
functionality deprecated -
migration guide -
ChatNVIDIA().mode("nim", base_url="http://...")
must useChatNVIDIA(base_url="http://...")
NVIDIAEmbeddings().mode("nim", base_url="http://...")
must useNVIDIAEmbeddings(base_url="http://...")
NVIDIARerank().mode("nim", base_url="http://...")
must useNVIDIARerank(base_url="http://...")
model migration, the following models will raise a warning and use an alternative (model changes in italics) -