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: 0.9.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
        api_response = api_instance.kitchenai_core_api_agent(label, query_schema)
        print("The response of DefaultApi->kitchenai_core_api_agent:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->kitchenai_core_api_agent: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultApi kitchenai_core_api_agent POST /api/core/agent/{label} Agent
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_labels GET /api/core/labels Labels
DefaultApi kitchenai_core_api_query POST /api/core/query/{label} Query

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.3.0.tar.gz (23.6 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.3.0-py3-none-any.whl (35.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kitchenai_python_sdk-1.3.0.tar.gz
  • Upload date:
  • Size: 23.6 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.3.0.tar.gz
Algorithm Hash digest
SHA256 af8c84d7d355fd7554b7e125b95d61b9fe41334c3a56dde57a5dd1d54775099f
MD5 a1d4595a777b1a3ecfe6d5a73c18948c
BLAKE2b-256 03e1125d0f7ae2614756650127d4ff69d96059c225447242d3b0d9d44dd417a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kitchenai_python_sdk-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 35.8 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a49fe88885b16c649768039371e78e3e0ff92e16d5d4a84beef2d06672945e88
MD5 c71d8f9186334057b973fcd0cbddf1c7
BLAKE2b-256 0c074be36cc1c59fb622db0cef55ecf8e01b0fb22f8965ebe9a31be1c45a8cfa

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