Skip to content

Commit

Permalink
readme update, version 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
corpulent committed Apr 20, 2024
1 parent c47c914 commit 2b45043
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ACCOUNT=omhq
IMAGE=llmt-workspace
IMAGE_TAG=0.0.4
IMAGE_TAG=0.0.5

CURRENT_DIR=$(shell pwd)

Expand Down
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

[![PyPI version](https://badge.fury.io/py/llmt.svg)](https://badge.fury.io/py/llmt)

## Overview
## What is this good for?

Convenient LLM chat wrapper for data pipelines, CI/CD, or personal workspaces.
LLMT aims to make it easy to programatically connect OpenAI and HuggingFace models to your data pipelines, CI/CD, or personal workspaces.

Supports local function calling, chat history retention, and can run anywhere. Chat using a terminal, input/output files, or directly through LLMT API.
Supports function calling, chat and context history retention. Python 3.12 and up.

### Usage

Expand All @@ -20,16 +20,17 @@ from llmt import LLMT

llmt = LLMT()
llmt.init_assistant(
"dataengineer",
"snowflake",
api_key="...",
model="gpt-3.5-turbo",
assistant_description="You are a data engineer, and a python expert.",)
llmt.init_functions(["./my_functions.py"])
llmt.init_chat("single_chat")

response = llmt.run(
"What's the result of 22 plus 5 in decimal added to the hexadecimal number A?"
assistant_description="You are a snowflake expert. Answer questions briefly in a sentence or less."
)

llmt.init_functions(["./helper_functions.py"])
llmt.init_context("snowflake")
response = llmt.run("generate an example merge dml")

print(response)
```

### Local workspace
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
llmt-workspace:
image: omhq/llmt-workspace:0.0.4
image: omhq/llmt-workspace:0.0.5
working_dir: /workspace
volumes:
- ./configs:/workspace/configs
Expand Down
2 changes: 1 addition & 1 deletion llmt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from .openai_types import FinalResponseMessage, FunctionCall, GenericMessage, Message
from .parsers import ArgSchemaParser, defargparsers

__version__ = "0.0.4"
__version__ = "0.0.5"
__all__ = [
"LLMT",
"OpenAIAssistant",
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[project]
name = "llmt"
version = "0.0.4"
version = "0.0.5"
authors = [
{ name="Artem Golub", email="artem @ outermeasure.com"}
]
description = "Convenient LLM chat wrapper for data pipelines, CI/CD, or personal workspaces."
description = "LLMT aims to make it easy to programatically connect OpenAI and HuggingFace models to your data pipelines, CI/CD, or personal workspaces."
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit 2b45043

Please sign in to comment.