Chat (amazon.titan-tg1-large)
POST https://bedrock-runtime.{{AWS_Region}}.amazonaws.com/model/:model_identifier/invoke
Request Body
{"inputText"=>"System: You are an helpful assistant. Answer questions in a concise way. \nQuestion: How can I fix a flat tire on my Ford F150 Lightning? \nAnswer: ", "textGenerationConfig"=>{"maxTokenCount"=>4096, "temperature"=>0, "topP"=>0.9}}
RESPONSES
status: OK
{"inputTextTokenCount":40,"results":[{"tokenCount":185,"outputText":"1. Find a safe place to park your Ford F150 Lightning and turn on the hazard lights.\n2. Locate the spare tire, jack, and lug wrench in the trunk or under the bed.\n3. Use the lug wrench to loosen the lug nuts on the flat tire, but do not remove them yet.\n4. Position the jack under the vehicle near the flat tire and raise it until the tire is off the ground.\n5. Completely remove the lug nuts and the flat tire.\n6. Mount the spare tire onto the wheel hub and hand-tighten the lug nuts.\n7. Lower the jack and tighten the lug nuts with the lug wrench in a star pattern.\n8. Check the tire pressure of the spare tire and make sure it is properly inflated.\n9. Put the lug wrench, jack, and flat tire in the trunk or under the bed.","completionReason":"FINISH"}]}