Skip to content

Commit

Permalink
docs: add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
doomspec committed Aug 29, 2024
1 parent 0f69cec commit ae742e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions mllm/utils/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ def colon(src: str):


def parse_json_by_cheap_model(json_src):
"""
Correct a JSON dict with semantic errors using a model that support JSON model
This is especially for claude models because they do not support JSON model
:param json_src:
:return:
"""
from mllm import Chat
prompt = f"""
You are required to correct a JSON dict with semantic errors.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "MinimalLLM"
description = "Minimal toolkit for LLM"
version = "1.1.0"
version = "1.1.1"
requires-python = ">=3.8"

authors = [
Expand Down

0 comments on commit ae742e0

Please sign in to comment.