numpy-fast 0.1.2__tar.gz → 0.1.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: numpy_fast
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Python AI toolkit — max, min, mean functions powered by top AI models
5
5
  Author-email: Karen_Poghosyan_042009 <karenpoghosyan242@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/karen/numpy_fast
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "numpy_fast"
7
- version = "0.1.2"
7
+ version = "0.1.3"
8
8
  authors = [
9
9
  { name="Karen_Poghosyan_042009", email="karenpoghosyan242@gmail.com"},
10
10
  ]
@@ -71,7 +71,10 @@ def max(model_idx=None, prompt=None):
71
71
  """
72
72
  Strong AI models via OpenRouter.
73
73
  """
74
- if model_idx is None:
74
+ if isinstance(model_idx, str):
75
+ prompt = model_idx
76
+ model_idx = 2
77
+ elif model_idx is None:
75
78
  model_idx = 2
76
79
 
77
80
  if prompt is None:
@@ -115,8 +118,11 @@ def min(model_idx=None, prompt=None):
115
118
  """
116
119
  Mistral AI models.
117
120
  """
118
- if model_idx is None:
119
- model_idx = 0 # Mistral only has 1 model in the list
121
+ if isinstance(model_idx, str):
122
+ prompt = model_idx
123
+ model_idx = 0
124
+ elif model_idx is None:
125
+ model_idx = 0
120
126
  if prompt is None:
121
127
  prompt = input("Մուտքագրեք հարցումը: ")
122
128
 
@@ -163,7 +169,10 @@ def mean(model_idx=None, prompt=None):
163
169
  """
164
170
  Lightweight and fast AI models via OpenRouter.
165
171
  """
166
- if model_idx is None:
172
+ if isinstance(model_idx, str):
173
+ prompt = model_idx
174
+ model_idx = 0
175
+ elif model_idx is None:
167
176
  model_idx = 0
168
177
 
169
178
  if prompt is None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: numpy_fast
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Python AI toolkit — max, min, mean functions powered by top AI models
5
5
  Author-email: Karen_Poghosyan_042009 <karenpoghosyan242@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/karen/numpy_fast
File without changes
File without changes