Skip to content

epuerta9/kitchenai-python-sdk

Repository files navigation

kitchenai-python-sdk

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.11.0
  • Package version: 1.0.0
  • Generator version: 7.10.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import kitchenai_python_sdk

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import kitchenai_python_sdk

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import kitchenai_python_sdk
from kitchenai_python_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = kitchenai_python_sdk.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with kitchenai_python_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = kitchenai_python_sdk.DefaultApi(api_client)

    try:
        # Default
        api_instance.kitchenai_core_router_default()
    except ApiException as e:
        print("Exception when calling DefaultApi->kitchenai_core_router_default: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultApi kitchenai_core_router_default GET /api/v1/health Default
DefaultApi kitchenai_core_router_labels GET /api/v1/labels Labels
EmbeddingsApi kitchenai_core_api_embedding_embed_create POST /api/v1/embeddings/ Embed Create
EmbeddingsApi kitchenai_core_api_embedding_embed_delete DELETE /api/v1/embeddings/{pk} Embed Delete
EmbeddingsApi kitchenai_core_api_embedding_embed_get GET /api/v1/embeddings/{pk} Embed Get
EmbeddingsApi kitchenai_core_api_embedding_embeds_get GET /api/v1/embeddings/ Embeds Get
FileApi kitchenai_core_api_file_file_delete DELETE /api/v1/file/{pk} File Delete
FileApi kitchenai_core_api_file_file_get GET /api/v1/file/{pk} File Get
FileApi kitchenai_core_api_file_file_upload POST /api/v1/file/ File Upload
FileApi kitchenai_core_api_file_files_get GET /api/v1/file/ Files Get
QueryApi kitchenai_core_api_query_query POST /api/v1/query/{label} Query

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

About

client for kitchenai

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages