mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-12 04:45:18 +03:00
Multiple people have asked in #5081 for a way to limit the documents returned from an AzureCognitiveSearchRetriever. This PR adds the `top_n` parameter to allow that. Twitter handle: [@UmerHAdil](twitter.com/umerHAdil)