videosdk-plugins-openai 0.0.9__py3-none-any.whl → 0.0.16__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.
Potentially problematic release.
This version of videosdk-plugins-openai might be problematic. Click here for more details.
- videosdk/plugins/openai/realtime_api.py +0 -11
- videosdk/plugins/openai/version.py +1 -1
- {videosdk_plugins_openai-0.0.9.dist-info → videosdk_plugins_openai-0.0.16.dist-info}/METADATA +3 -2
- videosdk_plugins_openai-0.0.16.dist-info/RECORD +9 -0
- videosdk_plugins_openai-0.0.9.dist-info/RECORD +0 -9
- {videosdk_plugins_openai-0.0.9.dist-info → videosdk_plugins_openai-0.0.16.dist-info}/WHEEL +0 -0
|
@@ -514,10 +514,6 @@ class OpenAIRealtime(RealtimeBaseModel[OpenAIEventTypes]):
|
|
|
514
514
|
new_url = urlunparse((parsed_url.scheme, parsed_url.netloc, path, "", new_query, ""))
|
|
515
515
|
|
|
516
516
|
return new_url
|
|
517
|
-
|
|
518
|
-
def _handle_instructions_updated(self, data: Dict[str, Any]) -> None:
|
|
519
|
-
"""Handle instructions_updated event"""
|
|
520
|
-
self._instructions = data.get("instructions")
|
|
521
517
|
|
|
522
518
|
def _format_tools_for_session(self, tools: List[FunctionTool]) -> List[Dict[str, Any]]:
|
|
523
519
|
"""Format tools for OpenAI session update"""
|
|
@@ -535,13 +531,6 @@ class OpenAIRealtime(RealtimeBaseModel[OpenAIEventTypes]):
|
|
|
535
531
|
|
|
536
532
|
return oai_tools
|
|
537
533
|
|
|
538
|
-
def _handle_tools_updated(self, data: Dict[str, Any]) -> None:
|
|
539
|
-
"""Handle tools_updated event"""
|
|
540
|
-
tools = data.get("tools", [])
|
|
541
|
-
self._tools = tools
|
|
542
|
-
self.tools_formatted = self._format_tools_for_session(tools)
|
|
543
|
-
self._formatted_tools = self.tools_formatted
|
|
544
|
-
|
|
545
534
|
async def send_text_message(self, message: str) -> None:
|
|
546
535
|
"""Send a text message to the OpenAI realtime API"""
|
|
547
536
|
if not self._session:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.0.
|
|
1
|
+
__version__ = "0.0.16"
|
{videosdk_plugins_openai-0.0.9.dist-info → videosdk_plugins_openai-0.0.16.dist-info}/METADATA
RENAMED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: videosdk-plugins-openai
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.16
|
|
4
4
|
Summary: VideoSDK Agent Framework plugin for OpenAI services
|
|
5
5
|
Author: videosdk
|
|
6
|
+
License-Expression: Apache-2.0
|
|
6
7
|
Keywords: ai,audio,openai,video,videosdk
|
|
7
8
|
Classifier: Development Status :: 4 - Beta
|
|
8
9
|
Classifier: Intended Audience :: Developers
|
|
@@ -12,7 +13,7 @@ Classifier: Topic :: Multimedia :: Video
|
|
|
12
13
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
13
14
|
Requires-Python: >=3.11
|
|
14
15
|
Requires-Dist: openai[realtime]>=1.68.2
|
|
15
|
-
Requires-Dist: videosdk-agents>=0.0.
|
|
16
|
+
Requires-Dist: videosdk-agents>=0.0.16
|
|
16
17
|
Description-Content-Type: text/markdown
|
|
17
18
|
|
|
18
19
|
VideoSDK OpenAI Plugin
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
videosdk/plugins/openai/__init__.py,sha256=1jbc4HOYxkLeruM9RAqmZYSBdnr74gnPHmCNMKXEPrg,259
|
|
2
|
+
videosdk/plugins/openai/llm.py,sha256=wvWfQ8OA1AcdMMDEf4y93-2vSnSdulYjGpd9IVWFdxc,6145
|
|
3
|
+
videosdk/plugins/openai/realtime_api.py,sha256=B2RlEV_yK0R4K1dPTyhhPewoa9bzd43ytEfsLKaHUUQ,22554
|
|
4
|
+
videosdk/plugins/openai/stt.py,sha256=YZROX-BjTqtWiT6ouMZacLkMYbmao3emB-88ewN93jg,9492
|
|
5
|
+
videosdk/plugins/openai/tts.py,sha256=LDsYXuHBoN-8g1iYt7JV_vRWOJZvhUN8QZQj_q264rU,3635
|
|
6
|
+
videosdk/plugins/openai/version.py,sha256=FVaR7FECqXYVLPTbZJc8xaVE53Dla9KUQqy1YxYZH0A,22
|
|
7
|
+
videosdk_plugins_openai-0.0.16.dist-info/METADATA,sha256=NdMqtDpRUIk-4NjUyDgM9VEX3edz8dFhvaMswocPWUg,807
|
|
8
|
+
videosdk_plugins_openai-0.0.16.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
9
|
+
videosdk_plugins_openai-0.0.16.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
videosdk/plugins/openai/__init__.py,sha256=1jbc4HOYxkLeruM9RAqmZYSBdnr74gnPHmCNMKXEPrg,259
|
|
2
|
-
videosdk/plugins/openai/llm.py,sha256=wvWfQ8OA1AcdMMDEf4y93-2vSnSdulYjGpd9IVWFdxc,6145
|
|
3
|
-
videosdk/plugins/openai/realtime_api.py,sha256=_sY1CVzdhY2y-XIXaNun8rA6A9TzqQftb7gAMdTrsb4,23032
|
|
4
|
-
videosdk/plugins/openai/stt.py,sha256=YZROX-BjTqtWiT6ouMZacLkMYbmao3emB-88ewN93jg,9492
|
|
5
|
-
videosdk/plugins/openai/tts.py,sha256=LDsYXuHBoN-8g1iYt7JV_vRWOJZvhUN8QZQj_q264rU,3635
|
|
6
|
-
videosdk/plugins/openai/version.py,sha256=i_8WJmpfvLpsjKXabWI0e47fVoWC1Es8pVboBDn2ORg,21
|
|
7
|
-
videosdk_plugins_openai-0.0.9.dist-info/METADATA,sha256=NRiQKzyKIQRUb5V6Qpk4B23AeCI-rXKMtyow0q07eX0,775
|
|
8
|
-
videosdk_plugins_openai-0.0.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
9
|
-
videosdk_plugins_openai-0.0.9.dist-info/RECORD,,
|
|
File without changes
|