lionagi 0.5.0__py3-none-any.whl → 0.5.2__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.
Files changed (79) hide show
  1. lionagi/__init__.py +0 -1
  2. lionagi/core/action/tool.py +3 -5
  3. lionagi/core/communication/action_request.py +3 -3
  4. lionagi/core/communication/message.py +3 -3
  5. lionagi/core/communication/utils.py +3 -3
  6. lionagi/core/generic/component.py +4 -4
  7. lionagi/core/generic/element.py +51 -47
  8. lionagi/core/generic/graph.py +1 -1
  9. lionagi/core/generic/log.py +2 -2
  10. lionagi/core/generic/pile.py +10 -11
  11. lionagi/core/generic/progression.py +19 -12
  12. lionagi/core/generic/utils.py +6 -3
  13. lionagi/core/models/base.py +11 -68
  14. lionagi/core/models/field_model.py +42 -19
  15. lionagi/core/models/{new_model_params.py → model_params.py} +5 -6
  16. lionagi/core/models/note.py +2 -2
  17. lionagi/core/models/operable_model.py +8 -4
  18. lionagi/core/models/schema_model.py +9 -31
  19. lionagi/core/models/types.py +15 -6
  20. lionagi/core/session/branch.py +10 -7
  21. lionagi/core/session/branch_mixins.py +52 -15
  22. lionagi/core/session/session.py +1 -2
  23. lionagi/core/typing/__init__.py +4 -4
  24. lionagi/core/typing/{concepts.py → _concepts.py} +43 -2
  25. lionagi/core/typing/_id.py +104 -0
  26. lionagi/integrations/anthropic_/AnthropicModel.py +8 -3
  27. lionagi/integrations/anthropic_/AnthropicService.py +4 -0
  28. lionagi/integrations/groq_/GroqModel.py +11 -4
  29. lionagi/integrations/groq_/GroqService.py +4 -0
  30. lionagi/integrations/litellm_/imodel.py +10 -8
  31. lionagi/integrations/ollama_/OllamaService.py +4 -0
  32. lionagi/integrations/openai_/OpenAIModel.py +12 -3
  33. lionagi/integrations/openai_/image_token_calculator/image_token_calculator.py +14 -8
  34. lionagi/integrations/perplexity_/PerplexityModel.py +8 -3
  35. lionagi/integrations/perplexity_/PerplexityService.py +4 -0
  36. lionagi/libs/func/async_calls/__init__.py +6 -3
  37. lionagi/libs/func/async_calls/alcall.py +46 -0
  38. lionagi/libs/func/async_calls/bcall.py +49 -1
  39. lionagi/libs/func/async_calls/rcall.py +32 -0
  40. lionagi/libs/utils.py +12 -1
  41. lionagi/operations/brainstorm/brainstorm.py +3 -3
  42. lionagi/operations/plan/plan.py +3 -3
  43. lionagi/protocols/__init__.py +3 -0
  44. lionagi/protocols/configs/__init__.py +0 -15
  45. lionagi/protocols/configs/branch_config.py +1 -1
  46. lionagi/protocols/configs/imodel_config.py +2 -2
  47. lionagi/protocols/configs/log_config.py +1 -1
  48. lionagi/protocols/configs/types.py +15 -0
  49. lionagi/protocols/operatives/__init__.py +3 -15
  50. lionagi/protocols/operatives/action.py +4 -0
  51. lionagi/protocols/operatives/instruct.py +6 -2
  52. lionagi/protocols/operatives/operative.py +9 -21
  53. lionagi/protocols/operatives/prompts.py +4 -0
  54. lionagi/protocols/operatives/reason.py +4 -0
  55. lionagi/protocols/operatives/step.py +11 -23
  56. lionagi/protocols/operatives/types.py +19 -0
  57. lionagi/protocols/registries/__init__.py +3 -0
  58. lionagi/protocols/registries/_component_registry.py +4 -0
  59. lionagi/protocols/registries/_pile_registry.py +4 -0
  60. lionagi/service/__init__.py +3 -0
  61. lionagi/service/imodel.py +22 -7
  62. lionagi/service/service.py +4 -0
  63. lionagi/service/service_match_util.py +4 -4
  64. lionagi/settings.py +10 -18
  65. lionagi/strategies/base.py +4 -5
  66. lionagi/strategies/concurrent.py +4 -3
  67. lionagi/strategies/concurrent_chunk.py +3 -3
  68. lionagi/strategies/concurrent_sequential_chunk.py +3 -3
  69. lionagi/strategies/params.py +7 -4
  70. lionagi/version.py +1 -1
  71. {lionagi-0.5.0.dist-info → lionagi-0.5.2.dist-info}/METADATA +214 -15
  72. {lionagi-0.5.0.dist-info → lionagi-0.5.2.dist-info}/RECORD +77 -76
  73. lionagi/core/typing/config.py +0 -15
  74. lionagi/core/typing/id.py +0 -221
  75. /lionagi/core/typing/{pydantic_.py → _pydantic.py} +0 -0
  76. /lionagi/core/typing/{typing_.py → _typing.py} +0 -0
  77. /lionagi/integrations/{services.py → _services.py} +0 -0
  78. {lionagi-0.5.0.dist-info → lionagi-0.5.2.dist-info}/WHEEL +0 -0
  79. {lionagi-0.5.0.dist-info → lionagi-0.5.2.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lionagi
3
- Version: 0.5.0
3
+ Version: 0.5.2
4
4
  Summary: An AGentic Intelligence Operating System.
5
5
  Author-email: HaiyangLi <quantocean.li@gmail.com>
6
6
  License: Apache License
@@ -218,10 +218,12 @@ Classifier: Programming Language :: Python :: 3.11
218
218
  Classifier: Programming Language :: Python :: 3.12
219
219
  Classifier: Programming Language :: Python :: 3.13
220
220
  Requires-Python: >=3.11
221
+ Requires-Dist: aiohttp>=3.11.10
221
222
  Requires-Dist: jinja2>=3.1.4
222
- Requires-Dist: litellm>=1.55.2
223
+ Requires-Dist: litellm>=1.55.3
223
224
  Requires-Dist: pandas>=2.0.0
224
225
  Requires-Dist: pillow>=11.0.0
226
+ Requires-Dist: pydantic>=2.10.3
225
227
  Requires-Dist: python-dotenv>=1.0.1
226
228
  Description-Content-Type: text/markdown
227
229
 
@@ -246,17 +248,35 @@ LION is designed to be:
246
248
  - 🔧 **Flexible**: Build any workflow you need
247
249
  - 🚀 **Efficient**: Minimal dependencies, maximum performance
248
250
 
251
+
252
+
253
+ ## Installation
254
+
255
+ LION maintains minimal dependencies for maximum reliability:
256
+
257
+ ```bash
258
+ uv pip install lionagi
259
+ ```
260
+
261
+ Dependencies:
262
+ - litellm
263
+ - jinja2
264
+ - pandas
265
+ - pillow
266
+ - python-dotenv
267
+
268
+
249
269
  ## Quick Start
250
270
 
251
271
  ```python
252
272
  from lionagi import iModel, Branch
253
273
 
254
274
  # Initialize model
255
- gpt4o = iModel(provider="openai", model="gpt-4o")
275
+ gpt4o = iModel(provider="openai", task="chat", model="gpt-4o")
256
276
 
257
277
  hunter = Branch(
258
- system="you are a hilarious dragon hunter who responds in 10 words rhymes",
259
- imodel=gpt4o,
278
+ system="you are a hilarious dragon hunter who responds in 10 words rhymes",
279
+ imodel=gpt4o,
260
280
  )
261
281
 
262
282
  # Chat asynchronously
@@ -267,20 +287,199 @@ print(await hunter.communicate("I am a dragon"))
267
287
  You claim to be a dragon, oh what a braggin'!
268
288
  ```
269
289
 
270
- ## Installation
290
+ ## 📦 Features
271
291
 
272
- LION maintains minimal dependencies for maximum reliability:
292
+ ### 1. Model Agnostic Structured Output
273
293
 
274
- ```bash
275
- uv pip install lionagi
294
+ LION provides a unified interface for interacting with any AI model, regardless of the underlying architecture. This allows you to easily switch between models without changing your code.
295
+
296
+ ```python
297
+ from pydantic import BaseModel
298
+
299
+ class Joke(BaseModel):
300
+ joke: str
301
+
302
+ sonnet = iModel(
303
+ provider="anthropic",
304
+ model="claude-3-5-sonnet-20241022",
305
+ max_tokens=100, # max_tokens is required for anthropic models
306
+ )
307
+
308
+ response = await hunter.communicate(
309
+ instruction="I am a dragon",
310
+ response_format=Joke, # structured output in given pydantic model
311
+ clear_messages=True, # refresh the conversation
312
+ imodel=sonnet, # use sonnet model, which doesn't support structured output
313
+ )
314
+
315
+ print(type(response))
316
+ print(response.joke)
276
317
  ```
277
318
 
278
- Dependencies:
279
- - litellm
280
- - jinja2
281
- - pandas
282
- - pillow
283
- - python-dotenv
319
+ ```
320
+ <class '__main__.Joke'>
321
+ Joke(joke='With fiery claws, dragons hide their laughter flaws!')
322
+ ```
323
+
324
+
325
+ ### 2. Complete Observability
326
+
327
+ ```python
328
+ # using perplexity model
329
+ pplx_small = iModel(
330
+ provider="perplexity",
331
+ task="chat/completions",
332
+ model="llama-3.1-sonar-small-128k-online",
333
+ max_tokens=1000,
334
+ )
335
+
336
+ b = await hunter.communicate(
337
+ instruction="What makes a well-behaved dragon?",
338
+ clear_messages=True, # refresh the conversation
339
+ imodel=pplx_small, # use sonnet model
340
+ )
341
+
342
+ print(b)
343
+ ```
344
+
345
+ ```
346
+ A well-behaved dragon is one that's calm and bright,
347
+ No stress or fear, just a peaceful night.
348
+ It's active, not lethargic, with a happy face,
349
+ And behaviors like digging, not a frantic pace.
350
+ It's social, friendly, and never a fright,
351
+ Just a gentle soul, shining with delight
352
+ ```
353
+
354
+ ```python
355
+ hunter.msgs.last_response.model_response
356
+ ```
357
+
358
+ ```
359
+ {'id': '1be10f4c-0936-4050-ab48-91bd86ab11a5',
360
+ 'model': 'llama-3.1-sonar-small-128k-online',
361
+ 'object': 'chat.completion',
362
+ 'created': 1734369700,
363
+ 'choices': [{'index': 0,
364
+ 'message': {'role': 'assistant',
365
+ 'content': "A well-behaved dragon is one that's calm and bright,\nNo stress or fear, just a peaceful night.\nIt's active, not lethargic, with a happy face,\nAnd behaviors like digging, not a frantic pace.\nIt's social, friendly, and never a fright,\nJust a gentle soul, shining with delight"},
366
+ 'finish_reason': 'stop',
367
+ 'delta': {'role': 'assistant', 'content': ''}}],
368
+ 'usage': {'prompt_tokens': 40, 'completion_tokens': 69, 'total_tokens': 109},
369
+ 'citations': [{'url': 'https://dragonsdiet.com/blogs/dragon-care/15-bearded-dragon-behaviors-and-what-they-could-mean'},
370
+ {'url': 'https://masterbraeokk.tripod.com/dragons/behavior.html'},
371
+ {'url': 'https://files.eric.ed.gov/fulltext/ED247607.pdf'},
372
+ {'url': 'https://www.travelchinaguide.com/intro/social_customs/zodiac/dragon/five-elements.htm'},
373
+ {'url': 'https://www.travelchinaguide.com/intro/social_customs/zodiac/dragon/'}]}
374
+ ```
375
+
376
+
377
+ ### 3. Easy composition of complex workflows
378
+
379
+ ```python
380
+ # chain of thoughts
381
+ from pydantic import Field
382
+
383
+ class Reason(BaseModel):
384
+ reason: str
385
+ confidence_score: float
386
+
387
+ class Thought(BaseModel):
388
+ thought: str
389
+
390
+ class Analysis(BaseModel):
391
+ thought: list[Thought] = Field(
392
+ default_factory=list,
393
+ description="concise Chain of thoughts from you, 3 step, each in 8 words"
394
+ )
395
+ analysis: str = Field(
396
+ ...,
397
+ description="Final analysis of the dragon's psyche in 20 words",
398
+ )
399
+ reason: list[Reason] = Field(
400
+ default_factory=list,
401
+ description="Concise Reasoning behind the analysis, 3 support, each in 8 words"
402
+ )
403
+
404
+ context1 = "I am a dragon, I think therefore I am, I suffer from shiny objects syndrome"
405
+ context2 = "I like food and poetry, I use uv sometimes, it's cool but I am not familiar with pip"
406
+
407
+ async def analyze(context) -> Analysis:
408
+ psychologist = Branch(
409
+ system="you are a renowned dragon psychologist",
410
+ imodel=gpt4o,
411
+ )
412
+ return await psychologist.communicate(
413
+ instruction="analyze the dragon's psyche using chain of thoughts",
414
+ guidance="think step by step, reason with logic",
415
+ context=context,
416
+ response_format=Analysis,
417
+ )
418
+
419
+ ```
420
+
421
+ ```python
422
+ result1 = await analyze(context1)
423
+
424
+ print("\nThoughts:")
425
+ for i in result1.thought:
426
+ print(i.thought)
427
+
428
+ print("\nAnalysis:")
429
+ print(result1.analysis)
430
+
431
+ print("\nReasoning:")
432
+ for i in result1.reason:
433
+ print(i.reason)
434
+ ```
435
+
436
+ ```
437
+
438
+ Thoughts:
439
+ Dragons are attracted to shiny objects naturally.
440
+ This suggests a strong affinity for hoarding.
441
+ Reflects the dragon's inherent desire for possession.
442
+
443
+ Analysis:
444
+ The dragon demonstrates a compulsive hoarding behavior linked to attraction for shiny objects.
445
+
446
+ Reasoning:
447
+ Shiny objects trigger instinctual hoarding behavior.
448
+ Possession indicates a symbol of power and security.
449
+ Hoarding is reinforced by evolutionary survival mechanisms.
450
+ ```
451
+
452
+ ```python
453
+ result2 = await analyze(context2)
454
+
455
+ print("\nThoughts:")
456
+ for i in result2.thought:
457
+ print(i.thought)
458
+
459
+ print("\nAnalysis:")
460
+ print(result2.analysis)
461
+
462
+ print("\nReasoning:")
463
+ for i in result2.reason:
464
+ print(i.reason)
465
+ ```
466
+
467
+ ```
468
+ Thoughts:
469
+ Dragon enjoys both food and poetry regularly.
470
+ Dragon uses uv light with frequent interest.
471
+ Dragon is unfamiliar and not comfortable with pip.
472
+
473
+ Analysis:
474
+ The dragon is curious and exploratory, yet selectively cautious about unfamiliar methodologies.
475
+
476
+ Reasoning:
477
+ Preference for food and poetry suggests curiosity.
478
+ Frequent uv light use indicates exploratory nature.
479
+ Discomfort with pip usage shows selective caution.
480
+ ```
481
+
482
+
284
483
 
285
484
  ## 🌟 Example Workflow
286
485
 
@@ -1,25 +1,25 @@
1
- lionagi/__init__.py,sha256=kIVZqqp61CFddL5BbYynIPwRlg3oUbSVTnWh6QOyhaM,495
2
- lionagi/settings.py,sha256=r3G-ihH5ehIKwsUdqSGKRwxKpXFj9v6kIaElZKQd7R4,2953
3
- lionagi/version.py,sha256=LBK46heutvn3KmsCrKIYu8RQikbfnjZaj2xFrXaeCzQ,22
1
+ lionagi/__init__.py,sha256=TGvl3bsM1uF2XANOQxClkDGdDt_u5MxXFMEvwEvaYDw,442
2
+ lionagi/settings.py,sha256=BOjxRV4N9zQJervvajPhbaHmgZ-nhbCy7AaQJi3Avug,2726
3
+ lionagi/version.py,sha256=isJrmDBLRag7Zc2UK9ZovWGOv7ji1Oh-zJtJMNJFkXw,22
4
4
  lionagi/core/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
5
5
  lionagi/core/_class_registry.py,sha256=srSWefqCS9EZrMvyA8zCrZ9KFvzAhTIj8g6mJG5KlIc,1982
6
6
  lionagi/core/action/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
7
7
  lionagi/core/action/action_manager.py,sha256=8yNWV5x8YtaoL2A_U_5xjJdruqwWw8TLPAtq3f3DC7M,10143
8
8
  lionagi/core/action/base.py,sha256=M2K3irxpp7fDwczefzZdUsHhGd_21l1xhFT9iNSbiK0,4110
9
9
  lionagi/core/action/function_calling.py,sha256=7N5UFLbHPy6yvPrR6RH9SNSwt73s0X_3iAnOV8YMy0Q,6001
10
- lionagi/core/action/tool.py,sha256=DEjfc1tABP0rPOblcKhgml9OLUQWedN7raiRuLqGxMI,6910
10
+ lionagi/core/action/tool.py,sha256=pDiyttx0obu0qDskz7POHxbyqTwHuD7HCeE31LkzRMg,6884
11
11
  lionagi/core/action/types.py,sha256=KqW5ZHXssfxuf1kIiIUoj-r3KIZEoQ_GkZ04tL6fUPQ,388
12
12
  lionagi/core/communication/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
13
- lionagi/core/communication/action_request.py,sha256=qvrJtCmGnFLYxA9OWskygzkCSU_1lNibYYAqNQeJIz0,5000
13
+ lionagi/core/communication/action_request.py,sha256=gicqQIs7VLOhnkQYsUuRmSLGittODiG3Pk74FayPSeM,5006
14
14
  lionagi/core/communication/action_response.py,sha256=QONcRtvV7Ympbzkdg5gnV0DqCC97Y-gvaA0D7EkjswM,4505
15
15
  lionagi/core/communication/assistant_response.py,sha256=WTQjBxAckMILocaZEsOP6u1mfKr3DhYVt4K8TyAh7Ek,5760
16
16
  lionagi/core/communication/base_mail.py,sha256=Et-WrHlw2x75mLIKy-wMUj3YlGGL_2BF9r1REuiZtM8,1704
17
17
  lionagi/core/communication/instruction.py,sha256=Iy3G1sp0lPuA4Ak9pLobIipou4ePLsMdGGvRq6L58UU,12454
18
- lionagi/core/communication/message.py,sha256=Truhh6NVi0bQmOqls20Y2NKM-6QIlBFfNj3Kd0EPHjU,8565
18
+ lionagi/core/communication/message.py,sha256=60yaub4C_JFnMR76D_DeYfQ_mQYoZ0eBF9Vqk2UadUw,8550
19
19
  lionagi/core/communication/message_manager.py,sha256=RnSYJUnKOKBS8dfY2804Zq2sD-C5qDvBXNxXRsMfRe0,16987
20
20
  lionagi/core/communication/system.py,sha256=5DoDODZePy4EDpE3oI5RpkzBXVp9WC2Mf4B3fPImItI,3824
21
21
  lionagi/core/communication/types.py,sha256=rBGMpE3NW0SGKc-wJdJvT-VrO3wpjwjQhoWzSC2Dqh0,745
22
- lionagi/core/communication/utils.py,sha256=vi9CCjS2b5JFQ91h2v_JP8xLjyy96c743GysOUUcb-0,6953
22
+ lionagi/core/communication/utils.py,sha256=9kaBLH2eA2XqhW_aQvqziwm__z-WlBKSM0pwWX4BFjk,6959
23
23
  lionagi/core/communication/templates/README.md,sha256=Ch4JrKSjd85fLitAYO1OhZjNOGKHoEwaKQlcV16jiUI,1286
24
24
  lionagi/core/communication/templates/action_request.jinja2,sha256=d6OmxHKyvvNDSK4bnBM3TGSUk_HeE_Q2EtLAQ0ZBEJg,120
25
25
  lionagi/core/communication/templates/action_response.jinja2,sha256=Mg0UxmXlIvtP_KPB0GcJxE1TP6lml9BwdPkW1PZxkg8,142
@@ -34,40 +34,39 @@ lionagi/core/forms/report.py,sha256=FXu8sQnGMF_nCHUJ4NrXoiptHQ2ON2a356RBGJDZmag,
34
34
  lionagi/core/forms/types.py,sha256=5k8RNj87c0lHlSPrqnz4aY6--Lopg3u80qgKyRNuhuY,247
35
35
  lionagi/core/forms/utils.py,sha256=sCjYRy-EJIh1py9qIb04LVgALy2YiPHbhXhNyDNwvoQ,701
36
36
  lionagi/core/generic/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
37
- lionagi/core/generic/component.py,sha256=_U9S8vRbbA7dwsdFbqi0V1bEunq9CIYjQz-DG8gb4w8,13773
37
+ lionagi/core/generic/component.py,sha256=3y0t-fyLR2n2E8ooa7_VI5bx_lV1S82wOAp2pn7qAzA,13801
38
38
  lionagi/core/generic/edge.py,sha256=E0uw1nbviepTtmhxZjIieksE5utZo2Yk1Wn28tmRf1k,4972
39
- lionagi/core/generic/element.py,sha256=lzAH42pqfO4-N8H03fjcKMy1prRI4tZMEDXG_Bc09zU,5722
40
- lionagi/core/generic/graph.py,sha256=Pw-RcZyfzO6d8fKcZlsklyCVso5Ntkwb---GZG1xNuU,11916
41
- lionagi/core/generic/log.py,sha256=6d1Zs9S_C6TxeJvAAIgrzupEwZ1x8M40Z6uGsmeFjyU,4960
39
+ lionagi/core/generic/element.py,sha256=PAqL_7PQPb9PcGHTBz7qZMuN-gcjClSCkQllcBP1pyc,5851
40
+ lionagi/core/generic/graph.py,sha256=5uFU5rEHzzIQRtQrY2BO75wv5ekrFZskTnUK0GnuZJo,11921
41
+ lionagi/core/generic/log.py,sha256=QQfgDSrw6YwHRjYV3kRc6ztnJHTLx0IdV-fjymrmZmQ,4976
42
42
  lionagi/core/generic/log_manager.py,sha256=MLlY2s3_xlDTwntQPdrQOrdbc0V1qwrKpMheSU7Tt3E,10426
43
43
  lionagi/core/generic/node.py,sha256=GYlc2CKVuNLns2_DL7YS2e8Z3CYGDSWsablQSHuUN3Q,236
44
- lionagi/core/generic/pile.py,sha256=Z1u7unyJsQ5wFzRjwjJMIf8H8okr8vOdo567eX7RLFg,29501
45
- lionagi/core/generic/progression.py,sha256=1iPOjkcjY5SaEsNvnd3y6P9t2Bb6mN8pPYtpdlNDvkM,11520
44
+ lionagi/core/generic/pile.py,sha256=wzN6M8XISsnvZs2dsswnRBqwS0CP5VNQ4pmC8BUcd8U,29452
45
+ lionagi/core/generic/progression.py,sha256=mrR9K-q3R5DJ9LtUCHwJ1T8NFdMwuz6vTmG11pX5vLE,11784
46
46
  lionagi/core/generic/types.py,sha256=vcMgOD3puTETk5hpWQBYq1p31e0JnvcqAyKu8zslIdU,615
47
- lionagi/core/generic/utils.py,sha256=PiHSrC1_0zx5R7jjPuU9GfGSKfvNTuRVDbtnXtfg0X8,1407
47
+ lionagi/core/generic/utils.py,sha256=RE_CE1HALogxBDz72tAubVBTvUCUmtox-GdWPkOSvLw,1548
48
48
  lionagi/core/models/__init__.py,sha256=O7nV0tedpUe7_OlUWmCcduGPFtqtzWZcR_SIOnjLsro,134
49
- lionagi/core/models/base.py,sha256=xragc2IBqSYtIoOBJVRc2g8C3GR0gV1ipiFxclkdZWM,2554
50
- lionagi/core/models/field_model.py,sha256=Tdj6c-w78XRtqYxftLB2MeK0-8wE2_TUCr4xYfQ6qQU,4171
51
- lionagi/core/models/new_model_params.py,sha256=i_uVdlPZ7BeLPQhW-d1M3gunZ1ii_HWHYdNg7Gb73VY,6906
52
- lionagi/core/models/note.py,sha256=NeEP3boq4GZqvhOZ_XvbVgSSJT87sQwh8c7KdND-nkw,9424
53
- lionagi/core/models/operable_model.py,sha256=XhwoamKwZUMc2WympWukNvly4ssR-e58kcRMFc5gIDQ,11837
54
- lionagi/core/models/schema_model.py,sha256=1GNCStg10VWyhqjN4ojxs9mt60T5o8I8_ZX7DupJZro,1383
55
- lionagi/core/models/types.py,sha256=I8khSl0c-O2UgYLMss5akvIFscogjfgKTE2sT6Tg50I,270
49
+ lionagi/core/models/base.py,sha256=t1tI1mwcla2YLwKGpKGm1uUH--GQ0W9qrqzZ1SQlZ5k,818
50
+ lionagi/core/models/field_model.py,sha256=iB0UUEY2P7rv25f7CfVlSQDT8ddgPvB-FqYQYwnK5nc,4941
51
+ lionagi/core/models/model_params.py,sha256=iXrNalt6UAY5SH9HSrYBK9Ia-73ZBc6K48btcQNditc,6900
52
+ lionagi/core/models/note.py,sha256=7O8kXxoXeVHHYzmlbLoW0Rd99pYngPZbOpEszIX_fos,9424
53
+ lionagi/core/models/operable_model.py,sha256=zuXDjoNI2-jLFxp3XWITtzIv0-CQ6FO6DQydXZIv0J4,11913
54
+ lionagi/core/models/schema_model.py,sha256=H2tSX3r0U6MDNi929rWmAZy3nUKMP47RG-Ma0O-QYNY,667
55
+ lionagi/core/models/types.py,sha256=elcUuz_9dx4AhZddnICF-Cs62VJWIBqMET7MiRe4c1I,447
56
56
  lionagi/core/session/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
57
- lionagi/core/session/branch.py,sha256=MZXmE7Ne8_CGxgS_Jo5Qak3wJdvut4ZXgF2j8zPMstc,4241
58
- lionagi/core/session/branch_mixins.py,sha256=Li3Y4_EsqsT0c4OwzM1eh1loalAGELUiByPcKWmISAs,18226
59
- lionagi/core/session/session.py,sha256=0DW8HoU_Eqki4UeKIaEuXWBb08N_OkxoDWQyH211M9g,5195
57
+ lionagi/core/session/branch.py,sha256=KxdfUnwxLUZlDN5axEmyel86UZDQ6mK_-NB1EQvy6jY,4320
58
+ lionagi/core/session/branch_mixins.py,sha256=C9lGHmD1AmXAePw0kGIeuZjZ7SzOrFcIwV6rVaGhoGg,19623
59
+ lionagi/core/session/session.py,sha256=Uup50oMqs00ZH6zgEiqtk0pG_ANByHW_Ael07dfbT1M,5122
60
60
  lionagi/core/session/types.py,sha256=MUGTSa2HWK79p7z-CG22RFP07N5AKnPVNXZwZt_wIvU,202
61
- lionagi/core/typing/__init__.py,sha256=THyLLjX2WgKkycQPNxXWWl1BVh7XCrQMuAh8WE4UhP8,226
62
- lionagi/core/typing/concepts.py,sha256=UBsX9ZD6IpWt-roHn7Q8-2Iw6JMHfZkYFrfhmku1sqg,2709
63
- lionagi/core/typing/config.py,sha256=AxvPxVHwxXHH3WNXRf4rf2VIgGBeaW9MUJASL63bVyg,332
64
- lionagi/core/typing/id.py,sha256=gIftkjFxEBLiRsn3g_p9Bo-rq6yxHwOp_12QyVn_1OE,6704
65
- lionagi/core/typing/pydantic_.py,sha256=xMNyT0rDhSpKkEDfzj6GHobqlTtRn48svhmA75LP6gs,653
66
- lionagi/core/typing/typing_.py,sha256=VJj5W6y-JGK1ZzSbyDs4qAuq0cA5wp5HtRgZUsZ50E0,869
61
+ lionagi/core/typing/__init__.py,sha256=Y9BK1OUXzjQgIo3epCVwWqUYhFwQQ_ayhRwI1UOmINg,228
62
+ lionagi/core/typing/_concepts.py,sha256=uIzqfwtPBsIREhvT7NDAowc4i-u-69n_DRzLHzvHZO4,3730
63
+ lionagi/core/typing/_id.py,sha256=6BLrpYxfeb8ZVByc-v3EvAjyidYHY55l3BL_Ndc7mSE,2651
64
+ lionagi/core/typing/_pydantic.py,sha256=xMNyT0rDhSpKkEDfzj6GHobqlTtRn48svhmA75LP6gs,653
65
+ lionagi/core/typing/_typing.py,sha256=VJj5W6y-JGK1ZzSbyDs4qAuq0cA5wp5HtRgZUsZ50E0,869
67
66
  lionagi/integrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
- lionagi/integrations/services.py,sha256=qxffUaPKvp2Bb_LI3Uiyokm7l6ZAbRi0xKxZXCYs67c,498
69
- lionagi/integrations/anthropic_/AnthropicModel.py,sha256=SOqO0xlmOZ9CMl7aEmQylXjDnHJ3c5oyR7POQLrWWGc,9064
70
- lionagi/integrations/anthropic_/AnthropicService.py,sha256=AHwsGYkblAMqev-COgqZthAVgFrWBWiaqMmFUcxqm6M,3575
67
+ lionagi/integrations/_services.py,sha256=qxffUaPKvp2Bb_LI3Uiyokm7l6ZAbRi0xKxZXCYs67c,498
68
+ lionagi/integrations/anthropic_/AnthropicModel.py,sha256=3Mzw7g6KjCZMzRgURH1AgqUJvmS3AqZaF5k_q4f77j8,9228
69
+ lionagi/integrations/anthropic_/AnthropicService.py,sha256=Z6fGD2nLEKOm3cDK4Gy0_Vl289KAxX1wswCWsEDpp4E,3656
71
70
  lionagi/integrations/anthropic_/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
72
71
  lionagi/integrations/anthropic_/anthropic_max_output_token_data.yaml,sha256=u_CT9UAXoNpbAWuPHMxH9g4erZW7XUwY4vdSXyE86t4,203
73
72
  lionagi/integrations/anthropic_/anthropic_price_data.yaml,sha256=NCoBo5QFiBvrtztZf2FEyYvtKjIOYDuVMAVUINtp3OY,368
@@ -84,8 +83,8 @@ lionagi/integrations/anthropic_/api_endpoints/messages/response/__init__.py,sha2
84
83
  lionagi/integrations/anthropic_/api_endpoints/messages/response/content_models.py,sha256=4J40thUbg3leKZKRy7v_YmS-trW1KVXpLzevt7v3IZ8,1033
85
84
  lionagi/integrations/anthropic_/api_endpoints/messages/response/response_body.py,sha256=96e2GAAiTGkExRullvAsAOGhPPHNByhnv6DK_wz1j40,3213
86
85
  lionagi/integrations/anthropic_/api_endpoints/messages/response/usage_models.py,sha256=s6oe5iOU027M7YPS10upnvcPsuFbTV1ZM00lInHPKvA,695
87
- lionagi/integrations/groq_/GroqModel.py,sha256=8vIHjzcYoIeRvzXQpBDd-ASx6gXckr5qhmUqJJ9UL1g,11721
88
- lionagi/integrations/groq_/GroqService.py,sha256=i3Vru3w8ktve9ISacMSWpjrnpJW_swPMzIZgbvHmxhc,4553
86
+ lionagi/integrations/groq_/GroqModel.py,sha256=y2KaFe8GmlTBnBRvB09dNjYYhNEjq2wujYfB8YzGNHI,11950
87
+ lionagi/integrations/groq_/GroqService.py,sha256=v3bn04njIwV7ysOlfLCmapOhHZJy3bNUTr0i12tFqME,4644
89
88
  lionagi/integrations/groq_/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
90
89
  lionagi/integrations/groq_/groq_max_output_token_data.yaml,sha256=Y0PbyZ7pyyV1zi7ZJSJGVPsZDhSeN2JMOyghzkqqoKc,559
91
90
  lionagi/integrations/groq_/groq_price_data.yaml,sha256=HmN_2-QliKvaC8Ghq7QJAD97ubMYzPSy7EGgqzgCz48,1234
@@ -97,9 +96,9 @@ lionagi/integrations/groq_/api_endpoints/groq_request.py,sha256=u-GJuu0ZsY7jMWaX
97
96
  lionagi/integrations/groq_/api_endpoints/match_response.py,sha256=95vRKsR1QYPPmBY36dC5azdKn5UlXNRrTQqTUZro_YM,3756
98
97
  lionagi/integrations/groq_/api_endpoints/response_utils.py,sha256=P5kRsGHe-Rx9xejfRcU8q680yotcWLTSaSUuqXATcho,3710
99
98
  lionagi/integrations/litellm_/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
100
- lionagi/integrations/litellm_/imodel.py,sha256=Do8fPqdhZi6ImgfATS68imvAMyVqeouCOH5fTPCJ4Z0,2092
99
+ lionagi/integrations/litellm_/imodel.py,sha256=YBaG5f8BavbhooVv7xQXC68K6N7AxPMcUAhgJ1TlYNw,2227
101
100
  lionagi/integrations/ollama_/OllamaModel.py,sha256=5kBYIWShsSpQpSgOxdbRk2_4jmss6Y8iISjUcS3KoWw,8341
102
- lionagi/integrations/ollama_/OllamaService.py,sha256=hUVnmHEFvQlwaozt6A4xQvBhOkia8AC9cEj9LmSB1i0,3989
101
+ lionagi/integrations/ollama_/OllamaService.py,sha256=bJ4kk1FPjn_kecLzxTJgVj05KZPzF5FclHoDA3jdAlg,4080
103
102
  lionagi/integrations/ollama_/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
104
103
  lionagi/integrations/ollama_/api_endpoints/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
105
104
  lionagi/integrations/ollama_/api_endpoints/api_request.py,sha256=N3frStr_ZJmqu5WMmJXioxnXy5m10bZNwO9vjifcGVw,6843
@@ -126,7 +125,7 @@ lionagi/integrations/ollama_/api_endpoints/model/list_model.py,sha256=OrGdJa0evj
126
125
  lionagi/integrations/ollama_/api_endpoints/model/pull_model.py,sha256=fiZJcQSRn73SJA9GdlfPBG5RiMISQwBc0y7S_zAlOGA,923
127
126
  lionagi/integrations/ollama_/api_endpoints/model/push_model.py,sha256=yDOMVu3ajdNFT1cuzb4R_3qDxlk0qT4aM2oget3aHZ4,961
128
127
  lionagi/integrations/ollama_/api_endpoints/model/show_model.py,sha256=CclV6pEmm5iYM25ePnMAiicVJmZzolDim7BsQoEJAw0,864
129
- lionagi/integrations/openai_/OpenAIModel.py,sha256=J1X2oYdkXUJRTviAeZrsFe6p8Rqcj3Md8wPaLI8z_Ts,15725
128
+ lionagi/integrations/openai_/OpenAIModel.py,sha256=4SYgSlz5ZMcpEGf_epF8n4emd7ze1UutTjKDJvZDYcQ,15980
130
129
  lionagi/integrations/openai_/OpenAIService.py,sha256=P0sGnxeWPKe15_KndqCgEdM74AKVJ6NJsgFGORqqlrk,13507
131
130
  lionagi/integrations/openai_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
132
131
  lionagi/integrations/openai_/openai_max_output_token_data.yaml,sha256=3gd8TGnFjy4AdHzvsV9wZjK_r_o26pe3Th75n5eN2zs,263
@@ -207,7 +206,7 @@ lionagi/integrations/openai_/api_endpoints/uploads/complete_upload.py,sha256=elP
207
206
  lionagi/integrations/openai_/api_endpoints/uploads/create_upload.py,sha256=1RxKMgeAJxnVUz7-EtTK5c0nbMm5AQD-cj_W1Bo4rSI,479
208
207
  lionagi/integrations/openai_/api_endpoints/uploads/uploads_models.py,sha256=QzmbGiuDejCD8Zxqt92fztGy8ROQS3GmlFouXsWvcik,1561
209
208
  lionagi/integrations/openai_/image_token_calculator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
210
- lionagi/integrations/openai_/image_token_calculator/image_token_calculator.py,sha256=XH5RgB1ZEIGnU9Epbg4x1hO2prO0wUMun-U-iXz4u-s,3022
209
+ lionagi/integrations/openai_/image_token_calculator/image_token_calculator.py,sha256=4ubm_89-v6WTZwbnRMNUDoflhT2PsiBcnNXt556JO6Y,3302
211
210
  lionagi/integrations/openai_/image_token_calculator/openai_image_token_data.yaml,sha256=xKmjPoJGYepK9_zGMTJgjHZiFNc0MuGLm2DF3o9tv70,204
212
211
  lionagi/integrations/pandas_/__init__.py,sha256=DlYvunk0IwQxpLGcro69crklbACEA9sgRLBE79yVGrs,639
213
212
  lionagi/integrations/pandas_/extend_df.py,sha256=G-IpoZFE5v3bZyVl9d06lMeU7pQOqvWrjCurAoEwDiM,2261
@@ -218,8 +217,8 @@ lionagi/integrations/pandas_/save.py,sha256=HBFdPoOJG9cTC_quWw7REWvM1ino_nTD8gSQ
218
217
  lionagi/integrations/pandas_/search_keywords.py,sha256=AJfN8QVu6rUni6As8AOTnzne_rDrsXp-YUduBF1f4wE,2241
219
218
  lionagi/integrations/pandas_/to_df.py,sha256=3vAOCj0Ib2PZNCblg1oA20PjRIrUXR86FHICQLNhLu0,5757
220
219
  lionagi/integrations/pandas_/update_cells.py,sha256=7X1bGcPvnEINrLM_zFCWUXIkrFdMGV3TjoEYBq_SThs,1658
221
- lionagi/integrations/perplexity_/PerplexityModel.py,sha256=FfOR3WwOgZZEw97mai3D9PJS5C1jsZii2tAX5n0IR8s,9171
222
- lionagi/integrations/perplexity_/PerplexityService.py,sha256=9Hl3Qcy0r8AqNa94dkWgY5CUSXhSFn4PBVsA6CcEOFY,3550
220
+ lionagi/integrations/perplexity_/PerplexityModel.py,sha256=06kURklzmc3f-TPwdB3a2zbYttfBTSlBrgZG_Tkw680,9335
221
+ lionagi/integrations/perplexity_/PerplexityService.py,sha256=q5Ruy60H3cL2a4LOUjB2JI6bkMwKiWVSlrjpATREwqM,3641
223
222
  lionagi/integrations/perplexity_/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
224
223
  lionagi/integrations/perplexity_/perplexity_max_output_token_data.yaml,sha256=SY6nDrDRhI_HzEBYHaANR_Mc5GRa0SY9Pw_wRuVBlV4,121
225
224
  lionagi/integrations/perplexity_/perplexity_price_data.yaml,sha256=eyp_jZktnEbsEv9VJ0TLNzjp99VdOEA0E-el_dAzCTc,284
@@ -238,7 +237,7 @@ lionagi/integrations/pydantic_/break_down_annotation.py,sha256=q9zjhoJkvYjjpfLH_
238
237
  lionagi/integrations/pydantic_/new_model.py,sha256=MtlQ86kYeYApAxPLvsXVCDNMKQsFVUvIEcHqbY3SQ7o,6576
239
238
  lionagi/libs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
240
239
  lionagi/libs/constants.py,sha256=nxZbZVo2msiYDsWMRth_VuqVLaa4CbqaM4CAn0zYXcM,2199
241
- lionagi/libs/utils.py,sha256=2gyPZBDMw8Zqqy4X6lxbeImdVoSmf0gZSl34mVmXH6M,7447
240
+ lionagi/libs/utils.py,sha256=dr-UxZw_XUoNUdvy2HGHWaW3YzTsR23fVkD4Hv-oJtU,7652
242
241
  lionagi/libs/compress/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
243
242
  lionagi/libs/compress/models.py,sha256=AX6BElvEnnYnCnZzTlJUXknhVGrSTpDHO7DBkSKH0v8,1773
244
243
  lionagi/libs/compress/utils.py,sha256=-U54mWr9_u19BYaS_VNCPCRQQ4kDgB4x4_WNr1WGR8U,2289
@@ -257,12 +256,12 @@ lionagi/libs/func/params.py,sha256=y9duFaU7yQ_2cHHln8wbEGhwrKRHhjLwjHhpduEm8Rs,1
257
256
  lionagi/libs/func/throttle.py,sha256=iOOmS6i81NGRCClf4WaIhMMXwPt_rZ6WXYBqMJ_weEE,3418
258
257
  lionagi/libs/func/types.py,sha256=wdjGNmY82pVACQBuDMUt3XJO0G9_wKHR7VesOeMxo_A,831
259
258
  lionagi/libs/func/utils.py,sha256=-LMdUEjksXP6JjjcUBh0XEQiXF30Zmv3xpKbmXjfya8,2674
260
- lionagi/libs/func/async_calls/__init__.py,sha256=CuMBwJxb9wzq9vcmt72LTlOqmXnBYxDY47R9Ks-6uO8,397
261
- lionagi/libs/func/async_calls/alcall.py,sha256=9yxLmlXPh_ScfMF9H52qoIapvntvA4NLYmd51GSRLak,5825
262
- lionagi/libs/func/async_calls/bcall.py,sha256=7lFLl39sSurK3-Tmtv_QKvhEaBrEV9pLTzKK-t90Nrs,2902
259
+ lionagi/libs/func/async_calls/__init__.py,sha256=qDHIkH7B-Ka5NJqeeyu_YL3TY36xL8kBwTjtCR4H8AU,495
260
+ lionagi/libs/func/async_calls/alcall.py,sha256=U8-lWwqNwhe50Q07kzyW4YVcbx_LkUN5X1K1zvFg7i0,7283
261
+ lionagi/libs/func/async_calls/bcall.py,sha256=gwfKpRZkExjVn-1YGZfaboFES8RqUgyaBrdpNtz1IdY,4436
263
262
  lionagi/libs/func/async_calls/mcall.py,sha256=9O5gWbBT4iIqXfcdZjgAdqsOSLWrNS4_tt6ou231ozA,4607
264
263
  lionagi/libs/func/async_calls/pcall.py,sha256=6u3RJPV-3yOkWxC9iSoVFl1veFfZFJpR0QRyGtfBODI,5831
265
- lionagi/libs/func/async_calls/rcall.py,sha256=8EtcnFYF2oQHn6Vs_zS7q-5MgfE4qWbSeyEZEBq9rj0,6188
264
+ lionagi/libs/func/async_calls/rcall.py,sha256=pe4flHq88mpalMxloal72GbczALI4PlyixppaA5JxyY,7127
266
265
  lionagi/libs/func/async_calls/tcall.py,sha256=3Kz30kiSts6smZ_x_RRY1gBxpo8p5GwqEMnoamEbWXk,4033
267
266
  lionagi/libs/func/async_calls/ucall.py,sha256=PuV4YZeSMUaSiW8lkHpeA4W-TKU2YH7KZYqx1E6O0y8,2655
268
267
  lionagi/libs/package/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -318,56 +317,58 @@ lionagi/libs/string_similarity/utils.py,sha256=NdD0qF5tuytWBsm0WMrH0gRBBSxw2p4-m
318
317
  lionagi/operations/__init__.py,sha256=Dt7o6DFP7zVR-uxZ4xsGHQcse3XVlF6S8Y9NhaUTn_4,68
319
318
  lionagi/operations/utils.py,sha256=kn5SkZRczl1aQ-vJBeVPlMdeyUUD0s5iyuAW4P6KOvQ,1164
320
319
  lionagi/operations/brainstorm/__init__.py,sha256=amsoH65wepsx58DfgH-TRTN1wDH5TC24qYI_f02zkVg,61
321
- lionagi/operations/brainstorm/brainstorm.py,sha256=zrwGlIapbwGC34rFNzLcjg4b60W3uxQT_diV36c3zdA,6273
320
+ lionagi/operations/brainstorm/brainstorm.py,sha256=fLTO5RFXHzGf7TDJXMV2tuPSYblPYtI52BCJnhHUoao,6273
322
321
  lionagi/operations/brainstorm/prompt.py,sha256=95t8SEEzaaEj0x0l5H5HsWaHSiPn-YqH9GaxaQYX0Dw,459
323
322
  lionagi/operations/plan/__init__.py,sha256=SVqoVmlSGz9lsLztm487H2qOLwgyFxSi2yZ8ubn-bgE,43
324
- lionagi/operations/plan/plan.py,sha256=SzQ2mRDlz1qvVSYpeMQhGvDtyaweuQQlhyJCoLh3w9A,5611
323
+ lionagi/operations/plan/plan.py,sha256=Ui8fFdRNLiD3RJmnKCwfY48yj0Fxxw2LBye0egYttWE,5611
325
324
  lionagi/operations/plan/prompt.py,sha256=ze79yFvZ_mBz4m-nS5ly9IK2PC43xl87_hfbwfj5jkw,763
326
325
  lionagi/operations/select/__init__.py,sha256=dUd-KS1l404_ueYlIQsVNhS9jAqjn5pJbtUEbbh6KlI,49
327
326
  lionagi/operations/select/prompt.py,sha256=wbmuDC96fcQ4LFKjqmeErOQwVRpGWRqcwUeLTWnbeNs,186
328
327
  lionagi/operations/select/select.py,sha256=2lQ8el8bQV1kaUF-r5IBfgaGhD2bvrLd9zwfqvcWYgk,3164
329
328
  lionagi/operations/select/utils.py,sha256=JYx-AwR9m9KyUmCwfNm3NAQ6NKYzc3Ti_mV6_f8G_MI,3258
330
- lionagi/protocols/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
329
+ lionagi/protocols/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
331
330
  lionagi/protocols/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
332
331
  lionagi/protocols/adapters/adapter.py,sha256=pOnp30ND8rGdotJTIItXG9EDwqJuFO9zp5ShyiqPezk,2250
333
332
  lionagi/protocols/adapters/json_adapter.py,sha256=yCt_GgR6WJfjFWBqeCb6HPtJ0slfepBJi8O0VUeEW8Y,936
334
333
  lionagi/protocols/adapters/pandas_adapter.py,sha256=-ypnH2XAROyIjTv9yrzFpPgqwur67hWAOEubI24Ncpk,2679
335
- lionagi/protocols/configs/__init__.py,sha256=8CFN8Lv6F0aJ4Xy7pslnpNTe18dBFaddvzOrAsZuOp0,383
336
- lionagi/protocols/configs/branch_config.py,sha256=gUcbT0l1lh2wMoiM1RvmBYma3YdhrsF-oso3cbb9hbU,2727
334
+ lionagi/protocols/configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
335
+ lionagi/protocols/configs/branch_config.py,sha256=ypsIQycjDSTcGxAfp1k3gSnkvuFJOCJxdUY2ZloRTb4,2727
337
336
  lionagi/protocols/configs/id_config.py,sha256=hkYNorTUfgD3t-kGCQuxi6RGIqsUAn-0RXXxzGCiXxs,360
338
- lionagi/protocols/configs/imodel_config.py,sha256=WEelayVt3GbgDgna-EjgQlXgJZzQOx1AlGcMrWJ2OBg,2317
339
- lionagi/protocols/configs/log_config.py,sha256=ZPi_D2DFyVTgzoA2yEfqWXkpB0bdkf9dHZstqeNkWAE,2995
337
+ lionagi/protocols/configs/imodel_config.py,sha256=ctZ9RisIEJe-EpwXg-co15MY4UEvHBmAVQokfSHe4Cc,2317
338
+ lionagi/protocols/configs/log_config.py,sha256=Zfrh0DTem-PrTHgXyFepXsz34bEwlwH5I59iqSekqGY,2995
340
339
  lionagi/protocols/configs/retry_config.py,sha256=pZwV-iV7YoyPpJgSJTbIXYjOKQjzudnZ7dsSOuy3ZSw,843
341
- lionagi/protocols/operatives/__init__.py,sha256=SZElTB0uORZ8EvGpSf6thJGCbKgKjiKx9Bl8zbBUfYM,350
342
- lionagi/protocols/operatives/action.py,sha256=BtV9MY544TxXLxskyC1Hj8Rz1dxbfcSpmFW5p8nxlIg,4741
343
- lionagi/protocols/operatives/instruct.py,sha256=ZTxaFep2XUtv2Dgb3hwD4qf-IVPKHrBHsvXHYPJxcak,5198
344
- lionagi/protocols/operatives/operative.py,sha256=ejoOBEnxUOgPx_tj-cAm_al-mH3MWF5D5sXJ0SAlDGM,7111
345
- lionagi/protocols/operatives/prompts.py,sha256=1H22Xyv-HQzaZq54v10d_iwdLR7hy5X4lobBdU2aXZY,8871
346
- lionagi/protocols/operatives/reason.py,sha256=rVTMuDzwqSr3wYXsPXYY5pU7iQNy9qeBkcYGZN-Z-ZU,1328
347
- lionagi/protocols/operatives/step.py,sha256=gX-ahLbsaHPvrIINnOH19IUx2BBXt14n1GpMjeSaZ2I,8652
348
- lionagi/protocols/registries/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
349
- lionagi/protocols/registries/_component_registry.py,sha256=MRA8bAgmjqNsFUnzq1I7JuqOGQa1WZrkzWeHq59pY_I,453
350
- lionagi/protocols/registries/_pile_registry.py,sha256=iHiQsd0dapzu7L2YA-VPo7qAw6gjWdDETKe_zh1zhHk,543
351
- lionagi/service/__init__.py,sha256=xuMab03l9QSeBmq0GXjkTE-Oh2R10l0aful5swKrjas,296
340
+ lionagi/protocols/configs/types.py,sha256=8CFN8Lv6F0aJ4Xy7pslnpNTe18dBFaddvzOrAsZuOp0,383
341
+ lionagi/protocols/operatives/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
342
+ lionagi/protocols/operatives/action.py,sha256=cWIyehhB750Sp1w9jPTV-DXcQRLhCFNp2TXHysQvGLU,4854
343
+ lionagi/protocols/operatives/instruct.py,sha256=WRtFi-bxgmymVNBU-nw6wpM2qcWcU7btCf2MFEC3Pq8,5311
344
+ lionagi/protocols/operatives/operative.py,sha256=jGsnPSn7LeJE9H-fGjHYIY2N_QgclZpmch8tlshUMcg,6620
345
+ lionagi/protocols/operatives/prompts.py,sha256=-ZGLS1Cbv1ll9-I-GIyAuqT01PRMwOhxcn4z3Ek3ibA,8984
346
+ lionagi/protocols/operatives/reason.py,sha256=i5iIr0xdMISbrJ_u6fQO4MZy0aceX8nYcETVfHILh-8,1441
347
+ lionagi/protocols/operatives/step.py,sha256=ePFmRyuJ0v_X9BVgzkFAv8afqnic6Zmjt4MGzlCeLpk,8155
348
+ lionagi/protocols/operatives/types.py,sha256=SPFX2EHHoJF2ZMgxoJrNlf02QlcAk7ijup6kY5GhrK0,463
349
+ lionagi/protocols/registries/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
350
+ lionagi/protocols/registries/_component_registry.py,sha256=C04oie1-CQJCoXsjZ6hYAIMRySriAFzROA9CPfO0Isg,566
351
+ lionagi/protocols/registries/_pile_registry.py,sha256=l2RbkjW6OGOHsgPIq9OitIi27r8Fk0vziMI8N_tP3nQ,656
352
+ lionagi/service/__init__.py,sha256=AQS0ezBCtjZOUbT_QEH-Ev5l41-Pk0_KgmKHUgf_Y_A,375
352
353
  lionagi/service/complete_request_info.py,sha256=V9cWqmQ-fo952EWCooAvezaM_xuxYU4Xy0Jo_0XJnug,301
353
- lionagi/service/imodel.py,sha256=gObNmi7tTOZRS639YuAtB1oy8XcXIZUusZJ815LAGm0,3758
354
+ lionagi/service/imodel.py,sha256=laiwc4FvO0jHpf7Q9GrL0VIABCIInkn0ld8XUcbabKo,4191
354
355
  lionagi/service/rate_limiter.py,sha256=1cCtKfpOo_8h4ZN-oX5HXtnq0iGjF1rxi8htyu65kMU,3746
355
- lionagi/service/service.py,sha256=uN9mBrZeV-MDOovqNU4kjRjOhGVtxJOJKTgYNO0QDuc,986
356
- lionagi/service/service_match_util.py,sha256=Re2zJgqsBV9LnDcn5N9pUGMQB_O8-jCTR3ZH6-nxFds,4301
356
+ lionagi/service/service.py,sha256=58FPZzLM85fNm4WgSzmZRwbHHuLUW1K0VagKZ7A2ZAs,1077
357
+ lionagi/service/service_match_util.py,sha256=gjGzfQeQqkyxMrKx8aINS47r3Pmugbcx8JjmvbEBg7Y,4305
357
358
  lionagi/service/service_util.py,sha256=z0tU_wAgWq_gDfm_QeNfDbrsmseumoNxVQ1bEpOCBzg,2985
358
359
  lionagi/service/token_calculator.py,sha256=6FQ7GvCq4nBo_7QbNyekYJmQrVIzL0CNwiztK3QSR3M,1486
359
360
  lionagi/strategies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
360
- lionagi/strategies/base.py,sha256=xDsX5-LOypAJ65F1_Tk9Gqows7DFxgL_xoXvNUC7OwU,1723
361
- lionagi/strategies/concurrent.py,sha256=_prVllDu6WRreUn9nqBHclOXf8NrvfrewTAqH2nGLwI,2592
362
- lionagi/strategies/concurrent_chunk.py,sha256=NhJBbt83pQvhS9GDyRknr9PprGGb2KcPEQZhQdDj5Ro,1582
363
- lionagi/strategies/concurrent_sequential_chunk.py,sha256=eTOdbOIlkfwiX-CYyEtJ9_-o0F6I19ORN7IyIQxrzIE,3529
364
- lionagi/strategies/params.py,sha256=aHfeoaOiyIYx-CXbbo_NbWdyoeC4kU8lzpBPMT2N4So,4826
361
+ lionagi/strategies/base.py,sha256=l8ZQDHOW9eWrWJrsQFvci3PKuog9S697ulwO3o-y30M,1711
362
+ lionagi/strategies/concurrent.py,sha256=mrpRfxIxsC0u7JCx2P39Kcnlp7x20cLAdFD4k03hETw,2657
363
+ lionagi/strategies/concurrent_chunk.py,sha256=V4Ydg4IWe91OXLJAxc3yhQN8gVySj3tpotwvmeOQxmY,1612
364
+ lionagi/strategies/concurrent_sequential_chunk.py,sha256=iN0tPj5II1vg1XvM1--zi1hgALi1mz1GTjfLs1v8a1w,3558
365
+ lionagi/strategies/params.py,sha256=KsPtRcX-tM1aphyfLZdDnjnkT6fZHQ5ZewWtf4_Ch4U,4859
365
366
  lionagi/strategies/sequential.py,sha256=pd6MQwCeHDJzC9cNwC6LDtPmrutD_gAo46sOlO_CJR0,822
366
367
  lionagi/strategies/sequential_chunk.py,sha256=jG_WZXG-Ra3yd30CmX4b3XeCNAUrZGA2-i8pSPZGZy0,3032
367
368
  lionagi/strategies/sequential_concurrent_chunk.py,sha256=H7GShaqYlD5XxNJMG2GdOR4Vl8JHDhZb5jxNq8zY0hI,3365
368
369
  lionagi/strategies/types.py,sha256=fEvE4d1H4SeCcXcd2dz3q4k8jFIBtxYzjxDN7eJRLtI,769
369
370
  lionagi/strategies/utils.py,sha256=DX1dvxia8cNRqEJJbssJ3mgRzo7kgWCTA4y5DYLCCZE,1281
370
- lionagi-0.5.0.dist-info/METADATA,sha256=OuNuC0O5DostwQRd5b2H11jASoX_tKE7Q-fuzXRGC-U,17275
371
- lionagi-0.5.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
372
- lionagi-0.5.0.dist-info/licenses/LICENSE,sha256=VXFWsdoN5AAknBCgFqQNgPWYx7OPp-PFEP961zGdOjc,11288
373
- lionagi-0.5.0.dist-info/RECORD,,
371
+ lionagi-0.5.2.dist-info/METADATA,sha256=V8Q9Mtjss6_gk1rH4myIQa-HMUw66XV4S3GRa54p9WY,22736
372
+ lionagi-0.5.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
373
+ lionagi-0.5.2.dist-info/licenses/LICENSE,sha256=VXFWsdoN5AAknBCgFqQNgPWYx7OPp-PFEP961zGdOjc,11288
374
+ lionagi-0.5.2.dist-info/RECORD,,
@@ -1,15 +0,0 @@
1
- # Copyright (c) 2023 - 2024, HaiyangLi <quantocean.li at gmail dot com>
2
- #
3
- # SPDX-License-Identifier: Apache-2.0
4
-
5
- from pydantic import BaseModel
6
-
7
-
8
- class LionIDConfig(BaseModel):
9
- n: int
10
- random_hyphen: bool
11
- num_hyphens: int
12
- hyphen_start_index: int
13
- hyphen_end_index: int
14
- prefix: str = "ln"
15
- postfix: str = ""