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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dialog_lib-0.0.2.0a0.tar.gz
.
File metadata
- Download URL: dialog_lib-0.0.2.0a0.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41094ffb6cacb41b76b09fe2adf115a447d64ea9d48d74d6671cc127b4b5c38e |
|
MD5 | 1f0fecfc4bf09a240fcbeb386cbc8acf |
|
BLAKE2b-256 | 3f5fe36bc67e9d81f49deec4abb6ea1d4274239e65aa3e43101de280b977e9d4 |
File details
Details for the file dialog_lib-0.0.2.0a0-py3-none-any.whl
.
File metadata
- Download URL: dialog_lib-0.0.2.0a0-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5da8e700bac1e711513610d515815842df9139f9b16e41549562ceeedaf87fa |
|
MD5 | 385030a11f606a5203405d3609f43f4b |
|
BLAKE2b-256 | 1d9cb4b420cfcc04bff9e25fe3e866dbd561dc1c9285b47c423c692a307a2020 |