select-ai 1.0.0.dev6__py3-none-any.whl → 1.0.0.dev7__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 select-ai might be problematic. Click here for more details.

@@ -272,13 +272,13 @@ class AsyncProfile(BaseProfile):
272
272
 
273
273
  @classmethod
274
274
  async def list(
275
- cls, profile_name_pattern: str
275
+ cls, profile_name_pattern: str = ".*"
276
276
  ) -> AsyncGenerator["AsyncProfile", None]:
277
277
  """Asynchronously list AI Profiles saved in the database.
278
278
 
279
279
  :param str profile_name_pattern: Regular expressions can be used
280
280
  to specify a pattern. Function REGEXP_LIKE is used to perform the
281
- match
281
+ match. Default value is ".*" i.e. match all AI profiles.
282
282
 
283
283
  :return: Iterator[Profile]
284
284
  """
select_ai/profile.py CHANGED
@@ -244,12 +244,12 @@ class Profile(BaseProfile):
244
244
  raise ProfileNotFoundError(profile_name=profile_name)
245
245
 
246
246
  @classmethod
247
- def list(cls, profile_name_pattern: str) -> Iterator["Profile"]:
247
+ def list(cls, profile_name_pattern: str = ".*") -> Iterator["Profile"]:
248
248
  """List AI Profiles saved in the database.
249
249
 
250
250
  :param str profile_name_pattern: Regular expressions can be used
251
251
  to specify a pattern. Function REGEXP_LIKE is used to perform the
252
- match
252
+ match. Default value is ".*" i.e. match all AI profiles.
253
253
 
254
254
  :return: Iterator[Profile]
255
255
  """
select_ai/vector_index.py CHANGED
@@ -309,12 +309,12 @@ class VectorIndex(_BaseVectorIndex):
309
309
  return self._get_attributes(self.index_name)
310
310
 
311
311
  @classmethod
312
- def list(cls, index_name_pattern: str) -> Iterator["VectorIndex"]:
312
+ def list(cls, index_name_pattern: str = ".*") -> Iterator["VectorIndex"]:
313
313
  """List Vector Indexes
314
314
 
315
315
  :param str index_name_pattern: Regular expressions can be used
316
316
  to specify a pattern. Function REGEXP_LIKE is used to perform the
317
- match
317
+ match. Default value is ".*" i.e. match all vector indexes.
318
318
 
319
319
  :return: Iterator[VectorIndex]
320
320
  """
@@ -515,13 +515,14 @@ class AsyncVectorIndex(_BaseVectorIndex):
515
515
 
516
516
  @classmethod
517
517
  async def list(
518
- cls, index_name_pattern: str
518
+ cls, index_name_pattern: str = ".*"
519
519
  ) -> AsyncGenerator[VectorIndex, None]:
520
520
  """List Vector Indexes.
521
521
 
522
522
  :param str index_name_pattern: Regular expressions can be used
523
523
  to specify a pattern. Function REGEXP_LIKE is used to perform the
524
- match
524
+ match. Default value is ".*" i.e. match all vector indexes.
525
+
525
526
  :return: AsyncGenerator[VectorIndex]
526
527
 
527
528
  """
select_ai/version.py CHANGED
@@ -5,4 +5,4 @@
5
5
  # http://oss.oracle.com/licenses/upl.
6
6
  # -----------------------------------------------------------------------------
7
7
 
8
- __version__ = "1.0.0.dev6"
8
+ __version__ = "1.0.0.dev7"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: select_ai
3
- Version: 1.0.0.dev6
3
+ Version: 1.0.0.dev7
4
4
  Summary: Python API for Select AI
5
5
  Author-email: Abhishek Singh <abhishek.o.singh@oracle.com>
6
6
  Maintainer-email: Abhishek Singh <abhishek.o.singh@oracle.com>
@@ -3,19 +3,19 @@ select_ai/_abc.py,sha256=ccec6yu54w5QMix_EKc_BJ_0JatUDXKjfLW9KshOGak,2692
3
3
  select_ai/_enums.py,sha256=U0UavuE4pbRY-0-Qb8z-F7KfxU0YUfOgUahaSjDi0dU,416
4
4
  select_ai/action.py,sha256=s78uhi5HHCLbTN2S5tLDSswTLUl40FZ3nESLka8CfZk,592
5
5
  select_ai/admin.py,sha256=MMkXpvVJZUoloty8HiQnndPVPpuZch22Pnk8llUhUCc,3528
6
- select_ai/async_profile.py,sha256=1_ds6Rej4m17cd5aaRM5LoPOIL0EL4OVYBULiCLj57M,17593
6
+ select_ai/async_profile.py,sha256=7fbEW4rRLy3FcT8E7fabXwlLja-echoWEhlQHQaBCOM,17651
7
7
  select_ai/base_profile.py,sha256=Iyd5GdBNqEISiWCwYpGSKOGd394f-A5QgHPtuJ547CE,6791
8
8
  select_ai/conversation.py,sha256=jeZy7qtbnFTO9xTE3gNZLyxVI0Pnj_rpc0QZb1r-A00,9240
9
9
  select_ai/db.py,sha256=Q0MvoIBzE0fHP1d9oFjvnjfgKqdRk6ZCM6bERokcM3E,4669
10
10
  select_ai/errors.py,sha256=2T5eICWWjj7a907aRh7es5wTcvWm_wJiP8h0b3ipxVQ,2114
11
- select_ai/profile.py,sha256=lyMnS1ExRPYwS54OqlLpH3WwJxkj_epat7Z_nVDH3Os,14868
11
+ select_ai/profile.py,sha256=t9TMAqdaVm9DMz-jdP6AZddce6s9XYhlB_HOrfaq5NM,14926
12
12
  select_ai/provider.py,sha256=7KNdU2BmUMzjPj2WAwtn0vEYPBYY83MvRTT1q2Ng5tM,5103
13
13
  select_ai/sql.py,sha256=9yCdB1H_sYpjMLs-6SB8xf5-QpTwCAx4cIgIsElvly4,2786
14
14
  select_ai/synthetic_data.py,sha256=lnjEIcUzr7lr2dO24OgxRhol-tiVOiKK-kEvFVJoiig,3078
15
- select_ai/vector_index.py,sha256=y6Vrky7T5qNJK_eDVBS3U7i5B-Hvq6FBUd_CjkN23bo,20212
16
- select_ai/version.py,sha256=4HksrDhF_YLN3qkAVlYmmmBl9tDnJJ1XbM3x2xA-XfM,348
17
- select_ai-1.0.0.dev6.dist-info/licenses/LICENSE.txt,sha256=_0VqOxSjO1hu6JexZDVzqUXSmzH1A53EOfyiJzXTBKc,1840
18
- select_ai-1.0.0.dev6.dist-info/METADATA,sha256=P_89Il0dtluoQWFYZpexYhvfs18iymZT05A0hI3cKe4,1016
19
- select_ai-1.0.0.dev6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
20
- select_ai-1.0.0.dev6.dist-info/top_level.txt,sha256=u_QUAHDibro58Lvi_MU6a9Wc6VfQT8HEQm0cciMTP-c,10
21
- select_ai-1.0.0.dev6.dist-info/RECORD,,
15
+ select_ai/vector_index.py,sha256=0-0xkXWALPm6RqIUoY3r-NEisHO3Ya3lKkIIRed0a_4,20335
16
+ select_ai/version.py,sha256=baI0umotUCS0Xec8hkkCm0zLQafNjA_g3EUrE1upAAU,348
17
+ select_ai-1.0.0.dev7.dist-info/licenses/LICENSE.txt,sha256=_0VqOxSjO1hu6JexZDVzqUXSmzH1A53EOfyiJzXTBKc,1840
18
+ select_ai-1.0.0.dev7.dist-info/METADATA,sha256=B0UgNOCBaYZmtLyC1_5O_-ibVST5j_VEkmFCffliiCs,1016
19
+ select_ai-1.0.0.dev7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
20
+ select_ai-1.0.0.dev7.dist-info/top_level.txt,sha256=u_QUAHDibro58Lvi_MU6a9Wc6VfQT8HEQm0cciMTP-c,10
21
+ select_ai-1.0.0.dev7.dist-info/RECORD,,