Skip to main content

OpenAPI client for Fixpoint - Auto-improvement to make your LLM apps smarter

Project description

fixpoint-openapi

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: version not set
  • Package version: 0.1.0
  • Generator version: 7.4.0
  • 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 fixpoint_openapi

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 fixpoint_openapi

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import fixpoint_openapi
from fixpoint_openapi.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 = fixpoint_openapi.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with fixpoint_openapi.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = fixpoint_openapi.FixpointApi(api_client)
    body = fixpoint_openapi.V1CreateApiSecretRequest() # V1CreateApiSecretRequest | 

    try:
        # Store LLM inference API secret
        api_response = api_instance.fixpoint_create_api_secret(body)
        print("The response of FixpointApi->fixpoint_create_api_secret:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FixpointApi->fixpoint_create_api_secret: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
FixpointApi fixpoint_create_api_secret POST /v1/api_secrets Store LLM inference API secret
FixpointApi fixpoint_create_app_logs POST /v1/app_logs Create application logs
FixpointApi fixpoint_create_dataset POST /v1/datasets Create LLM dataset
FixpointApi fixpoint_create_likes POST /v1/likes Add LLM log feedback ("likes")
FixpointApi fixpoint_create_log_attribute POST /v1/attributes Attach attribute to LLM log
FixpointApi fixpoint_create_multi_llm_chat_completion POST /v1/chat/completions/multi_llm
FixpointApi fixpoint_create_open_ai_chat_input_log POST /v1/openai_chats/{modelName}/input_logs Create an LLM input log
FixpointApi fixpoint_create_open_ai_chat_output_log POST /v1/openai_chats/{modelName}/output_logs Create an LLM output log
FixpointApi fixpoint_create_routing_config POST /v1/routing_configs Create LLM routing config
FixpointApi fixpoint_delete_log_attribute DELETE /v1/attributes/{name} Remove LLM log attribute
FixpointApi fixpoint_list_api_secrets GET /v1/api_secrets List LLM inference API secrets
FixpointApi fixpoint_list_app_logs GET /v1/app_logs List application logs
FixpointApi fixpoint_list_datasets GET /v1/datasets List LLM datasets
FixpointApi fixpoint_list_likes GET /v1/likes List LLM log feedback ("likes")
FixpointApi fixpoint_list_log_attributes GET /v1/attributes List attributes on an LLM log
FixpointApi fixpoint_list_open_ai_chat_logs GET /v1/{parent}/logs DEPRECATED: List LLM logs
FixpointApi fixpoint_list_routing_configs GET /v1/routing_configs List LLM routing configs
FixpointApi fixpoint_post_dataset_logs POST /v1/datasets/{name}/logs Add logs to a dataset
FixpointApi fixpoint_update_spending_totals PATCH /v1/routing_configs/{routeConfigId} Update routing config spending totals

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

fixpoint_openapi-0.3.0.tar.gz (45.9 kB view details)

Uploaded Source

Built Distribution

fixpoint_openapi-0.3.0-py3-none-any.whl (121.5 kB view details)

Uploaded Python 3

File details

Details for the file fixpoint_openapi-0.3.0.tar.gz.

File metadata

  • Download URL: fixpoint_openapi-0.3.0.tar.gz
  • Upload date:
  • Size: 45.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.5.0-1018-azure

File hashes

Hashes for fixpoint_openapi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 752b4798b29548897307f90f935c1ad4aee3092043e216c63ca44ac6c8f6547c
MD5 ae77ea68e8cc7242f885dd32181eca74
BLAKE2b-256 e805516c82e654c6b5aee3a3b573d2456810e84b1ea154b4e0f3aad357c87599

See more details on using hashes here.

File details

Details for the file fixpoint_openapi-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: fixpoint_openapi-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 121.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.5.0-1018-azure

File hashes

Hashes for fixpoint_openapi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 622ec1067b85fe856118940c7421718f0ef7b66d4fd87e0748be875ec90f8f81
MD5 279abfa61929929c0e27d53d08089faf
BLAKE2b-256 ae61d81609cac007b15d11b622dddd7c919fb5c3186a65e2f306df2886608a0e

See more details on using hashes here.

Supported by

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