Ask a question to get started
Enter to sendā¢Shift+Enter new line
FireworksRerank()
BaseDocumentCompressor
OpenAI-compatible client used to call Fireworks.
Async OpenAI-compatible client used to call Fireworks.
Number of documents to return.
Fireworks reranking model to use.
Fireworks API key.
Base URL for the Fireworks API.
Identifier for the application making the request.
Create the OpenAI-compatible clients that were not supplied.
Return document indexes ordered by relevance to a query.
Asynchronously return document indexes ordered by relevance to a query.
Compress documents by keeping the most relevant results.
Asynchronously compress documents by keeping the most relevant results.
Document compressor that uses Fireworks' reranking API.