Skip to content

Commit

Permalink
314
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromavocaido committed Oct 16, 2024
1 parent 828e19e commit aa93a43
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions danai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import mimetypes
import pkgutil
import base64
import json

def load_pricing_data():
"""
Expand Down Expand Up @@ -376,4 +377,7 @@ def oai_image(image_path):
}
}

# convert content to json
content = json.dumps(content)

return content
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "danai"
version = "0.3.13" # Use three-part versioning
version = "0.3.14" # Use three-part versioning
description = "A utility package for simplifying interactions with OpenAI models."
authors = [{name = "Aidan Coughlan", email = "[email protected]"}]
license = {text = "MIT"}
Expand Down

0 comments on commit aa93a43

Please sign in to comment.