Skip to main content

No project description provided

Project description

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

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

dialog_lib-0.0.3.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

dialog_lib-0.0.3.0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file dialog_lib-0.0.3.0.tar.gz.

File metadata

  • Download URL: dialog_lib-0.0.3.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dialog_lib-0.0.3.0.tar.gz
Algorithm Hash digest
SHA256 ee844b462a08d687e36327a099f80e9b53ab9790024ce127f5957d513d18acfc
MD5 981c91348e3cb0748d4fd444b87d9d42
BLAKE2b-256 7043fa45e2ab3e57ff6a10f1c0e1cf34f3ff2fa5d8272531599531041c0dc823

See more details on using hashes here.

Provenance

The following attestation bundles were made for dialog_lib-0.0.3.0.tar.gz:

Publisher: pypi.yml on talkdai/dialog-lib

Attestations:

File details

Details for the file dialog_lib-0.0.3.0-py3-none-any.whl.

File metadata

  • Download URL: dialog_lib-0.0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dialog_lib-0.0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96e14b226c3eba15082600f8433d6446a20d2b03315a9892a50bb64c5bd15c0f
MD5 ad2ea9e2ed24344f6acf51a5d475a468
BLAKE2b-256 7a92a21060fc01acaa4db03aa3adbc29e26e96fa7889ede4abf39c953bf53092

See more details on using hashes here.

Provenance

The following attestation bundles were made for dialog_lib-0.0.3.0-py3-none-any.whl:

Publisher: pypi.yml on talkdai/dialog-lib

Attestations:

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