Authorization: Bearer ********************
{
"model": "gpt-4o-all",
"messages": [
{
"role": "user",
"content": "https://mj101-1317487292.cos.ap-shanghai.myqcloud.com/ai/test.pdf文档里说了什么?"
}
]
}
curl --location --request POST 'https://api.ecovai.cn/v1/chat/completions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-4o-all",
"messages": [
{
"role": "user",
"content": "https://mj101-1317487292.cos.ap-shanghai.myqcloud.com/ai/test.pdf文档里说了什么?"
}
]
}'
{
"id": "chatcmpl-89D2lyyAGmObtoigz6rjRnkirMStF",
"model": "gpt-4o-all",
"object": "chat.completion",
"created": 1730454919,
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "\n``` \n open_url(\"https://mj101-1317487292.cos.ap-shanghai.myqcloud.com/ai/test.pdf\")\n```\nThe document appears to contain ancient love spells, likely from historical magical or mystical texts. Here’s a summary of the main sections:\n\n1. **Valentine Ritual**: A spell involving bread pieces, ritual dirt, and invoking gods like Hecate to invoke love and obsession in a target by causing them mental anguish until they reciprocate the caster's affection.\n\n2. **Invocation of Daemons**: A spell calling on mystical powers to bind two people together with intense desire, using phrases to connect their bodies and souls, particularly aimed at inciting passionate attraction.\n\n3. **Aphrodite’s Secret Name**: This section reveals a mystical name of Aphrodite and outlines a ritual involving purity and the repeated whispering of this name to win the love of a beautiful person.\n\n4. **Myrrh Spell**: A ritual that uses myrrh, invoking its bitter qualities to create unacknowledged love in a target. The spell calls for relentless obsession, urging the target to think of the caster constantly until they unite.\n\nThese spells focus on compelling another person’s love or attraction, with an intense, almost forceful approach common in historical love rituals."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 35,
"completion_tokens": 266,
"total_tokens": 301
}
}