Skip to main content

ginee-x

Public API for Ginee X conversations, workflows, and knowledge bases.

All identifier fields are represented as strings because Ginee X uses 64-bit Snowflake IDs that can exceed JavaScript's safe integer range.

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

  • API version: 0.1.0
  • Package version: 0.1.0
  • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://ginee-x.com

Requirements.

Python 3.9+

Installation & Usage

pip install

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

pip install git+https://github.com/ginee-x/ginee-x-python.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/ginee-x/ginee-x-python.git)

Then import the package:

import gineex

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 gineex

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import gineex
from gineex.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://openapi.ginee-x.com/ginee-ai
# See configuration.py for a list of all supported configuration parameters.
configuration = gineex.Configuration(
    host = "https://openapi.ginee-x.com/ginee-ai"
)



# Enter a context with an instance of the API client
with gineex.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = gineex.AuthApi(api_client)
    create_token_request = gineex.CreateTokenRequest() # CreateTokenRequest | 

    try:
        # Create an access token
        api_response = api_instance.create_token(create_token_request)
        print("The response of AuthApi->create_token:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AuthApi->create_token: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://openapi.ginee-x.com/ginee-ai

Class Method HTTP request Description
AuthApi create_token POST /llm/auth/token Create an access token
ChatApi search_knowledge POST /llm/chat/search Search chat knowledge
ChatApi stream_chat POST /llm/chat/sse Stream a chat response
DocumentsApi get_document_process POST /llm/knowledge/doc/process/get Get document processing state
DocumentsApi list_documents POST /llm/knowledge/doc/list List documents in a knowledge base
DocumentsApi preview_document POST /llm/knowledge/doc/preview Preview document segments
DocumentsApi process_document POST /llm/knowledge/doc/process Start processing an uploaded document
DocumentsApi upload_document POST /llm/knowledge/doc/upload Upload a document
KnowledgeBasesApi list_knowledge_bases POST /llm/knowledge/base/list List knowledge bases
WorkflowsApi get_workflow_run POST /llm/agent/process/get Get a workflow run
WorkflowsApi list_workflows POST /llm/agent/list List workflows
WorkflowsApi run_workflow POST /llm/agent/process Start a workflow run

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: Bearer authentication (JWT)

Author

Metadata

Release files for ginee-x 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ginee-x 0.1.0
File Size Uploaded
ginee_x-0.1.0.tar.gz 37.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ginee-x 0.1.0
File Interpreter ABI Platform
ginee_x-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 137.4 kB

Release files / ginee_x-0.1.0.tar.gz

Download URL ginee_x-0.1.0.tar.gz
Size 37.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2e41a17b97c043bf9cbd0efb46f9419fc482676fbfdaa0c2463b208835c4f944
BLAKE2b-256 checksum
How to use checksums
0d5e3ca4aa316a9bfeb954a440b8a9201cd94d521909fa78af57aac3961b7cbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / ginee_x-0.1.0-py3-none-any.whl

Download URL ginee_x-0.1.0-py3-none-any.whl
Size 100.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af17b6949f5e4bc7ec28791592b6ba00f91bf3d2c4ca3f228b551c0a9d6e91a3
BLAKE2b-256 checksum
How to use checksums
cf7289cc1144169d73419696b03cd87e123ef330a766c66cbf7774e06de3270c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page