llama-index-llms-openai 0.6.6__tar.gz → 0.6.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llama-index-llms-openai
3
- Version: 0.6.6
3
+ Version: 0.6.8
4
4
  Summary: llama-index llms openai integration
5
5
  Author: llama-index
6
6
  License-Expression: MIT
7
7
  License-File: LICENSE
8
8
  Requires-Python: <4.0,>=3.9
9
9
  Requires-Dist: llama-index-core<0.15,>=0.14.5
10
- Requires-Dist: openai<2,>=1.108.1
10
+ Requires-Dist: openai<3,>=1.108.1
11
11
  Description-Content-Type: text/markdown
12
12
 
13
13
  # LlamaIndex Llms Integration: Openai
@@ -361,7 +361,7 @@ def to_openai_message_dict(
361
361
  mimetype = block._guess_mimetype()
362
362
  content.append(
363
363
  {
364
- "type": "input_file",
364
+ "type": "file",
365
365
  "filename": block.title,
366
366
  "file_data": f"data:{mimetype};base64,{b64_string}",
367
367
  }
@@ -27,13 +27,13 @@ dev = [
27
27
 
28
28
  [project]
29
29
  name = "llama-index-llms-openai"
30
- version = "0.6.6"
30
+ version = "0.6.8"
31
31
  description = "llama-index llms openai integration"
32
32
  authors = [{name = "llama-index"}]
33
33
  requires-python = ">=3.9,<4.0"
34
34
  readme = "README.md"
35
35
  license = "MIT"
36
- dependencies = ["openai>=1.108.1,<2", "llama-index-core>=0.14.5,<0.15"]
36
+ dependencies = ["openai>=1.108.1,<3", "llama-index-core>=0.14.5,<0.15"]
37
37
 
38
38
  [tool.codespell]
39
39
  check-filenames = true