videosdk-plugins-openai 0.0.9__tar.gz → 0.0.17__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.

Potentially problematic release.


This version of videosdk-plugins-openai might be problematic. Click here for more details.

@@ -0,0 +1,18 @@
1
+ myenv/
2
+ venv/
3
+ env/
4
+ __pycache__/
5
+
6
+ .env
7
+ .env.local
8
+ test_env/
9
+ dist/
10
+ .DS_Store
11
+
12
+ node_modules/
13
+ credentials.json
14
+ .Python
15
+ build/
16
+ eggs/
17
+ sdist/
18
+ wheels/
@@ -1,8 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: videosdk-plugins-openai
3
- Version: 0.0.9
3
+ Version: 0.0.17
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.15
16
+ Requires-Dist: videosdk-agents>=0.0.17
16
17
  Description-Content-Type: text/markdown
17
18
 
18
19
  VideoSDK OpenAI Plugin
@@ -7,6 +7,7 @@ name = "videosdk-plugins-openai"
7
7
  dynamic = ["version"]
8
8
  description = "VideoSDK Agent Framework plugin for OpenAI services"
9
9
  readme = "README.md"
10
+ license = "Apache-2.0"
10
11
  requires-python = ">=3.11"
11
12
  authors = [{ name = "videosdk"}]
12
13
  keywords = ["video", "audio", "ai", "openai", "videosdk"]
@@ -20,7 +21,7 @@ classifiers = [
20
21
  "Topic :: Scientific/Engineering :: Artificial Intelligence",
21
22
  ]
22
23
  dependencies = [
23
- "videosdk-agents>=0.0.15",
24
+ "videosdk-agents>=0.0.17",
24
25
  "openai[realtime]>=1.68.2",
25
26
  ]
26
27
 
@@ -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:
@@ -0,0 +1 @@
1
+ __version__ = "0.0.17"
@@ -1,10 +0,0 @@
1
- myenv/
2
- venv/
3
- env/
4
- __pycache__
5
-
6
- .env
7
- .env.local
8
- test_env/
9
- dist/
10
- .DS_Store
@@ -1 +0,0 @@
1
- __version__ = "0.0.9"