Client

class giskard_hub.client.HubClient(hub_url: str | None = None, api_key: str | None = None, **kwargs)[source]

Bases: SyncClient

Client class to handle interaction with the hub.

projects

Resource to interact with projects.

Type:

ProjectsResource

datasets

Resource to interact with datasets.

Type:

DatasetsResource

conversations

Resource to interact with conversations.

Type:

ConversationsResource

models

Resource to interact with models.

Type:

ModelsResource

evaluations

Resource to interact with evaluations.

Type:

EvaluationsResource

evals

Alias for evaluations.

Type:

EvaluationsResource

class giskard_hub.client.SyncClient(*, http_client: Client | None = None)[source]
close()[source]
delete(path: str, **kwargs)[source]
get(path: str, **kwargs)[source]
patch(path: str, **kwargs)[source]
post(path: str, **kwargs)[source]
put(path: str, **kwargs)[source]