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>
2024-04-22 11:14:53 -04:00
..
__init__.py templates[patch]: Add cohere librarian template (#14601) 2023-12-13 14:34:44 -08:00
blurb_matcher.py patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
chain.py templates[patch]: Add cohere librarian template (#14601) 2023-12-13 14:34:44 -08:00
chat.py docs, community[patch], experimental[patch], langchain[patch], cli[pa… (#15412) 2024-01-02 15:32:16 -05:00
library_info.py templates: fix deps (#15439) 2024-01-03 13:28:05 -08:00
rag.py patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
router.py templates: fix deps (#15439) 2024-01-03 13:28:05 -08:00