We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 345c30e commit 9bdb537Copy full SHA for 9bdb537
src/components/models/code/Bge-Reranker-Base.astro
@@ -47,10 +47,10 @@ response = requests.post(
47
f"https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/${name}",
48
headers={"Authorization": f"Bearer {AUTH_TOKEN}"},
49
json={
50
- "query": "Which one is better?"
51
- "context": [
+ "query": "Which one is better?",
+ "contexts": [
52
{"text": "a cyberpunk lizzard"},
53
- {"text": "a cyberpunk car"},
+ {"text": "a cyberpunk car"},
54
]
55
}
56
)
0 commit comments