SimplerLLM 0.3.2.4__tar.gz → 0.3.2.6__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.
Files changed (206) hide show
  1. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/PKG-INFO +1 -1
  2. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm/reliable.py +7 -4
  3. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/json_helpers.py +0 -3
  4. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM.egg-info/PKG-INFO +1 -1
  5. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/setup.py +1 -1
  6. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/LICENSE +0 -0
  7. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/README.md +0 -0
  8. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/__init__.py +0 -0
  9. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/image/__init__.py +0 -0
  10. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/image/generation/__init__.py +0 -0
  11. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/image/generation/base.py +0 -0
  12. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/image/generation/providers/__init__.py +0 -0
  13. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/image/generation/providers/google_image.py +0 -0
  14. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/image/generation/providers/image_response_models.py +0 -0
  15. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/image/generation/providers/openai_image.py +0 -0
  16. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/image/generation/providers/stability_image.py +0 -0
  17. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/image/generation/wrappers/__init__.py +0 -0
  18. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/image/generation/wrappers/google_wrapper.py +0 -0
  19. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/image/generation/wrappers/openai_wrapper.py +0 -0
  20. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/image/generation/wrappers/stability_wrapper.py +0 -0
  21. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/__init__.py +0 -0
  22. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/embeddings.py +0 -0
  23. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/flow/__init__.py +0 -0
  24. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/flow/flow.py +0 -0
  25. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/flow/models.py +0 -0
  26. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/flow/tool_registry.py +0 -0
  27. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/__init__.py +0 -0
  28. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/base.py +0 -0
  29. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/exceptions.py +0 -0
  30. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/input_guardrails/__init__.py +0 -0
  31. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/input_guardrails/pii_detection.py +0 -0
  32. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/input_guardrails/prompt_injection.py +0 -0
  33. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/input_guardrails/topic_filter.py +0 -0
  34. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/output_guardrails/__init__.py +0 -0
  35. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/output_guardrails/content_safety.py +0 -0
  36. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/output_guardrails/format_validator.py +0 -0
  37. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/output_guardrails/length_validator.py +0 -0
  38. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/output_guardrails/pii_detection.py +0 -0
  39. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/guardrails/wrapper.py +0 -0
  40. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm/__init__.py +0 -0
  41. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm/base.py +0 -0
  42. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm/wrappers/__init__.py +0 -0
  43. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm/wrappers/anthropic_wrapper.py +0 -0
  44. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm/wrappers/cohere_wrapper.py +0 -0
  45. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm/wrappers/deepseek_wrapper.py +0 -0
  46. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm/wrappers/gemini_wrapper.py +0 -0
  47. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm/wrappers/ollama_wrapper.py +0 -0
  48. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm/wrappers/openai_wrapper.py +0 -0
  49. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm/wrappers/openrouter_wrapper.py +0 -0
  50. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_addons.py +0 -0
  51. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_brainstorm/__init__.py +0 -0
  52. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_brainstorm/models.py +0 -0
  53. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_brainstorm/recursive_brainstorm.py +0 -0
  54. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_clustering/__init__.py +0 -0
  55. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_clustering/chunk_store.py +0 -0
  56. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_clustering/clusterer.py +0 -0
  57. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_clustering/flat_clusterer.py +0 -0
  58. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_clustering/models.py +0 -0
  59. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_clustering/persistence.py +0 -0
  60. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_clustering/tree_builder.py +0 -0
  61. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_feedback/__init__.py +0 -0
  62. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_feedback/feedback_loop.py +0 -0
  63. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_feedback/models.py +0 -0
  64. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_judge/__init__.py +0 -0
  65. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_judge/judge.py +0 -0
  66. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_judge/models.py +0 -0
  67. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_provider_router/__init__.py +0 -0
  68. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_provider_router/models.py +0 -0
  69. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_provider_router/provider_router.py +0 -0
  70. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_provider_router/query_classifier.py +0 -0
  71. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_providers/__init__.py +0 -0
  72. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_providers/anthropic_llm.py +0 -0
  73. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_providers/cohere_llm.py +0 -0
  74. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_providers/deepseek_llm.py +0 -0
  75. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_providers/gemini_llm.py +0 -0
  76. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_providers/llm_response_models.py +0 -0
  77. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_providers/ollama_llm.py +0 -0
  78. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_providers/openai_llm.py +0 -0
  79. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_providers/openrouter_llm.py +0 -0
  80. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_providers/voyage_llm.py +0 -0
  81. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_retrieval/__init__.py +0 -0
  82. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_retrieval/models.py +0 -0
  83. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_retrieval/retriever.py +0 -0
  84. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_router/__init__.py +0 -0
  85. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_router/models.py +0 -0
  86. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/language/llm_router/router.py +0 -0
  87. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/prompts/__init__.py +0 -0
  88. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/prompts/hub/__init__.py +0 -0
  89. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/prompts/hub/agentic_prompts.py +0 -0
  90. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/prompts/hub/prompt_manager.py +0 -0
  91. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/prompts/messages_template.py +0 -0
  92. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/prompts/prompt_builder.py +0 -0
  93. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/__init__.py +0 -0
  94. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/apify_api.py +0 -0
  95. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/brainstorm.py +0 -0
  96. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/email_functions.py +0 -0
  97. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/file_functions.py +0 -0
  98. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/file_loader.py +0 -0
  99. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/generic_loader.py +0 -0
  100. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/image_helpers.py +0 -0
  101. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/pandas_func.py +0 -0
  102. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/pattern_helpers.py +0 -0
  103. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/python_func.py +0 -0
  104. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/rapid_api.py +0 -0
  105. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/serp.py +0 -0
  106. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/text_chunker.py +0 -0
  107. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/tools/youtube.py +0 -0
  108. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/utils/__init__.py +0 -0
  109. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/utils/custom_verbose.py +0 -0
  110. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/vectors/__init__.py +0 -0
  111. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/vectors/local_vector_db.py +0 -0
  112. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/vectors/qdrant_vector_db.py +0 -0
  113. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/vectors/simpler_vector.py +0 -0
  114. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/vectors/vector_db.py +0 -0
  115. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/vectors/vector_providers.py +0 -0
  116. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/__init__.py +0 -0
  117. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/dialogue_generator/__init__.py +0 -0
  118. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/dialogue_generator/audio_merger.py +0 -0
  119. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/dialogue_generator/dialogue_generator.py +0 -0
  120. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/dialogue_generator/models.py +0 -0
  121. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/live_voice_chat/__init__.py +0 -0
  122. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/live_voice_chat/audio_player.py +0 -0
  123. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/live_voice_chat/audio_recorder.py +0 -0
  124. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/live_voice_chat/live_voice_chat.py +0 -0
  125. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/live_voice_chat/models.py +0 -0
  126. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/realtime_voice/__init__.py +0 -0
  127. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/realtime_voice/audio_utils.py +0 -0
  128. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/realtime_voice/base.py +0 -0
  129. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/realtime_voice/models.py +0 -0
  130. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/realtime_voice/providers/__init__.py +0 -0
  131. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/realtime_voice/providers/elevenlabs_convai.py +0 -0
  132. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/realtime_voice/providers/openai_realtime.py +0 -0
  133. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/realtime_voice/providers/realtime_response_models.py +0 -0
  134. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/realtime_voice/realtime_voice_chat.py +0 -0
  135. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/realtime_voice/wrappers/__init__.py +0 -0
  136. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/realtime_voice/wrappers/elevenlabs_wrapper.py +0 -0
  137. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/realtime_voice/wrappers/openai_wrapper.py +0 -0
  138. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/stt/__init__.py +0 -0
  139. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/stt/base.py +0 -0
  140. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/stt/providers/__init__.py +0 -0
  141. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/stt/providers/openai_stt.py +0 -0
  142. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/stt/providers/stt_response_models.py +0 -0
  143. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/stt/wrappers/__init__.py +0 -0
  144. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/stt/wrappers/openai_wrapper.py +0 -0
  145. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/tts/__init__.py +0 -0
  146. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/tts/base.py +0 -0
  147. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/tts/providers/__init__.py +0 -0
  148. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/tts/providers/elevenlabs_tts.py +0 -0
  149. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/tts/providers/openai_tts.py +0 -0
  150. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/tts/providers/tts_response_models.py +0 -0
  151. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/tts/wrappers/__init__.py +0 -0
  152. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/tts/wrappers/elevenlabs_wrapper.py +0 -0
  153. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/tts/wrappers/openai_wrapper.py +0 -0
  154. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/video_dubbing/__init__.py +0 -0
  155. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/video_dubbing/audio_sync.py +0 -0
  156. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/video_dubbing/base.py +0 -0
  157. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/video_dubbing/models.py +0 -0
  158. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/video_dubbing/video_processor.py +0 -0
  159. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/video_transcription/__init__.py +0 -0
  160. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/video_transcription/base.py +0 -0
  161. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/video_transcription/caption_generator.py +0 -0
  162. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/video_transcription/models.py +0 -0
  163. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/video_transcription/utils/__init__.py +0 -0
  164. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/video_transcription/utils/subtitle_formatter.py +0 -0
  165. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/video_transcription/utils/video_utils.py +0 -0
  166. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/voice_chat/__init__.py +0 -0
  167. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/voice_chat/conversation.py +0 -0
  168. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/voice_chat/models.py +0 -0
  169. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM/voice/voice_chat/voice_chat.py +0 -0
  170. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM.egg-info/SOURCES.txt +0 -0
  171. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM.egg-info/dependency_links.txt +0 -0
  172. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM.egg-info/requires.txt +0 -0
  173. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/SimplerLLM.egg-info/top_level.txt +0 -0
  174. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/setup.cfg +0 -0
  175. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_agent.py +0 -0
  176. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_agent_full.py +0 -0
  177. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_cohere.py +0 -0
  178. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_cohere_embeddings.py +0 -0
  179. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_comprehensive_llm.py +0 -0
  180. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_embeddings_comprehensive.py +0 -0
  181. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_flow_comprehensive.py +0 -0
  182. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_llm_brainstorm.py +0 -0
  183. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_llm_clustering_retrieval.py +0 -0
  184. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_llm_feedback.py +0 -0
  185. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_llm_judge.py +0 -0
  186. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_llm_provider_router.py +0 -0
  187. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_nested_models.py +0 -0
  188. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_openrouter.py +0 -0
  189. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_openrouter_full_response.py +0 -0
  190. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_pattern_extraction.py +0 -0
  191. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_pattern_helpers.py +0 -0
  192. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_production_vector_db.py +0 -0
  193. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_pydantic_edge_cases.py +0 -0
  194. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_pydantic_edge_cases_llm.py +0 -0
  195. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_pydantic_structures.py +0 -0
  196. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_qdrant_comprehensive.py +0 -0
  197. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_qdrant_connection.py +0 -0
  198. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_qdrant_integration_live.py +0 -0
  199. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_real_llm_generation.py +0 -0
  200. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_router_simple.py +0 -0
  201. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_router_youtube_titles.py +0 -0
  202. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_unified_vector_interface.py +0 -0
  203. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_vision_anthropic.py +0 -0
  204. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_vision_openai.py +0 -0
  205. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_vision_quick.py +0 -0
  206. {simplerllm-0.3.2.4 → simplerllm-0.3.2.6}/tests/test_voyage_embeddings.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SimplerLLM
3
- Version: 0.3.2.4
3
+ Version: 0.3.2.6
4
4
  Summary: An easy-to-use Library for interacting with language models.
5
5
  Home-page: https://github.com/hassancs91/SimplerLLM
6
6
  Author: Hasan Aboul Hasan
@@ -5,17 +5,20 @@ from SimplerLLM.utils.custom_verbose import verbose_print
5
5
  from SimplerLLM.language.llm_providers.llm_response_models import LLMFullResponse
6
6
 
7
7
  class ReliableLLM:
8
- def __init__(self, primary_llm: LLM, secondary_llm: LLM, verbose=False):
8
+ def __init__(self, primary_llm: LLM, secondary_llm: LLM, verbose=False, validation_max_tokens: int = 4000):
9
9
  """
10
10
  Initialize ReliableLLM with primary and secondary LLM providers.
11
-
11
+
12
12
  Args:
13
13
  primary_llm (LLM): The primary LLM provider to use first
14
14
  secondary_llm (LLM): The secondary LLM provider to use as fallback
15
+ verbose (bool): Enable verbose logging
16
+ validation_max_tokens (int): Max tokens for provider validation test (default: 4000)
15
17
  """
16
18
  self.primary_llm = primary_llm
17
19
  self.secondary_llm = secondary_llm
18
20
  self.verbose = verbose
21
+ self.validation_max_tokens = validation_max_tokens
19
22
 
20
23
  if self.verbose:
21
24
  verbose_print("Initializing ReliableLLM with fallback support", "info")
@@ -38,7 +41,7 @@ class ReliableLLM:
38
41
  verbose_print("Validating primary provider...", "info")
39
42
  response = self.primary_llm.generate_response(
40
43
  prompt="test",
41
- max_tokens=1
44
+ max_tokens=self.validation_max_tokens
42
45
  )
43
46
  if response is None:
44
47
  self.primary_valid = False
@@ -55,7 +58,7 @@ class ReliableLLM:
55
58
  verbose_print("Validating secondary provider...", "info")
56
59
  response = self.secondary_llm.generate_response(
57
60
  prompt="test",
58
- max_tokens=1
61
+ max_tokens=self.validation_max_tokens
59
62
  )
60
63
  if response is None:
61
64
  self.secondary_valid = False
@@ -1,8 +1,6 @@
1
1
  import re
2
2
  import json
3
3
  from pydantic import BaseModel, ValidationError
4
- from typing import get_type_hints
5
- from pydantic import BaseModel
6
4
  from typing import Type, get_type_hints, List, get_origin, get_args, Union, Dict, Any, Literal
7
5
  from enum import Enum
8
6
  from datetime import datetime, date, time
@@ -77,7 +75,6 @@ def __json_extend_search(text, span):
77
75
 
78
76
 
79
77
 
80
- @DeprecationWarning
81
78
  def __extend_search_deprecated(text, span):
82
79
  # Extend the search to try to capture nested structures
83
80
  start, end = span
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SimplerLLM
3
- Version: 0.3.2.4
3
+ Version: 0.3.2.6
4
4
  Summary: An easy-to-use Library for interacting with language models.
5
5
  Home-page: https://github.com/hassancs91/SimplerLLM
6
6
  Author: Hasan Aboul Hasan
@@ -20,7 +20,7 @@ with open("README.md", encoding="utf-8") as f:
20
20
 
21
21
  setup(
22
22
  name="SimplerLLM",
23
- version="0.3.2.4",
23
+ version="0.3.2.6",
24
24
  author="Hasan Aboul Hasan",
25
25
  author_email="hasan@learnwithhasan.com",
26
26
  description="An easy-to-use Library for interacting with language models.",
File without changes
File without changes
File without changes