Skip to main content

Queezer is designed to help you start owning your own LLM models by collecting request and response data from API calls.

Project description

Queezer

Overview

Queezer is an open-source Python package designed to help you start owning your own open-source LLM models by collecting request and response data from API calls. With just one line of code, Queezer integrates seamlessly into your existing workflows, making it easy to gather crucial data for building your models, rather than relying solely on external API calls.

The package is lightweight, requires only the requests library, and can be integrated in under 5 minutes. It is ideal for startups and SMEs looking to take ownership of their AI models and data, ensuring that their unique intellectual property remains theirs.

Features

  • Easy Integration: One import, one line of code to start collecting data.
  • Lightweight: Minimal dependencies, requires only the requests library.
  • Model Ownership: Helps you gather and own the data needed to build and train your AI models.

Getting Started

To install Queezer, simply run:

pip install queezer

Usage

Here's a basic example to get you started:

import openai
from queezer import Queezer

client = openai.OpenAI(api_key="your-openAI-api-key")
queezer = Queezer(api_key="your-queezer-api-key")
# queezer = Queezer()
# ^ In case you do not have an api key
# this instantiates a local SQLite Database

# Your code where you make API calls
# previously: result = client.chat.completions.create(...)
result = queezer.squeeze(client.chat.completions.create,
        tags=["test", "gpt-4o-mini"],
        model="gpt-4o-mini",
        messages=[
            {"role": "system", "content": "You are a helpful assistant."},
            {
                "role": "user",
                "content": "Write a short poem about recursion in programming."
            }
        ]
    )

That's it! With one line of code, Queezer begins collecting the API request and response data for you.

Roadmap

  • Streaming: We plan to support streaming requests in the near future.
  • Multi Modality: Expansion to handle more complex data inputs and outputs (e.g., images, video, text) is on the way.
  • Typing Support
  • Thread Offloading
  • Async Support

Contributing

We welcome contributions from the community! To contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -m 'Add a new feature').
  4. Push to the branch (git push origin feature-branch).
  5. Open a pull request, and we'll review it as soon as possible.

Feel free to report issues or suggest features by opening an issue in the repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.


We hope Queezer empowers your startup to take control of your data and models. Happy coding!

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

queezer-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

queezer-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: queezer-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/23.6.0

File hashes

Hashes for queezer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 514d3e78de847ea18f0b79fc3f1607e84dafd78e6673855f347603cf7404e842
MD5 cd7f9d835fce0cc677ce22be59719228
BLAKE2b-256 ab31ac8765dc058d9be0442a37e38ea7fb3b8c5455fcac0f1c43b401d830ecd8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: queezer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/23.6.0

File hashes

Hashes for queezer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ad561f2e3c4635613367dfdc3f465f64e9cdd22d7337b21ff69c2df207768fd
MD5 a67916879163d6128e333ba5139056c5
BLAKE2b-256 841eeddf9a354872ffaea9e9ae614e746635e060ed4c26c733124b055df42298

See more details on using hashes here.

Supported by

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