You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/templates/cohere-librarian/cohere_librarian
ccurme c010ec8b71
patch: deprecate (a)get_relevant_documents (#20477)
- `.get_relevant_documents(query)` -> `.invoke(query)`
- `.get_relevant_documents(query=query)` -> `.invoke(query)`
- `.get_relevant_documents(query, callbacks=callbacks)` ->
`.invoke(query, config={"callbacks": callbacks})`
- `.get_relevant_documents(query, **kwargs)` -> `.invoke(query,
**kwargs)`

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2 months ago
..
__init__.py templates[patch]: Add cohere librarian template (#14601) 7 months ago
blurb_matcher.py patch: deprecate (a)get_relevant_documents (#20477) 2 months ago
chain.py templates[patch]: Add cohere librarian template (#14601) 7 months ago
chat.py docs, community[patch], experimental[patch], langchain[patch], cli[pa… (#15412) 6 months ago
library_info.py templates: fix deps (#15439) 6 months ago
rag.py patch: deprecate (a)get_relevant_documents (#20477) 2 months ago
router.py templates: fix deps (#15439) 6 months ago