llama-index-llms-openai 0.1.31__py3-none-any.whl → 0.2.1__py3-none-any.whl

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.
@@ -166,7 +166,8 @@ class OpenAI(FunctionCallingLLM):
166
166
  gt=0,
167
167
  )
168
168
  logprobs: Optional[bool] = Field(
169
- description="Whether to return logprobs per token."
169
+ description="Whether to return logprobs per token.",
170
+ default=None,
170
171
  )
171
172
  top_logprobs: int = Field(
172
173
  description="The number of top token log probs to return.",
@@ -187,7 +188,7 @@ class OpenAI(FunctionCallingLLM):
187
188
  description="The timeout, in seconds, for API requests.",
188
189
  gte=0,
189
190
  )
190
- default_headers: Dict[str, str] = Field(
191
+ default_headers: Optional[Dict[str, str]] = Field(
191
192
  default=None, description="The default headers for API requests."
192
193
  )
193
194
  reuse_client: bool = Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: llama-index-llms-openai
3
- Version: 0.1.31
3
+ Version: 0.2.1
4
4
  Summary: llama-index llms openai integration
5
5
  License: MIT
6
6
  Author: llama-index
@@ -11,7 +11,8 @@ Classifier: Programming Language :: Python :: 3.9
11
11
  Classifier: Programming Language :: Python :: 3.10
12
12
  Classifier: Programming Language :: Python :: 3.11
13
13
  Classifier: Programming Language :: Python :: 3.12
14
- Requires-Dist: llama-index-core (>=0.10.57,<0.11.0)
14
+ Requires-Dist: llama-index-agent-openai (>=0.3.0,<0.4.0)
15
+ Requires-Dist: llama-index-core (>=0.11.0,<0.12.0)
15
16
  Requires-Dist: openai (>=1.40.0,<2.0.0)
16
17
  Description-Content-Type: text/markdown
17
18
 
@@ -0,0 +1,6 @@
1
+ llama_index/llms/openai/__init__.py,sha256=vm3cIBSGkBFlE77GyfyN0EhpJcnJZN95QMhPN53EkbE,148
2
+ llama_index/llms/openai/base.py,sha256=dbL-ikXVEnUsOc25TWyOfrct4EY1EiiiEJPX7W4TDJI,34060
3
+ llama_index/llms/openai/utils.py,sha256=VuDXkLR_BGVqoZc9IJqiJlVloZwG9Z7s1nGPAhlbvWE,13079
4
+ llama_index_llms_openai-0.2.1.dist-info/METADATA,sha256=g4iFMM7WSRILduOCTBfZlJpAVZqKWEizJ_TAZEwjLKQ,705
5
+ llama_index_llms_openai-0.2.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
6
+ llama_index_llms_openai-0.2.1.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- llama_index/llms/openai/__init__.py,sha256=vm3cIBSGkBFlE77GyfyN0EhpJcnJZN95QMhPN53EkbE,148
2
- llama_index/llms/openai/base.py,sha256=lMDlAJQhPN6Fncn_Wm14Ie7O7kA2xUGyechjsh_8TJM,34027
3
- llama_index/llms/openai/utils.py,sha256=VuDXkLR_BGVqoZc9IJqiJlVloZwG9Z7s1nGPAhlbvWE,13079
4
- llama_index_llms_openai-0.1.31.dist-info/METADATA,sha256=JsOKGkOrC6gLiCfRlWLGTPjdm9ICqpMx_2qgIvafEKo,650
5
- llama_index_llms_openai-0.1.31.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
6
- llama_index_llms_openai-0.1.31.dist-info/RECORD,,