חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

Google game

  • אין תגובות
  • 0 have this problem
  • 3 views
more options

{

 "choices": [
   {
     "text": "Sure! Here's a search engine optimized article about...",
     "log_probs": null
   }
 ],
 "model": "palmyra-x-003-instruct"

}curl --location --request POST https://api.writer.com/v1/completions \

--header "Authorization: Bearer <token>" \
--header "Content-Type: application/json" \

--data-raw '{"model":"palmyra-x-003-instruct","prompt":"Write me an SEO article about...","max_tokens":150,"temperature":0.7,"top_p":0.9,"stop":["."],"best_of":1,"random_seed":42,"stream":false}'https://api.writer.com/v1/completionsimport Writer from 'writer-sdk';

const client = new Writer({

 apiKey: process.env['WRITER_API_KEY'], // This is the default and can be omitted

});

async function main() {

 const completion = await client.completions.create({
   model: 'palmyra-x-003-instruct',
   prompt: 'Write me an SEO article about...',
 });
 console.log(completion.choices);

}

main();import os from writerai import Writer

client = Writer(

   # This is the default and can be omitted
   api_key=os.environ.get("WRITER_API_KEY"),

) completion = client.completions.create(

   model="palmyra-x-003-instruct",
   prompt="Write me an SEO article about...",

) print(completion.choices)

{ "choices": [ { "text": "Sure! Here's a search engine optimized article about...", "log_probs": null } ], "model": "palmyra-x-003-instruct" }curl --location --request POST https://api.writer.com/v1/completions \ --header "Authorization: Bearer <token>" \ --header "Content-Type: application/json" \ --data-raw '{"model":"palmyra-x-003-instruct","prompt":"Write me an SEO article about...","max_tokens":150,"temperature":0.7,"top_p":0.9,"stop":["."],"best_of":1,"random_seed":42,"stream":false}'https://api.writer.com/v1/completionsimport Writer from 'writer-sdk'; const client = new Writer({ apiKey: process.env['WRITER_API_KEY'], // This is the default and can be omitted }); async function main() { const completion = await client.completions.create({ model: 'palmyra-x-003-instruct', prompt: 'Write me an SEO article about...', }); console.log(completion.choices); } main();import os from writerai import Writer client = Writer( # This is the default and can be omitted api_key=os.environ.get("WRITER_API_KEY"), ) completion = client.completions.create( model="palmyra-x-003-instruct", prompt="Write me an SEO article about...", ) print(completion.choices)
צילומי מסך מצורפים