From 25d90c40b8f7a6f08f25db992a27a875527bada0 Mon Sep 17 00:00:00 2001 From: vedpatwardhan Date: Tue, 3 Sep 2024 21:30:14 +0000 Subject: [PATCH] updated docs --- python/evaluation.mdx | 2 +- python/exceptions.mdx | 2 +- python/queries/chat.mdx | 1 - python/queries/clients.mdx | 2 +- python/queries/multi_llm.mdx | 1 + python/utils/credits.mdx | 2 +- python/utils/custom_api_keys.mdx | 2 +- python/utils/custom_endpoints.mdx | 2 +- python/utils/datasets.mdx | 2 +- python/utils/evaluations.mdx | 2 +- python/utils/evaluators.mdx | 2 +- python/utils/logging.mdx | 2 +- python/utils/supported_endpoints.mdx | 2 +- 13 files changed, 12 insertions(+), 12 deletions(-) diff --git a/python/evaluation.mdx b/python/evaluation.mdx index 3ce27c5f7..d6ad52daf 100644 --- a/python/evaluation.mdx +++ b/python/evaluation.mdx @@ -265,4 +265,4 @@ from the other subtracted dataset. - `other` - The other dataset being added to this one. - + diff --git a/python/exceptions.mdx b/python/exceptions.mdx index 0848eee34..e66cd3c8b 100644 --- a/python/exceptions.mdx +++ b/python/exceptions.mdx @@ -92,4 +92,4 @@ class InternalServerError(UnifyError) Exception raised for HTTP 500 Internal Server Error errors. - + diff --git a/python/queries/chat.mdx b/python/queries/chat.mdx index 8249c3bc7..f3aa4c372 100644 --- a/python/queries/chat.mdx +++ b/python/queries/chat.mdx @@ -207,4 +207,3 @@ Starts the chat interaction loop. - `show_credits` - Whether to show credit consumption. Defaults to False. - `show_provider` - Whether to show the provider used. Defaults to False. - diff --git a/python/queries/clients.mdx b/python/queries/clients.mdx index bdf3e0024..49e6de296 100644 --- a/python/queries/clients.mdx +++ b/python/queries/clients.mdx @@ -362,4 +362,4 @@ class AsyncUnify(Client) Class for interacting with the Unify chat completions endpoint in a synchronous manner. - + diff --git a/python/queries/multi_llm.mdx b/python/queries/multi_llm.mdx index 893196772..ea53e99d3 100644 --- a/python/queries/multi_llm.mdx +++ b/python/queries/multi_llm.mdx @@ -188,3 +188,4 @@ Generate content using the Unify API. - `UnifyError` - If an error occurs during content generation. + diff --git a/python/utils/credits.mdx b/python/utils/credits.mdx index 650d4c899..9cceab6a6 100644 --- a/python/utils/credits.mdx +++ b/python/utils/credits.mdx @@ -28,4 +28,4 @@ Returns the credits remaining in the user account, in USD. - `ValueError` - If there was an HTTP error. - + diff --git a/python/utils/custom_api_keys.mdx b/python/utils/custom_api_keys.mdx index daa9d10c8..3e268b5b8 100644 --- a/python/utils/custom_api_keys.mdx +++ b/python/utils/custom_api_keys.mdx @@ -143,4 +143,4 @@ Get a list of custom API keys associated with the user's account. A list of dictionaries containing custom API key information. Each dictionary has 'name' and 'value' keys. - + diff --git a/python/utils/custom_endpoints.mdx b/python/utils/custom_endpoints.mdx index 58b89938a..06ddfd0ba 100644 --- a/python/utils/custom_endpoints.mdx +++ b/python/utils/custom_endpoints.mdx @@ -129,4 +129,4 @@ Get a list of custom endpoints for the authenticated user. - `requests.exceptions.RequestException` - If the API request fails. - + diff --git a/python/utils/datasets.mdx b/python/utils/datasets.mdx index b123f2bca..a783040cd 100644 --- a/python/utils/datasets.mdx +++ b/python/utils/datasets.mdx @@ -147,4 +147,4 @@ Fetches a list of all uploaded datasets. - `ValueError` - If there was an HTTP error. - + diff --git a/python/utils/evaluations.mdx b/python/utils/evaluations.mdx index 1ea658e15..6ff845661 100644 --- a/python/utils/evaluations.mdx +++ b/python/utils/evaluations.mdx @@ -161,4 +161,4 @@ Get the evaluation status for a specific dataset, endpoint, and evaluator. A dictionary containing the evaluation status information. - + diff --git a/python/utils/evaluators.mdx b/python/utils/evaluators.mdx index 590425ed9..d27989866 100644 --- a/python/utils/evaluators.mdx +++ b/python/utils/evaluators.mdx @@ -136,4 +136,4 @@ Get a list of available evaluators. A list of available evaluator names if successful, otherwise an empty list. - + diff --git a/python/utils/logging.mdx b/python/utils/logging.mdx index e29ecfa65..59fcc5627 100644 --- a/python/utils/logging.mdx +++ b/python/utils/logging.mdx @@ -86,4 +86,4 @@ Get query metrics for specified parameters. A dictionary containing the query metrics. - + diff --git a/python/utils/supported_endpoints.mdx b/python/utils/supported_endpoints.mdx index b66ea13a7..da435a8f0 100644 --- a/python/utils/supported_endpoints.mdx +++ b/python/utils/supported_endpoints.mdx @@ -94,4 +94,4 @@ provider. - `BadRequestError` - If there was an HTTP error. - `ValueError` - If there was an error parsing the JSON response. - +