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.8.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_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.2.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.2.0-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kitchenai_python_sdk-1.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 cc1ccc58c1b7a8ab193619e4f73af73c231ce3b6384acbc26d485a72abbf3026
MD5 759b4d675e0a23150aafac62854159f7
BLAKE2b-256 5a3bc3a90620c1e332f907c3a7a1893195cd3b5f2b844f579d5ea46e80d5a32b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kitchenai_python_sdk-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 34.1 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 998f65900a6ac08c538ecd6c8e6e1afcc6960c40e48c1d47111f10a9a5129bd5
MD5 33b39a71620474e7392a64af1cd45f3a
BLAKE2b-256 d05d227fe00bb5012d2ab10057d4a784ac5137a89113298fc493b8a585703fe5

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