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_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 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.1.0.tar.gz (41.6 kB view details)

Uploaded Source

Built Distribution

fixpoint_openapi-0.1.0-py3-none-any.whl (107.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fixpoint_openapi-0.1.0.tar.gz
  • Upload date:
  • Size: 41.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1017-azure

File hashes

Hashes for fixpoint_openapi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a8bdc96fead30751b4f0f5c1b7c60f2c2bd4e01c44bf531af31993799daae22
MD5 d9772944761d881fb22692368f7e5deb
BLAKE2b-256 e80701bf9252766ae8980118b767f4163550b324e7d3db53372fb68a4d0a03ba

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fixpoint_openapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 094f55f5399d4172145f63ad6c8a13e4a2c9e209061f621f78ef802d24a8a38d
MD5 a811d10056ae843933c4525967e9f7c2
BLAKE2b-256 65c54f884c3fa0a2299fbfb30b5e7fd17d9f6a02ed505ae3f2c03f8e15f56e19

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