Skip to main content

Dialog Library

Welcome to our project! Here is all the information you need for you to start using dialog-lib as you desire.

Dialog-lib is the base library for the project, it allows users to setup their own LLMs using a structured class, enabling coherent callings across all instances. The main purpose of this project is removing the main difficulties

Integrations

This is a standalone project, you can use it as a wrapper for LLM instances, right now we have the following LLMs integrated:

  • OpenAIs GPT Models (both 3.5 and 4) - available in the server's original repo, being migrated to this one
  • Azure OpenAI
  • Mistral
  • Bedrock
  • DataBricks - In progress
  • MLFlow
  • Hugging Faces - In progress

How to use

Right now, this repository offers just a single Abstract LLM class inside our agents module and some PostgreSQL memory helpers, we are moving our abstractions to make it easier to implement any LLM you want, giving you access to vector stores and memory instances.

Future structure

The desired future of our abstraction is something in the lines of the code below:

from dialog_lib.agents import OpenAIAgent

agent_instance = OpenAIAgent(model="gpt3.5-turbo", temperature=0.1, prompt="Be a friendly AI", memory_type="ram")

agent_instance.process("Hello There!")

print(agent_instance.messages) # Get's all the messages saved

Metadata

Release files for dialog-lib 0.0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dialog-lib 0.0.3.0
File Size Uploaded
dialog_lib-0.0.3.0.tar.gz 13.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dialog-lib 0.0.3.0
File Interpreter ABI Platform
dialog_lib-0.0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.6 kB

Release files / dialog_lib-0.0.3.0.tar.gz

Download URL dialog_lib-0.0.3.0.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ee844b462a08d687e36327a099f80e9b53ab9790024ce127f5957d513d18acfc
BLAKE2b-256 checksum
How to use checksums
7043fa45e2ab3e57ff6a10f1c0e1cf34f3ff2fa5d8272531599531041c0dc823
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2024.

Transparency log

Release files / dialog_lib-0.0.3.0-py3-none-any.whl

Download URL dialog_lib-0.0.3.0-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96e14b226c3eba15082600f8433d6446a20d2b03315a9892a50bb64c5bd15c0f
BLAKE2b-256 checksum
How to use checksums
7a92a21060fc01acaa4db03aa3adbc29e26e96fa7889ede4abf39c953bf53092
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2024.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page