mentortools/libs/: ai-assistant-server-connector-1.2.0+2265297833 metadata and description

Homepage Simple index Newer version available

Mentortools AI API

author OpenAPI Generator Community
author_email team@openapitools.org
classifiers
  • License :: OSI Approved
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: 3.13
  • Programming Language :: Python :: 3.14
description_content_type text/markdown
keywords OpenAPI,OpenAPI-Generator,Mentortools AI API
license Unlicense
project_urls
  • Repository, https://github.com/GIT_USER_ID/GIT_REPO_ID
requires_dist
  • urllib3 (>=1.25.3)
  • python-dateutil (>=2.8.2)
  • aiohttp (>=3.8.4)
  • pydantic (>=1.10.5,<2.0.0)
  • aenum (>=3.1.11)
requires_python >=3.8,<4.0
File Tox results History
ai_assistant_server_connector-1.2.0+2265297833-py3-none-any.whl
Size
108 KB
Type
Python Wheel
Python
3
ai_assistant_server_connector-1.2.0+2265297833.tar.gz
Size
54 KB
Type
Source

ai-assistant-server-connector

Mentortools service for ai interactions

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

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 ai_assistant_server_connector

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 ai_assistant_server_connector

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import time
import ai_assistant_server_connector
from ai_assistant_server_connector.rest import ApiException
from pprint import pprint

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

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: APIKeyHeader
configuration.api_key['APIKeyHeader'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['APIKeyHeader'] = 'Bearer'

# Configure Bearer authorization: HTTPBearer
configuration = ai_assistant_server_connector.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
async with ai_assistant_server_connector.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = ai_assistant_server_connector.AccessesApi(api_client)
    portal_id = 56 # int | 

    try:
        # Access Get
        api_response = await api_instance.ai_assistant_api_access_get(portal_id)
        print("The response of AccessesApi->ai_assistant_api_access_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AccessesApi->ai_assistant_api_access_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to /ai_assistant_api

Class Method HTTP request Description
AccessesApi ai_assistant_api_access_get GET /accesses/v1/{portal_id} Access Get
AccessesApi ai_assistant_api_access_self_get GET /accesses/v1/self Access Self Get
AccessesApi ai_assistant_api_accesses_list GET /accesses/v1/ Accesses List
AccessesApi ai_assistant_api_portal_access_set PUT /accesses/v1/{portal_id} Portal Access Set
AccessesApi ai_assistant_api_portal_access_set_group PATCH /accesses/v1/ Portal Access Set Group
AiAssistantApiApi ai_assistant_api_access_get GET /accesses/v1/{portal_id} Access Get
AiAssistantApiApi ai_assistant_api_access_self_get GET /accesses/v1/self Access Self Get
AiAssistantApiApi ai_assistant_api_accesses_list GET /accesses/v1/ Accesses List
AiAssistantApiApi ai_assistant_api_assistant_add POST /assistants/v1/ Assistant Add
AiAssistantApiApi ai_assistant_api_assistant_delete DELETE /assistants/v1/{assistant_id} Assistant Delete
AiAssistantApiApi ai_assistant_api_assistant_get GET /assistants/v1/{assistant_id} Assistant Get
AiAssistantApiApi ai_assistant_api_assistant_primary_get GET /assistants/v1/primary Assistant Primary Get
AiAssistantApiApi ai_assistant_api_assistant_primary_goals_engagement_add POST /assistants/v1/primary/engagement Assistant Primary Goals Engagement Add
AiAssistantApiApi ai_assistant_api_assistant_primary_goals_get GET /assistants/v1/primary/goals Assistant Primary Goals Get
AiAssistantApiApi ai_assistant_api_assistant_primary_update PUT /assistants/v1/primary Assistant Primary Update
AiAssistantApiApi ai_assistant_api_assistant_response_stream POST /assistants/v1/{assistant_id}/response/stream Assistant Response Stream
AiAssistantApiApi ai_assistant_api_assistant_session_start POST /assistants/v1/{assistant_id}/session/start Assistant Session Start
AiAssistantApiApi ai_assistant_api_assistant_shared_primary_get GET /assistants/v1/shared/primary Assistant Shared Primary Get
AiAssistantApiApi ai_assistant_api_assistant_shared_primary_update PUT /assistants/v1/shared/primary Assistant Shared Primary Update
AiAssistantApiApi ai_assistant_api_assistant_update PUT /assistants/v1/{assistant_id} Assistant Update
AiAssistantApiApi ai_assistant_api_assitants_list GET /assistants/v1/ Assitants List
AiAssistantApiApi ai_assistant_api_avatars_list GET /avatars/v1/ Avatars List
AiAssistantApiApi ai_assistant_api_engagement_preset_list GET /goal_engagement_presets/v1/ Engagement Preset List
AiAssistantApiApi ai_assistant_api_portal_access_set PUT /accesses/v1/{portal_id} Portal Access Set
AiAssistantApiApi ai_assistant_api_portal_access_set_group PATCH /accesses/v1/ Portal Access Set Group
AiAssistantApiApi ai_assistant_api_rag_query GET /rag/v1/query Rag Query
AiAssistantApiApi ai_assistant_api_server_assistant_list GET /server/assistants/v1/ Server Assistant List
AiAssistantApiApi ai_assistant_api_voices_list GET /voices/v1/ Voices List
AssistantsApi ai_assistant_api_assistant_add POST /assistants/v1/ Assistant Add
AssistantsApi ai_assistant_api_assistant_delete DELETE /assistants/v1/{assistant_id} Assistant Delete
AssistantsApi ai_assistant_api_assistant_get GET /assistants/v1/{assistant_id} Assistant Get
AssistantsApi ai_assistant_api_assistant_primary_get GET /assistants/v1/primary Assistant Primary Get
AssistantsApi ai_assistant_api_assistant_primary_goals_engagement_add POST /assistants/v1/primary/engagement Assistant Primary Goals Engagement Add
AssistantsApi ai_assistant_api_assistant_primary_goals_get GET /assistants/v1/primary/goals Assistant Primary Goals Get
AssistantsApi ai_assistant_api_assistant_primary_update PUT /assistants/v1/primary Assistant Primary Update
AssistantsApi ai_assistant_api_assistant_response_stream POST /assistants/v1/{assistant_id}/response/stream Assistant Response Stream
AssistantsApi ai_assistant_api_assistant_session_start POST /assistants/v1/{assistant_id}/session/start Assistant Session Start
AssistantsApi ai_assistant_api_assistant_shared_primary_get GET /assistants/v1/shared/primary Assistant Shared Primary Get
AssistantsApi ai_assistant_api_assistant_shared_primary_update PUT /assistants/v1/shared/primary Assistant Shared Primary Update
AssistantsApi ai_assistant_api_assistant_update PUT /assistants/v1/{assistant_id} Assistant Update
AssistantsApi ai_assistant_api_assitants_list GET /assistants/v1/ Assitants List
AssistantsServerApi ai_assistant_api_server_assistant_list GET /server/assistants/v1/ Server Assistant List
AvatarsApi ai_assistant_api_avatars_list GET /avatars/v1/ Avatars List
DefaultApi default_health_check GET / Health Check
GoalEngagementPresetsApi ai_assistant_api_engagement_preset_list GET /goal_engagement_presets/v1/ Engagement Preset List
RagApi ai_assistant_api_rag_query GET /rag/v1/query Rag Query
ServerApi ai_assistant_api_server_assistant_list GET /server/assistants/v1/ Server Assistant List
VoicesApi ai_assistant_api_voices_list GET /voices/v1/ Voices List

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

HTTPBearer

APIKeyHeader

Author