Skip to main content

NinjaAPI

Project description

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: 1.0.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)
    label = 'label_example' # str | 
    query_schema = kitchenai_python_sdk.QuerySchema() # QuerySchema | 

    try:
        # Agent Handler
        api_instance.kitchenai_contrib_kitchenai_sdk_kitchenai_agent_handler(label, query_schema)
    except ApiException as e:
        print("Exception when calling DefaultApi->kitchenai_contrib_kitchenai_sdk_kitchenai_agent_handler: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultApi kitchenai_contrib_kitchenai_sdk_kitchenai_agent_handler POST /api/default/agent/{label} Agent Handler
DefaultApi kitchenai_contrib_kitchenai_sdk_kitchenai_query_handler POST /api/default/query/{label} Query Handler
DefaultApi kitchenai_core_api_default GET /api/core/health Default
DefaultApi kitchenai_core_api_embed_create POST /api/core/embed Embed Create
DefaultApi kitchenai_core_api_embed_delete DELETE /api/core/embed/{pk} Embed Delete
DefaultApi kitchenai_core_api_embed_get GET /api/core/embed/{pk} Embed Get
DefaultApi kitchenai_core_api_embeds_get GET /api/core/embed Embeds Get
DefaultApi kitchenai_core_api_file_delete DELETE /api/core/file/{pk} File Delete
DefaultApi kitchenai_core_api_file_get GET /api/core/file/{pk} File Get
DefaultApi kitchenai_core_api_file_upload POST /api/core/file File Upload
DefaultApi kitchenai_core_api_files_get GET /api/core/file Files Get
DefaultApi kitchenai_core_api_upload_notebook POST /api/core/module/upload Upload Notebook

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kitchenai_python_sdk-1.0.0.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kitchenai_python_sdk-1.0.0-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file kitchenai_python_sdk-1.0.0.tar.gz.

File metadata

  • Download URL: kitchenai_python_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.8 Linux/6.9.3-76060903-generic

File hashes

Hashes for kitchenai_python_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 24ea5cf80c75ca4298d5db4817b80c971686853dfc246f2431f6c440baf11b5e
MD5 d3b49fc9a38dda81c6b90083f2c1098b
BLAKE2b-256 5c6a60d28b75def2661b9565dc0113550cfd0ab0589d4afaa7662d990119404b

See more details on using hashes here.

File details

Details for the file kitchenai_python_sdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: kitchenai_python_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.8 Linux/6.9.3-76060903-generic

File hashes

Hashes for kitchenai_python_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ad5db34509c7f027a0d18bd750571b14f9b81f6b8a9b5fcbcf8079c857bab78
MD5 684fb5adb3fd9afb6052c32cecb845d7
BLAKE2b-256 f60052e12ec939f552794ed3d552119a9d26c3fc3fcb1c40dfbdd2dba381e13a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page