erdo 0.1.9__py3-none-any.whl → 0.1.10__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 erdo might be problematic. Click here for more details.
- erdo/invoke/invoke.py +6 -6
- {erdo-0.1.9.dist-info → erdo-0.1.10.dist-info}/METADATA +1 -1
- {erdo-0.1.9.dist-info → erdo-0.1.10.dist-info}/RECORD +6 -6
- {erdo-0.1.9.dist-info → erdo-0.1.10.dist-info}/WHEEL +0 -0
- {erdo-0.1.9.dist-info → erdo-0.1.10.dist-info}/entry_points.txt +0 -0
- {erdo-0.1.9.dist-info → erdo-0.1.10.dist-info}/licenses/LICENSE +0 -0
erdo/invoke/invoke.py
CHANGED
|
@@ -404,7 +404,7 @@ def invoke(
|
|
|
404
404
|
def invoke_agent(
|
|
405
405
|
agent: Any,
|
|
406
406
|
parameters: Optional[Dict[str, Any]] = None,
|
|
407
|
-
|
|
407
|
+
dataset_slugs: Optional[list] = None,
|
|
408
408
|
stream: bool = False,
|
|
409
409
|
print_events: bool = False,
|
|
410
410
|
**kwargs,
|
|
@@ -414,7 +414,7 @@ def invoke_agent(
|
|
|
414
414
|
Args:
|
|
415
415
|
agent: Agent instance with a 'key' attribute
|
|
416
416
|
parameters: Parameters to pass to the agent
|
|
417
|
-
|
|
417
|
+
dataset_slugs: Dataset slugs to include (e.g. ["my-dataset"] or ["org.my-dataset"])
|
|
418
418
|
stream: Whether to stream events
|
|
419
419
|
print_events: Whether to print events
|
|
420
420
|
**kwargs: Additional arguments (endpoint, auth_token)
|
|
@@ -427,14 +427,14 @@ def invoke_agent(
|
|
|
427
427
|
auth_token=kwargs.get("auth_token"),
|
|
428
428
|
print_events=print_events,
|
|
429
429
|
)
|
|
430
|
-
return invoke.invoke_agent(agent, parameters,
|
|
430
|
+
return invoke.invoke_agent(agent, parameters, dataset_slugs, stream)
|
|
431
431
|
|
|
432
432
|
|
|
433
433
|
def invoke_by_key(
|
|
434
434
|
bot_key: str,
|
|
435
435
|
messages: Optional[List[Dict[str, str]]] = None,
|
|
436
436
|
parameters: Optional[Dict[str, Any]] = None,
|
|
437
|
-
|
|
437
|
+
dataset_slugs: Optional[list] = None,
|
|
438
438
|
mode: Optional[str] = None,
|
|
439
439
|
stream: bool = False,
|
|
440
440
|
output_format: str = "events",
|
|
@@ -448,7 +448,7 @@ def invoke_by_key(
|
|
|
448
448
|
bot_key: Bot key (e.g., "erdo.data-analyzer")
|
|
449
449
|
messages: Messages in format [{"role": "user", "content": "..."}]
|
|
450
450
|
parameters: Parameters to pass to the bot
|
|
451
|
-
|
|
451
|
+
dataset_slugs: Dataset slugs to include (e.g. ["my-dataset"] or ["org.my-dataset"])
|
|
452
452
|
mode: Invocation mode: "live" (default), "replay" (cached), or "mock" (synthetic)
|
|
453
453
|
stream: Whether to stream events
|
|
454
454
|
output_format: Output format: "events" (raw), "text" (formatted), "json" (summary)
|
|
@@ -465,5 +465,5 @@ def invoke_by_key(
|
|
|
465
465
|
print_events=print_events,
|
|
466
466
|
)
|
|
467
467
|
return invoke.invoke_by_key(
|
|
468
|
-
bot_key, messages, parameters,
|
|
468
|
+
bot_key, messages, parameters, dataset_slugs, mode, stream, output_format, verbose
|
|
469
469
|
)
|
|
@@ -33,7 +33,7 @@ erdo/config/__init__.py,sha256=lROKyMtaH5cMiF1RcIRA2NLR1Sp8AKWx4brcPT1Vwy8,147
|
|
|
33
33
|
erdo/config/config.py,sha256=BSerQVQdbbp1KuARpIuKp6bM1M4Cqr-Bsf0nQJJTND8,4279
|
|
34
34
|
erdo/invoke/__init__.py,sha256=QhMBmUR8OXuyFS8fbNntjpRd7LNeKlV8Y8x6qSjgQ0I,249
|
|
35
35
|
erdo/invoke/client.py,sha256=bLQNlyRnXpAIJA9SXUn4kOIwWC4wXq5_hmjH262YBzA,8181
|
|
36
|
-
erdo/invoke/invoke.py,sha256=
|
|
36
|
+
erdo/invoke/invoke.py,sha256=et5U83pV-LAVJD7shejm8o6nHLlgqg2AOVcPp6sqoTE,17689
|
|
37
37
|
erdo/sync/__init__.py,sha256=f-7-9cYngOiLrTDAng3JxMC86JIE6jFk6-Vjz_dMybs,311
|
|
38
38
|
erdo/sync/client.py,sha256=LrcyrsapuyrqmuPh-UwbocL7WUhHZ9zkDItXzon_AUs,3022
|
|
39
39
|
erdo/sync/extractor.py,sha256=iAIlRJqHr4e69XYnir2mZ6F6cUjnXp0P_EKsG1jdDLc,17217
|
|
@@ -41,8 +41,8 @@ erdo/sync/sync.py,sha256=KzuChW5ramY8rX6QM3emRda928A09CQzFLmLJ5PLztg,10421
|
|
|
41
41
|
erdo/test/__init__.py,sha256=_OevGagFDTykFcYzA__FARXiS5kgT9tK90r_0TmyGQQ,1114
|
|
42
42
|
erdo/test/evaluate.py,sha256=-6vX6ynW8ICYaoXZLl-xdzAALvx1aSl1CurIRkgSJ0s,7730
|
|
43
43
|
erdo/test/runner.py,sha256=vZR9PLKT2nDMzHyPm_jniGSA9eddGk4p1dQq0h1dRms,7299
|
|
44
|
-
erdo-0.1.
|
|
45
|
-
erdo-0.1.
|
|
46
|
-
erdo-0.1.
|
|
47
|
-
erdo-0.1.
|
|
48
|
-
erdo-0.1.
|
|
44
|
+
erdo-0.1.10.dist-info/METADATA,sha256=QUWpKqNV_34ZpXZ_dLSChXDzH6pqqWy8WiocGmEa9Qs,11404
|
|
45
|
+
erdo-0.1.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
46
|
+
erdo-0.1.10.dist-info/entry_points.txt,sha256=KFGSp8-6IE3-8dSr-3Djqye3IdEY65Y4E8fABoFUCHg,45
|
|
47
|
+
erdo-0.1.10.dist-info/licenses/LICENSE,sha256=9pdgUAuBAumY5tewMdJnx2Ozj8dS6gGKsSiY-SVInu4,1034
|
|
48
|
+
erdo-0.1.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|