relevanceai.http_client
access the client via this class
Module Contents
Classes
Python Client for Relevance AI's relevanceai |
Functions
|
Attributes
- relevanceai.http_client.vis_requirements = False
- relevanceai.http_client.vis_requirements = True
- relevanceai.http_client.str2bool(v)
- class relevanceai.http_client.Client(project=os.getenv('RELEVANCE_PROJECT'), api_key=os.getenv('RELEVANCE_API_KEY'), authenticate: bool = False)
Bases:
relevanceai.api.client.BatchAPIClient,doc_utils.doc_utils.DocUtilsPython Client for Relevance AI’s relevanceai
- FAIL_MESSAGE = Your API key is invalid. Please login again
- _cred_fn = .creds.json
- build_and_plot_clusters
- property base_url(self)
- property base_ingest_url(self)
- _token_to_auth(self)
- _write_credentials(self, project, api_key)
- _read_credentials(self)
- login(self, authenticate: bool = True)
Preferred login method for demos and interactive usage.
- property auth_header(self)
- make_search_suggestion(self)
- check_auth(self)