Problem Description
Lack of rerank implements of dashscope
Proposed Solution
Add a new class DashscopeRerankFunction. This class should accept dashscope-specific parameters (endpoint, api_key) to correctly instantiate the Dashscope client.
Context
I have locally implemented and tested . I plan to submit a PR for this.