Skip to content

Usage


Description: Uses ollama to generate a reply to the given prompt

Input parameters:

  • PROMPT (required): The input prompt for the LLM.
  • model_id (optional): The ollama identifier of the model to use for generation.

Return type:

  • clob(2G) ccsid 1208

Return value:

  • The generated reply.

Description: sets the ollama server to be used for this job Input parameters:

  • HOSTNAME (required): The IP address or hostname of the ollama server.

Description: sets the ollama server to be used for this user profile (persists across jobs) Input parameters:

  • HOSTNAME (required): The IP address or hostname of the ollama server.

Description: sets the ollama server port to be used for this job Input parameters:

  • PORT (required): The ollama server port.

Description: sets the ollama server port to be used for this user profile (persists across jobs). Input parameters:

  • PORT (required): The ollama server port.

Description: sets the large language model (LLM) to be used for this job Input parameters:

  • MODEL (required): The ollama identifier of the model to use.

Description: sets the large language model (LLM) to be used for this user profile (persists across jobs) Input parameters:

  • MODEL (required): The ollama identifier of the model to use.

Description: sets the protocol to be used for this job Input parameters:

  • PROTOCOL (required): http/https

Description: sets the protocol to be used for this user profile (persists across jobs)

Input parameters:

  • PROTOCOL (required): http/https