Docs Support Console

Demo: Generate text content

This demo shows you how to generate text content by passing a text prompt to a Gemini model, by using the Vertex AI SDK for ABAP.

Before you begin

Before you run this demo, make sure that you or your administrators have completed the following prerequisites:

Generate text content

To generate text content, perform the following steps:

  1. In SAP GUI, execute the transaction code /GOOG/SDK_IMG .

    Alternatively, execute the transaction code SPRO , and then click SAP Reference IMG.

  2. Go to ABAP SDK for Google Cloud  > Demos.

  3. Open Vertex AI SDK: Demo: Invoke Text and Multimodal Gemini Models.

  4. Select Generate text content.

  5. In the Client keyfield, enter the client key for authentication.

  6. In the Model keyfield, enter the model key, which is configured in the model generation parameters .

  7. In the Enter system instructionsfield, provide system instructions .

  8. In the Enter promptfield, provide your input prompt .

  9. Run the program. The Response from LLMarea shows the generated text.

Create a Mobile Website
View Site in Mobile | Classic
Share by: