API Suite

Features and capabilities within the GenAI user interface and beyond that are also available with corresponding RESTful APIs for programmatic development.

These APIs are useful in facilitating these scenarios:

  • Get list of LLMs.
  • Get the completion back from the LLM

This table shows the available GenAI APIs:

Endpoints Description
GENAI/chatsvc
  • /api/v1/prompt for a single prompt to be submitted to the LLM
  • /api/v1/chat for a prompt with Tools to be submitted to the LLM
  • /info to retrieve more application details
  • /api/v1/models for a list that provides details on all supported LLMs in the GenAI Assistant
  • /api/v1/sessions/{session_id} to delete a session history