Seleziona le tue preferenze relative ai cookie

Utilizziamo cookie essenziali e strumenti simili necessari per fornire il nostro sito e i nostri servizi. Utilizziamo i cookie prestazionali per raccogliere statistiche anonime in modo da poter capire come i clienti utilizzano il nostro sito e apportare miglioramenti. I cookie essenziali non possono essere disattivati, ma puoi fare clic su \"Personalizza\" o \"Rifiuta\" per rifiutare i cookie prestazionali.

Se sei d'accordo, AWS e le terze parti approvate utilizzeranno i cookie anche per fornire utili funzionalità del sito, ricordare le tue preferenze e visualizzare contenuti pertinenti, inclusa la pubblicità pertinente. Per continuare senza accettare questi cookie, fai clic su \"Continua\" o \"Rifiuta\". Per effettuare scelte più dettagliate o saperne di più, fai clic su \"Personalizza\".

Chat with a model in the chat playground - Amazon SageMaker Unified Studio
Questa pagina non è tradotta nella tua lingua. Richiedi traduzione

Amazon SageMaker Unified Studio is in preview release and is subject to change.

Amazon SageMaker Unified Studio is in preview release and is subject to change.

Chat with a model in the chat playground

In these instructions, you use the Amazon Bedrock IDE chat playground to chat with an Amazon Bedrock IDE model. You chat by sending a prompt to the model and answering the response that the model generates. For more information, see Experiment with the Amazon Bedrock IDE playgrounds.

If you don't have access to a model, contact your administrator.

To chat with a model
  1. Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your admininstrator.

  2. Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see Access Amazon SageMaker Unified Studio.

  3. At the top of the page, choose the Discover.

  4. In the Generative AI section, choose Chat playground to open the chat playground.

    Open Amazon Bedrock IDE chat playground.
  5. In Type select Model and then select a model to use in Model. If you don't see a model, contact your administrator.

  6. In the Enter prompt text box, enter What is Avebury stone circle?.

  7. Press Enter on your keyboard, or choose the run button, to send the prompt to the model. Amazon Bedrock IDE shows the response from the model in the playground.

    Run prompt in Amazon Bedrock IDE chat playground.
  8. Continue the chat by entering the prompt Is there a museum there? and pressing Enter.

    The response shows how the model uses the previous prompt as context for generating its next response.

  9. Choose Reset to start a new chat with the model.

  10. Influence the model response by doing the following:

    1. Enter and run a prompt. Note the response from the model.

    2. Choose the configurations menu to open the Configurations pane.

      Inference parameters in Amazon Bedrock IDE chat playground.
    3. Influence the model response by making inference parameters changes.

    4. Run the prompt again and compare the response with the previous response.

  11. Choose Reset to start a new chat with the model.

  12. Try sending an image or video to a model by doing the following:

    1. For Model, choose one of the following:

      • If you want to use an image in your prompt, choose a model that supports images.

      • If you want to use a video in your prompt, choose a model that supports videos.

    2. Choose the attachment button at the left of the Enter prompt text box.

      Run prompt in Amazon Bedrock IDE chat playground.
    3. In the open file dialog box, choose an image or a video from your local computer.

    4. In the text box, next to the image or video that you uploaded, enter What's in this image?. If you uploaded a video, enter What's in this video?.

    5. Press Enter on your keyboard enter to send the prompt to the model. The response from the models describes the model or image.

  13. (Optional) Try using another model and different prompts. Different models have different recommendations for creating, or engineering, prompts. For more information, see Prompt engineering guides.

  14. (Optional) Compare the output from multiple models, or shared apps.

    1. In the playground, turn on Compare mode.

    2. In both panes, select the model that you want to compare. If you want to use a shared app, select App in Type and then select the app in App.

    3. Enter a prompt in the text box and run the prompt. The output from each model is shown. You can choose the copy icon to copy the prompt or model response to the clipboard.

    4. (Optional) Choose View configs to make configuration changes, such as inference parameters. Choose View chats to return to the chat page.

    5. (Optional) Choose Add chat window to add a third window. You can compare up to 3 models or apps.

    6. Turn off Compare mode to stop comparing models.

PrivacyCondizioni del sitoPreferenze cookie
© 2024, Amazon Web Services, Inc. o società affiliate. Tutti i diritti riservati.