From 3a0e264b7eb18fe3b6d2de25e79879ada7c9f3ec Mon Sep 17 00:00:00 2001 From: CodeWithShreyans Date: Wed, 27 Aug 2025 23:34:49 +0000 Subject: feat: openai js and python sdk utilities (#389) needs testing --- packages/openai-sdk-python/src/__init__.py | 54 ++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 packages/openai-sdk-python/src/__init__.py (limited to 'packages/openai-sdk-python/src/__init__.py') diff --git a/packages/openai-sdk-python/src/__init__.py b/packages/openai-sdk-python/src/__init__.py new file mode 100644 index 00000000..47a7569e --- /dev/null +++ b/packages/openai-sdk-python/src/__init__.py @@ -0,0 +1,54 @@ +"""Supermemory OpenAI SDK - Enhanced OpenAI Python SDK with infinite context.""" + +from .infinite_chat import ( + SupermemoryOpenAI, + SupermemoryInfiniteChatConfig, + SupermemoryInfiniteChatConfigWithProviderName, + SupermemoryInfiniteChatConfigWithProviderUrl, + ProviderName, + PROVIDER_MAP, + create_supermemory_openai, +) + +from .tools import ( + SupermemoryTools, + SupermemoryToolsConfig, + MemoryObject, + MemorySearchResult, + MemoryAddResult, + SearchMemoriesTool, + AddMemoryTool, + MEMORY_TOOL_SCHEMAS, + create_supermemory_tools, + get_memory_tool_definitions, + execute_memory_tool_calls, + create_search_memories_tool, + create_add_memory_tool, +) + +__version__ = "0.1.0" + +__all__ = [ + # Infinite Chat + "SupermemoryOpenAI", + "SupermemoryInfiniteChatConfig", + "SupermemoryInfiniteChatConfigWithProviderName", + "SupermemoryInfiniteChatConfigWithProviderUrl", + "ProviderName", + "PROVIDER_MAP", + "create_supermemory_openai", + # Tools + "SupermemoryTools", + "SupermemoryToolsConfig", + "MemoryObject", + "MemorySearchResult", + "MemoryAddResult", + "SearchMemoriesTool", + "AddMemoryTool", + "MEMORY_TOOL_SCHEMAS", + "create_supermemory_tools", + "get_memory_tool_definitions", + "execute_memory_tool_calls", + "create_search_memories_tool", + "create_add_memory_tool", +] -- cgit v1.2.3