Fix OpenAI cross-encoder prompt (#213)

* fix

* format
This commit is contained in:
Preston Rasmussen 2024-11-12 16:28:41 -05:00 committed by GitHub
parent be52a0f32b
commit 471741c05a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,10 +64,10 @@ class OpenAIRerankerClient(CrossEncoderClient):
content=f"""
Respond with "True" if PASSAGE is relevant to QUERY and "False" otherwise.
<PASSAGE>
{query}
</PASSAGE>
{passage}
</PASSAGE>
<QUERY>
{query}
</QUERY>
""",
),