abacusai.api_endpoint

Classes

ApiEndpoint

An collection of endpoints which can be used to make requests to, such as api calls or predict calls

Module Contents

class abacusai.api_endpoint.ApiEndpoint(client, apiEndpoint=None, predictEndpoint=None, proxyEndpoint=None, llmEndpoint=None, externalChatEndpoint=None, dashboardEndpoint=None)

Bases: abacusai.return_class.AbstractApiClass

An collection of endpoints which can be used to make requests to, such as api calls or predict calls

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • apiEndpoint (str) – The URI that can be used to make API calls

  • predictEndpoint (str) – The URI that can be used to make predict calls against Deployments

  • proxyEndpoint (str) – The URI that can be used to make proxy server calls

  • llmEndpoint (str) – The URI that can be used to make llm api calls

  • externalChatEndpoint (str) – The URI that can be used to access the external chat

  • dashboardEndpoint (str) – The URI that the external chat will use to go back to the dashboard

api_endpoint
predict_endpoint
proxy_endpoint
llm_endpoint
external_chat_endpoint
dashboard_endpoint
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict