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.V1BatchCreateFineTuneJobsRequest() # V1BatchCreateFineTuneJobsRequest | 

    try:
        api_response = api_instance.fixpoint_batch_create_fine_tune_jobs(body)
        print("The response of FixpointApi->fixpoint_batch_create_fine_tune_jobs:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FixpointApi->fixpoint_batch_create_fine_tune_jobs: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
FixpointApi fixpoint_batch_create_fine_tune_jobs POST /v1/fine_tune_jobs:batchCreate
FixpointApi fixpoint_batch_delete_dataset_logs POST /v1/datasets/{datasetId}/logs:deleteLogs
FixpointApi fixpoint_create_ab_chat_completion POST /v1/chat/completions/ab Create A/B routed chat completion
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_dataset DELETE /v1/datasets/{datasetId}
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_fine_tune_jobs GET /v1/fine_tune_jobs
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/{routingConfigId} 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.4.0.tar.gz (52.2 kB view details)

Uploaded Source

Built Distribution

fixpoint_openapi-0.4.0-py3-none-any.whl (150.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fixpoint_openapi-0.4.0.tar.gz
  • Upload date:
  • Size: 52.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure

File hashes

Hashes for fixpoint_openapi-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e3c1c5a6eeeda5f47d58a6f315a066144697b101eabd594aeb8bc56bf87acc2a
MD5 05e289d0c8d53a3d09206cf57190356c
BLAKE2b-256 7b5d705d2077dd7174ca64467a5e51c92b28e1144ac4df569c6a072fdd92e60a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fixpoint_openapi-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e13259a0a9a69e19c4466793fbfa217268324eece225ba8520f51f7ae3dbf55
MD5 abe010cb21d8cddae99b2565a1a2661d
BLAKE2b-256 3572d93a5456e75ad994ce57fc0c5aff463a5a315fcc29a1d5564fdf5546fa23

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