haiku.rag/tests/cassettes/test_reranker/test_zeroentropy_reranker.yaml

59 lines
2.3 KiB
YAML

interactions:
- request:
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate, zstd
connection:
- keep-alive
content-length:
- '1248'
content-type:
- application/json
host:
- api.zeroentropy.dev
method: POST
parsed_body:
documents:
- To Kill a Mockingbird is a novel by Harper Lee published in 1960. It was immediately successful, winning the Pulitzer
Prize, and has become a classic of modern American literature.
- The novel Moby-Dick was written by Herman Melville and first published in 1851. It is considered a masterpiece of
American literature and deals with complex themes of obsession, revenge, and the conflict between good and evil.
- Harper Lee, an American novelist widely known for her novel To Kill a Mockingbird, was born in 1926 in Monroeville,
Alabama. She received the Pulitzer Prize for Fiction in 1961.
- Jane Austen was an English novelist known primarily for her six major novels, which interpret, critique and comment
upon the British landed gentry at the end of the 18th century.
- The Harry Potter series, which consists of seven fantasy novels written by British author J.K. Rowling, is among the
most popular and critically acclaimed books of the modern era.
- The Great Gatsby, a novel written by American author F. Scott Fitzgerald, was published in 1925. The story is set
in the Jazz Age and follows the life of millionaire Jay Gatsby and his pursuit of Daisy Buchanan.
model: zerank-1
query: Who wrote 'To Kill a Mockingbird'?
uri: https://api.zeroentropy.dev/v1/models/rerank
response:
headers:
connection:
- keep-alive
content-length:
- '309'
content-type:
- application/json
parsed_body:
results:
- index: 2
relevance_score: 0.9392035026199311
- index: 0
relevance_score: 0.918713920386427
- index: 5
relevance_score: 0.0860773208330919
- index: 4
relevance_score: 0.08035746882220708
- index: 3
relevance_score: 0.07673913563377131
- index: 1
relevance_score: 0.07498651627727318
status:
code: 200
message: OK
version: 1