lionagi 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- lionagi/core/agent/base_agent.py +2 -3
- lionagi/core/branch/base.py +1 -1
- lionagi/core/branch/branch.py +2 -1
- lionagi/core/branch/flow_mixin.py +1 -1
- lionagi/core/branch/util.py +1 -1
- lionagi/core/execute/base_executor.py +1 -4
- lionagi/core/execute/branch_executor.py +66 -3
- lionagi/core/execute/instruction_map_executor.py +48 -0
- lionagi/core/execute/neo4j_executor.py +381 -0
- lionagi/core/execute/structure_executor.py +99 -3
- lionagi/core/flow/monoflow/ReAct.py +18 -18
- lionagi/core/flow/monoflow/chat_mixin.py +1 -1
- lionagi/core/flow/monoflow/followup.py +11 -12
- lionagi/core/flow/polyflow/__init__.py +1 -1
- lionagi/core/generic/component.py +0 -2
- lionagi/core/generic/condition.py +1 -1
- lionagi/core/generic/edge.py +52 -0
- lionagi/core/mail/mail_manager.py +3 -2
- lionagi/core/session/session.py +1 -1
- lionagi/experimental/__init__.py +0 -0
- lionagi/experimental/directive/__init__.py +0 -0
- lionagi/experimental/directive/evaluator/__init__.py +0 -0
- lionagi/experimental/directive/evaluator/ast_evaluator.py +115 -0
- lionagi/experimental/directive/evaluator/base_evaluator.py +202 -0
- lionagi/experimental/directive/evaluator/sandbox_.py +14 -0
- lionagi/experimental/directive/evaluator/script_engine.py +83 -0
- lionagi/experimental/directive/parser/__init__.py +0 -0
- lionagi/experimental/directive/parser/base_parser.py +215 -0
- lionagi/experimental/directive/schema.py +36 -0
- lionagi/experimental/directive/template_/__init__.py +0 -0
- lionagi/experimental/directive/template_/base_template.py +63 -0
- lionagi/experimental/tool/__init__.py +0 -0
- lionagi/experimental/tool/function_calling.py +43 -0
- lionagi/experimental/tool/manual.py +66 -0
- lionagi/experimental/tool/schema.py +59 -0
- lionagi/experimental/tool/tool_manager.py +138 -0
- lionagi/experimental/tool/util.py +16 -0
- lionagi/experimental/work/__init__.py +0 -0
- lionagi/experimental/work/_logger.py +25 -0
- lionagi/experimental/work/exchange.py +0 -0
- lionagi/experimental/work/schema.py +30 -0
- lionagi/experimental/work/tests.py +72 -0
- lionagi/experimental/work/util.py +0 -0
- lionagi/experimental/work/work_function.py +89 -0
- lionagi/experimental/work/worker.py +12 -0
- lionagi/integrations/bridge/autogen_/__init__.py +0 -0
- lionagi/integrations/bridge/autogen_/autogen_.py +124 -0
- lionagi/integrations/bridge/llamaindex_/get_index.py +294 -0
- lionagi/integrations/bridge/llamaindex_/llama_pack.py +227 -0
- lionagi/integrations/bridge/transformers_/__init__.py +0 -0
- lionagi/integrations/bridge/transformers_/install_.py +36 -0
- lionagi/integrations/config/oai_configs.py +1 -1
- lionagi/integrations/config/ollama_configs.py +1 -1
- lionagi/integrations/config/openrouter_configs.py +1 -1
- lionagi/integrations/storage/__init__.py +3 -0
- lionagi/integrations/storage/neo4j.py +673 -0
- lionagi/integrations/storage/storage_util.py +289 -0
- lionagi/integrations/storage/to_csv.py +63 -0
- lionagi/integrations/storage/to_excel.py +67 -0
- lionagi/libs/ln_knowledge_graph.py +405 -0
- lionagi/libs/ln_queue.py +101 -0
- lionagi/libs/ln_tokenizer.py +57 -0
- lionagi/libs/sys_util.py +1 -1
- lionagi/lions/__init__.py +0 -0
- lionagi/lions/coder/__init__.py +0 -0
- lionagi/lions/coder/add_feature.py +20 -0
- lionagi/lions/coder/base_prompts.py +22 -0
- lionagi/lions/coder/coder.py +121 -0
- lionagi/lions/coder/util.py +91 -0
- lionagi/lions/researcher/__init__.py +0 -0
- lionagi/lions/researcher/data_source/__init__.py +0 -0
- lionagi/lions/researcher/data_source/finhub_.py +191 -0
- lionagi/lions/researcher/data_source/google_.py +199 -0
- lionagi/lions/researcher/data_source/wiki_.py +96 -0
- lionagi/lions/researcher/data_source/yfinance_.py +21 -0
- lionagi/tests/libs/test_queue.py +67 -0
- lionagi/tests/test_core/test_branch.py +0 -1
- lionagi/version.py +1 -1
- {lionagi-0.1.0.dist-info → lionagi-0.1.1.dist-info}/METADATA +1 -1
- {lionagi-0.1.0.dist-info → lionagi-0.1.1.dist-info}/RECORD +83 -29
- {lionagi-0.1.0.dist-info → lionagi-0.1.1.dist-info}/LICENSE +0 -0
- {lionagi-0.1.0.dist-info → lionagi-0.1.1.dist-info}/WHEEL +0 -0
- {lionagi-0.1.0.dist-info → lionagi-0.1.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,96 @@
|
|
1
|
+
class WikipediaSearch:
|
2
|
+
"""
|
3
|
+
A utility class for searching and retrieving information from Wikipedia.
|
4
|
+
Methods:
|
5
|
+
query(query: str, lang: str = 'en'):
|
6
|
+
Search for a query on Wikipedia and retrieve relevant information.
|
7
|
+
"""
|
8
|
+
|
9
|
+
# @staticmethod
|
10
|
+
def create_agent(verbose=False):
|
11
|
+
from lionagi.libs import SysUtil
|
12
|
+
|
13
|
+
SysUtil.check_import(package_name="llama_index", pip_name="llama-index")
|
14
|
+
|
15
|
+
SysUtil.check_import(
|
16
|
+
package_name="llama_index",
|
17
|
+
module_name="agent.openai",
|
18
|
+
import_name="OpenAIAgent",
|
19
|
+
pip_name="llama-index-agent-openai",
|
20
|
+
)
|
21
|
+
|
22
|
+
SysUtil.check_import(
|
23
|
+
package_name="llama_index",
|
24
|
+
module_name="tools.wikipedia",
|
25
|
+
import_name="WikipediaToolSpec",
|
26
|
+
pip_name="llama-index-tools-wikipedia",
|
27
|
+
)
|
28
|
+
|
29
|
+
from llama_index.tools.wikipedia import WikipediaToolSpec
|
30
|
+
from llama_index.agent.openai import OpenAIAgent
|
31
|
+
from llama_index.llms.openai import OpenAI
|
32
|
+
|
33
|
+
llm = OpenAI(model="gpt-4-turbo", temperature=0.1)
|
34
|
+
|
35
|
+
tool_spec = WikipediaToolSpec()
|
36
|
+
|
37
|
+
agent = OpenAIAgent.from_tools(
|
38
|
+
tool_spec.to_tool_list(), verbose=verbose, llm=llm
|
39
|
+
)
|
40
|
+
return agent
|
41
|
+
|
42
|
+
|
43
|
+
# responses_wiki = []
|
44
|
+
# async def query_wiki(query: str):
|
45
|
+
# """
|
46
|
+
# Search Wikipedia and retrieve a natural language answer to a given query.
|
47
|
+
|
48
|
+
# Args:
|
49
|
+
# query (str): The search query to find an answer for.
|
50
|
+
|
51
|
+
# Returns:
|
52
|
+
# str: A natural language answer obtained from Google search results.
|
53
|
+
|
54
|
+
# Raises:
|
55
|
+
# Exception: If there is an issue with making the request or parsing the response.
|
56
|
+
# """
|
57
|
+
# wiki_agent = WikipediaSearch.create_agent()
|
58
|
+
# response = await wiki_agent.achat(query)
|
59
|
+
# responses_wiki.append(response)
|
60
|
+
# return str(response.response)
|
61
|
+
|
62
|
+
|
63
|
+
# @staticmethod
|
64
|
+
# def query(query: str, lang: str = 'en'):
|
65
|
+
# """
|
66
|
+
# Search for a query on Wikipedia and retrieve relevant information.
|
67
|
+
|
68
|
+
# Args:
|
69
|
+
# query (str): The query to search for on Wikipedia.
|
70
|
+
# lang (str, optional): The language for the Wikipedia search. Default is 'en' (English).
|
71
|
+
|
72
|
+
# Returns:
|
73
|
+
# str: The retrieved information from Wikipedia or an error message if no results are found.
|
74
|
+
|
75
|
+
# Raises:
|
76
|
+
# WikipediaException: If there is an issue during the Wikipedia search or content retrieval.
|
77
|
+
# """
|
78
|
+
# import lionagi.lions.searcher.wikipedia as wikipedia
|
79
|
+
# from llama_index import Document, VectorStoreIndex
|
80
|
+
|
81
|
+
# wikipedia.set_lang(lang)
|
82
|
+
|
83
|
+
# res = wikipedia.search(query, results=1)
|
84
|
+
# if len(res) == 0:
|
85
|
+
# return "No search results."
|
86
|
+
# try:
|
87
|
+
# wikipedia_page = wikipedia.page(res[0], auto_suggest=False)
|
88
|
+
# except wikipedia.PageError:
|
89
|
+
# return f"Unable to load page {res[0]}."
|
90
|
+
# content = wikipedia_page.content
|
91
|
+
|
92
|
+
# documents = [Document(text=content)]
|
93
|
+
# index = VectorStoreIndex.from_documents(documents)
|
94
|
+
# query_engine = index.as_query_engine()
|
95
|
+
# response = query_engine.query(query)
|
96
|
+
# return response.response
|
@@ -0,0 +1,21 @@
|
|
1
|
+
def get_stock_prices(symbol, **kwargs):
|
2
|
+
"""
|
3
|
+
Fetch historical stock prices for a given symbol using Yahoo Finance.
|
4
|
+
Args:
|
5
|
+
symbol (str): The stock symbol to retrieve data for, e.g., 'AAPL' for Apple Inc.
|
6
|
+
**kwargs: Additional keyword arguments to customize the query, such as 'start', 'end', 'period', etc.
|
7
|
+
Returns:
|
8
|
+
pandas.DataFrame: A DataFrame containing historical stock price data for the specified symbol.
|
9
|
+
Note:
|
10
|
+
- The 'symbol' parameter should be a valid stock symbol recognized by Yahoo Finance.
|
11
|
+
- You can customize the query further by providing keyword arguments, such as 'start' and 'end' to specify a date range.
|
12
|
+
- For a full list of available keyword arguments, refer to the Yahoo Finance API documentation.
|
13
|
+
"""
|
14
|
+
from lionagi.libs import SysUtil
|
15
|
+
|
16
|
+
SysUtil.check_import("yfinance")
|
17
|
+
from yfinance import Ticker
|
18
|
+
|
19
|
+
stock = Ticker(symbol)
|
20
|
+
hist = stock.history(**kwargs)
|
21
|
+
return hist
|
@@ -0,0 +1,67 @@
|
|
1
|
+
import asyncio
|
2
|
+
import unittest
|
3
|
+
from unittest.mock import patch
|
4
|
+
from lionagi.libs.ln_queue import AsyncQueue
|
5
|
+
|
6
|
+
|
7
|
+
class TestAsyncQueue(unittest.TestCase):
|
8
|
+
def setUp(self):
|
9
|
+
self.loop = asyncio.new_event_loop()
|
10
|
+
asyncio.set_event_loop(self.loop)
|
11
|
+
self.queue = AsyncQueue(max_concurrent_tasks=3)
|
12
|
+
|
13
|
+
def tearDown(self):
|
14
|
+
self.loop.close()
|
15
|
+
|
16
|
+
def test_enqueue_dequeue(self):
|
17
|
+
async def test():
|
18
|
+
await self.queue.enqueue("task1")
|
19
|
+
result = await self.queue.dequeue()
|
20
|
+
self.assertEqual(result, "task1")
|
21
|
+
|
22
|
+
self.loop.run_until_complete(test())
|
23
|
+
|
24
|
+
def test_stop(self):
|
25
|
+
async def test():
|
26
|
+
await self.queue.stop()
|
27
|
+
self.assertTrue(self.queue.stopped())
|
28
|
+
|
29
|
+
self.loop.run_until_complete(test())
|
30
|
+
|
31
|
+
@patch("lionagi.libs.ln_func_call.rcall", autospec=True)
|
32
|
+
def test_process_requests(self, mock_rcall):
|
33
|
+
future = asyncio.Future()
|
34
|
+
future.set_result("Processed successfully")
|
35
|
+
mock_rcall.return_value = future
|
36
|
+
|
37
|
+
async def processor(task):
|
38
|
+
return f"Processed {task}"
|
39
|
+
|
40
|
+
async def add_tasks():
|
41
|
+
for i in range(5):
|
42
|
+
await self.queue.enqueue(f"task{i}")
|
43
|
+
# This ensures that the queue stops after all tasks are added
|
44
|
+
await self.queue.stop()
|
45
|
+
|
46
|
+
async def process():
|
47
|
+
await self.queue.process_requests(processor, retry_kwargs={"retries": 2})
|
48
|
+
|
49
|
+
self.loop.create_task(add_tasks())
|
50
|
+
self.loop.run_until_complete(process())
|
51
|
+
# mock_rcall.assert_called()
|
52
|
+
|
53
|
+
def test_concurrency_limit(self):
|
54
|
+
async def add_tasks():
|
55
|
+
for i in range(10):
|
56
|
+
await self.queue.enqueue(f"task{i}")
|
57
|
+
|
58
|
+
async def process():
|
59
|
+
await asyncio.sleep(0.1)
|
60
|
+
await self.queue.stop()
|
61
|
+
|
62
|
+
self.loop.run_until_complete(add_tasks())
|
63
|
+
self.loop.run_until_complete(process())
|
64
|
+
|
65
|
+
|
66
|
+
if __name__ == "__main__":
|
67
|
+
unittest.main()
|
lionagi/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.1.
|
1
|
+
__version__ = "0.1.1"
|
@@ -1,14 +1,14 @@
|
|
1
1
|
lionagi/__init__.py,sha256=i6Ci7FebU2s4EVVnBFj1Dsi5RvP80JqeSqW-iripRPg,418
|
2
|
-
lionagi/version.py,sha256=
|
2
|
+
lionagi/version.py,sha256=rnObPjuBcEStqSO0S6gsdS_ot8ITOQjVj_-P1LUUYpg,22
|
3
3
|
lionagi/core/__init__.py,sha256=IC9rZ8-9LuOPmJL9k6K6Geqi9jdURDUTsgC_h58O_MY,484
|
4
4
|
lionagi/core/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
-
lionagi/core/agent/base_agent.py,sha256=
|
5
|
+
lionagi/core/agent/base_agent.py,sha256=DFi7PWqfwiUiuZXzBIiy949l-LK3z0GaW_y7j-V_a7c,2881
|
6
6
|
lionagi/core/branch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
-
lionagi/core/branch/base.py,sha256=
|
8
|
-
lionagi/core/branch/branch.py,sha256=
|
7
|
+
lionagi/core/branch/base.py,sha256=cwQmgnjBFVfmlk617J6ic7lhmWblk5egQYGHnVFach8,22169
|
8
|
+
lionagi/core/branch/branch.py,sha256=JeZGjpC6CfysJsWlXxtf99MsuiOtmvqSdYjo7yvqELw,18010
|
9
9
|
lionagi/core/branch/executable_branch.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
-
lionagi/core/branch/flow_mixin.py,sha256=
|
11
|
-
lionagi/core/branch/util.py,sha256=
|
10
|
+
lionagi/core/branch/flow_mixin.py,sha256=Y-1_RrtWKXfSo6tNxjwP7B8CnkXGJQwEgF5OVxYwU74,2582
|
11
|
+
lionagi/core/branch/util.py,sha256=os7Qp7HpDfyyCvdkbBTyIQ3AYHfzUP0M684W4XMDHN4,11813
|
12
12
|
lionagi/core/direct/__init__.py,sha256=5cIJ81ipDljFymfbTfXT9bfFSxzkHix6NPL5JJGRGPQ,345
|
13
13
|
lionagi/core/direct/cot.py,sha256=Y05dVCxkSyMzxsjWxgaQJyusvZ4N4dFyE11z9Em7R40,3189
|
14
14
|
lionagi/core/direct/plan.py,sha256=zexb-DwhlzN5ECcjtHSX14HTjC20bNxP_JstX3mdKHw,4038
|
@@ -20,19 +20,20 @@ lionagi/core/direct/sentiment.py,sha256=rNwBs-I2XICOwsXxFvfM1Tlc_afsVcRCNCXCxfxm
|
|
20
20
|
lionagi/core/direct/utils.py,sha256=1bYOGVClMneEN7x1BWmxxTtZiqlnLFuREizhDVcqLYg,3020
|
21
21
|
lionagi/core/direct/vote.py,sha256=rchs7H07v7rDmJknJdQKFfCru7FPbTgN-0g2_zTIhs0,2487
|
22
22
|
lionagi/core/execute/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
23
|
-
lionagi/core/execute/base_executor.py,sha256=
|
24
|
-
lionagi/core/execute/branch_executor.py,sha256=
|
25
|
-
lionagi/core/execute/instruction_map_executor.py,sha256=
|
26
|
-
lionagi/core/execute/
|
23
|
+
lionagi/core/execute/base_executor.py,sha256=yMdyCT3l3XZFnXnTFJ2fxid4m4uMGBXlQdjF9hXYMKA,1551
|
24
|
+
lionagi/core/execute/branch_executor.py,sha256=TjY6B9dCwrxHSvutt2CIhtMgCQ2f3HV3thYpNzgRqYA,11141
|
25
|
+
lionagi/core/execute/instruction_map_executor.py,sha256=5OxWiiAn7WDh9KS3Geu6I4EKAEiclx2J0kCMDPeJRqA,7694
|
26
|
+
lionagi/core/execute/neo4j_executor.py,sha256=IB7aYMUGNUuqD24pksQVdQSpezLw7xujTceLMaW8ijo,15254
|
27
|
+
lionagi/core/execute/structure_executor.py,sha256=EuF6rT4_fKJoGq8AIv9trqsdnlZR71b6asCUI1AcPcY,12151
|
27
28
|
lionagi/core/flow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
28
29
|
lionagi/core/flow/baseflow.py,sha256=rbxDYfBCUt0ctja4zN85Y6sAh7BznR3MxteP4xa9izw,396
|
29
30
|
lionagi/core/flow/mono_chat_mixin.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
30
|
-
lionagi/core/flow/monoflow/ReAct.py,sha256=
|
31
|
+
lionagi/core/flow/monoflow/ReAct.py,sha256=ULzIJmYVvRwOgqINeCM2tzfOvbnelgyKeAIlBrcfzNg,9585
|
31
32
|
lionagi/core/flow/monoflow/__init__.py,sha256=naNpq-RWnNfVytUgn61xbRYe8Pt0qz8jYy_CRrpUojw,159
|
32
33
|
lionagi/core/flow/monoflow/chat.py,sha256=J2TgZT7FEYf_bHjJk6gNeZAN2tNg1CG8WVwoUDSFV6M,3239
|
33
|
-
lionagi/core/flow/monoflow/chat_mixin.py,sha256=
|
34
|
-
lionagi/core/flow/monoflow/followup.py,sha256=
|
35
|
-
lionagi/core/flow/polyflow/__init__.py,sha256=
|
34
|
+
lionagi/core/flow/monoflow/chat_mixin.py,sha256=cifIlJvAOYR9021EMc1aDZ5KlrtfOZuXGOs9LZ0Hf-0,8393
|
35
|
+
lionagi/core/flow/monoflow/followup.py,sha256=NMecy2b5443lIAqH4qfxnJDwVjF4ZqvmqQWjcdCgvts,8886
|
36
|
+
lionagi/core/flow/polyflow/__init__.py,sha256=Ti4HTyIagaZa-Mu7DBnid246BuvXtTuGhBdlVfDaBnM,27
|
36
37
|
lionagi/core/flow/polyflow/chat.py,sha256=RWDD_1ox1MzV65SWFrfY23Cx-kOenUX5y5vPveyjGQU,10466
|
37
38
|
lionagi/core/form/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
39
|
lionagi/core/form/action_form.py,sha256=GkOLArXHwjxSVbtXXr_kiPicllOdDzR7gHedvfWPgP4,1034
|
@@ -42,10 +43,10 @@ lionagi/core/form/mixin.py,sha256=naCJDJ-u4F7RndLcHlBbOo0cecr31SiR-Qe9mFZ4l1U,69
|
|
42
43
|
lionagi/core/form/scored_form.py,sha256=96EOKXrHB9MVEhvEY4DPEjC57T1_dTqQ4tZjc8xTk-c,392
|
43
44
|
lionagi/core/generic/__init__.py,sha256=ynRqaY9kId2Z7g77FLU-OjEdwieTbRhEjp9bcBfq7Zk,772
|
44
45
|
lionagi/core/generic/action.py,sha256=a9nToGSkHhOqlBxrN_xD9PSTrhCdXde3TKYL7MKAj8k,712
|
45
|
-
lionagi/core/generic/component.py,sha256=
|
46
|
-
lionagi/core/generic/condition.py,sha256=
|
46
|
+
lionagi/core/generic/component.py,sha256=Ct-OCkOQ94l8LxPeMTezUXcoVP3gjp99DkqdwRP0AJ8,14011
|
47
|
+
lionagi/core/generic/condition.py,sha256=yDJfQ65gcblw7V7XDYAwLBVT7U7_tiwU1z2GD_rNa84,1169
|
47
48
|
lionagi/core/generic/data_logger.py,sha256=1OLTS9CLpXPtxgINEXaZwJB3MSyUmmNFhljhg93BxIQ,11236
|
48
|
-
lionagi/core/generic/edge.py,sha256=
|
49
|
+
lionagi/core/generic/edge.py,sha256=_FB8A50ckrPdDBGyOUmxbOcWU90zPIPFwthzfSO3F7A,5850
|
49
50
|
lionagi/core/generic/mail.py,sha256=KR8IA2ryYpvK0C-GY25xfMboqjKl4Bks4rumuV42SvE,2532
|
50
51
|
lionagi/core/generic/mailbox.py,sha256=wgvAEOLMQXIaYCly8HI7KcF9MdQIl3JKNgwsC-TS4-s,1034
|
51
52
|
lionagi/core/generic/node.py,sha256=8aymSTHKLzXD1veO-bKyUsav9Jv69Z6JBayTrqkeUjQ,9880
|
@@ -58,35 +59,67 @@ lionagi/core/graph/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
|
|
58
59
|
lionagi/core/graph/graph.py,sha256=nsRcxPMIicDR8V9JYbf7Lpc8bPjopnJbx7e0hSpxTcs,3739
|
59
60
|
lionagi/core/graph/tree.py,sha256=nqOauYI_l4rjzQYrCoVqzV_tW2K6OadHwnKdhlPGC8U,5869
|
60
61
|
lionagi/core/mail/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
61
|
-
lionagi/core/mail/mail_manager.py,sha256=
|
62
|
+
lionagi/core/mail/mail_manager.py,sha256=lcMZq3rJbGf4eTa6v3TG9pqDcomDGBdT9KA-ADhKB64,4045
|
62
63
|
lionagi/core/mail/schema.py,sha256=_69QOxwv4s-tbgb6Ao6ocEJq5YcTeV_C8JnsOXRpN8Q,1735
|
63
64
|
lionagi/core/messages/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
64
65
|
lionagi/core/messages/schema.py,sha256=d-Xe2CzExl8Rf5uwrvwxntuxvCtlEniFPl5KKmV7tV8,10577
|
65
66
|
lionagi/core/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
66
|
-
lionagi/core/session/session.py,sha256
|
67
|
+
lionagi/core/session/session.py,sha256=-E_QO3U87JPlgV09Z_TLN_vA9cnH2uTOrvLQHGCW_C0,38111
|
67
68
|
lionagi/core/tool/__init__.py,sha256=zU3nSR6BVvwhNMtijwlH0b_09o_QvKB1I_MmLlu_77c,151
|
68
69
|
lionagi/core/tool/tool.py,sha256=KoQEH8QF6YPRuF_ymwshh45xrEV86s13TyCSY9kA53E,844
|
69
70
|
lionagi/core/tool/tool_manager.py,sha256=v72VJR2a7fysq9zTMzU4Z4PTclasvrCRRPy8_WyCTCM,10667
|
71
|
+
lionagi/experimental/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
72
|
+
lionagi/experimental/directive/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
73
|
+
lionagi/experimental/directive/schema.py,sha256=vGHQqn_ZAMkIfUqqdnPCHN8p-wommVyMBkanWHPuCSI,861
|
74
|
+
lionagi/experimental/directive/evaluator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
75
|
+
lionagi/experimental/directive/evaluator/ast_evaluator.py,sha256=DbBAQsTFUI4_QDOpG7eDcMbWLvkuU9WKYTtO8zYDgJ0,4132
|
76
|
+
lionagi/experimental/directive/evaluator/base_evaluator.py,sha256=lrOPG19tmndgGUAN2TxnyXshitbCZNKOPPhUxEN7a58,8062
|
77
|
+
lionagi/experimental/directive/evaluator/sandbox_.py,sha256=yjq8aznCEBeflus68VVQavy6ChfdIoZeVvPhUx_UzrI,459
|
78
|
+
lionagi/experimental/directive/evaluator/script_engine.py,sha256=7teiwwIPqMdiV0WF2E_ls-D0hLoJmwiFKV5i16s2mFU,3074
|
79
|
+
lionagi/experimental/directive/parser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
80
|
+
lionagi/experimental/directive/parser/base_parser.py,sha256=IcAEJa0kO5Usheb9sa8wfwFFDUw3yGrVFYNx_Fjs9dk,8623
|
81
|
+
lionagi/experimental/directive/template_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
82
|
+
lionagi/experimental/directive/template_/base_template.py,sha256=G5OX6A2Vq4KPTIslp4qb88ySvhZ-C6l2cuGufappaVE,2613
|
83
|
+
lionagi/experimental/tool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
84
|
+
lionagi/experimental/tool/function_calling.py,sha256=dV01uSOr1zAya7H4PE3SjnY-RH3KD4Ht_4AzSj8DqBs,1232
|
85
|
+
lionagi/experimental/tool/manual.py,sha256=vNGgQm6XA_o5jK6QLbXpdaa1Et71X6ozDJRdd-BlfKQ,2569
|
86
|
+
lionagi/experimental/tool/schema.py,sha256=2GMuoQoR1yfqlRM7rqZbR1Bj02HXLvOxl_XrzfbgaBc,1642
|
87
|
+
lionagi/experimental/tool/tool_manager.py,sha256=Kzr4hR7Tif1pLPOq7nNFWPTuCcvhNk52EAcMSOcaadg,4552
|
88
|
+
lionagi/experimental/tool/util.py,sha256=DnlFVtwyGdHyIeKqjiT_U6nUnJOzyrdtY89HIM06tL4,502
|
89
|
+
lionagi/experimental/work/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
90
|
+
lionagi/experimental/work/_logger.py,sha256=CnDNApMsBoXBg-OcBRIES9HmelVd4sQlcQzZ9wHP_1E,900
|
91
|
+
lionagi/experimental/work/exchange.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
92
|
+
lionagi/experimental/work/schema.py,sha256=xl6FKRz_-OjUZHTQHJQ16EKZvHUbkNKHqOgk1zgzjJw,962
|
93
|
+
lionagi/experimental/work/tests.py,sha256=xY6VYCFzkHcH8S-b20U8PjvVf_gkEKINZWTvAm_CVAY,2623
|
94
|
+
lionagi/experimental/work/util.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
95
|
+
lionagi/experimental/work/work_function.py,sha256=VsfD1z34Z8YCi4Zkgw3IMRujja16CleVSGbrgmQev9Q,3145
|
96
|
+
lionagi/experimental/work/worker.py,sha256=MbYXpZzctWyHYqKrek1jJgEr24JgY7pFZVQsCJqyoU8,344
|
70
97
|
lionagi/integrations/__init__.py,sha256=Il5Q9ATdX8yXqVxtP_nYqUhExzxPC_qk_WXQ_4h0exg,16
|
71
98
|
lionagi/integrations/bridge/__init__.py,sha256=ee5IeCkDOD2uhbzqxg_xDxaG-Q3BPPZCYltBjzg2gSs,169
|
99
|
+
lionagi/integrations/bridge/autogen_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
100
|
+
lionagi/integrations/bridge/autogen_/autogen_.py,sha256=D66BIcAI_4AafYHp67TqyNF-lgap6bbOxRHukLpAz2s,4055
|
72
101
|
lionagi/integrations/bridge/langchain_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
73
102
|
lionagi/integrations/bridge/langchain_/documents.py,sha256=jpKtaQFaBDdiLqkrOjXIm-ddJVHb8JOKO-Wjm0SkoqY,4804
|
74
103
|
lionagi/integrations/bridge/langchain_/langchain_bridge.py,sha256=-lnJtyf4iJEwHKQAwBRN6YZ7CTsyFLetl5e8_9UGouY,3163
|
75
104
|
lionagi/integrations/bridge/llamaindex_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
105
|
+
lionagi/integrations/bridge/llamaindex_/get_index.py,sha256=v7bJ0pa-3eUtFJsL_DWox-YOTX_7d1XcA5O6Gwq66fU,11826
|
76
106
|
lionagi/integrations/bridge/llamaindex_/index.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
77
107
|
lionagi/integrations/bridge/llamaindex_/llama_index_bridge.py,sha256=SSnLSIu06xVsghTios01QKGrc2xCq3oC8fVNGO4QkF8,5064
|
108
|
+
lionagi/integrations/bridge/llamaindex_/llama_pack.py,sha256=07hDT7ZlXTOkWg4arRYNqDHBR4NJE5hOmNn52GGtS4o,8397
|
78
109
|
lionagi/integrations/bridge/llamaindex_/node_parser.py,sha256=d8SPD6EMf9bZ6824jjeZOWmwm7BHBZQ0qGq1JnsKh9k,3458
|
79
110
|
lionagi/integrations/bridge/llamaindex_/reader.py,sha256=VxdTk5h3a3_5RQzN15q75XGli52umhz9gLUrKk1Sg90,8235
|
80
111
|
lionagi/integrations/bridge/llamaindex_/textnode.py,sha256=OszGitHZ36zbG4DCGWUnSV6EO7wChEH2VA5M50iBojs,2322
|
81
112
|
lionagi/integrations/bridge/pydantic_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
82
113
|
lionagi/integrations/bridge/pydantic_/pydantic_bridge.py,sha256=TVh7sQX_LKERUvv1nxsA2JICY1S6ptPr3qFqzgHfGCY,87
|
114
|
+
lionagi/integrations/bridge/transformers_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
115
|
+
lionagi/integrations/bridge/transformers_/install_.py,sha256=sRzU6-PS5bq0ntdTM8I5i1M_Tj1yKTlq8rco_6b6QM8,1215
|
83
116
|
lionagi/integrations/chunker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
84
117
|
lionagi/integrations/chunker/chunk.py,sha256=bmkJlu16WXC151h0fh35EtmyDMZ5x1oiAdsVRcn_Ias,5080
|
85
118
|
lionagi/integrations/config/__init__.py,sha256=zzQGZe3H5vofcNWSjjoqe_gqHpCO8Yl7FefmrUpLqnw,133
|
86
119
|
lionagi/integrations/config/mlx_configs.py,sha256=xbostqjnk3aAN-qKyC54YBprHPA38C8YDevXMMEHXWY,44
|
87
|
-
lionagi/integrations/config/oai_configs.py,sha256=
|
88
|
-
lionagi/integrations/config/ollama_configs.py,sha256=
|
89
|
-
lionagi/integrations/config/openrouter_configs.py,sha256=
|
120
|
+
lionagi/integrations/config/oai_configs.py,sha256=WgtARAPM04PDPgadwYlWXGUO-HvmqzSG3mVkvWQ1tso,2774
|
121
|
+
lionagi/integrations/config/ollama_configs.py,sha256=GUn0kagrQA3gpIiaxYyfdi2LAf_Ohz1sVrsAb20OBwo,17
|
122
|
+
lionagi/integrations/config/openrouter_configs.py,sha256=Wn9K_jVI4SWE6EgwtI5UfBO7oL2wpBeZcVxseLVMdlg,1371
|
90
123
|
lionagi/integrations/loader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
91
124
|
lionagi/integrations/loader/load.py,sha256=CX1F5VeoTany58WX_RD8QMoNJWkbWXoPEkvgFK6Tp6I,4559
|
92
125
|
lionagi/integrations/loader/load_util.py,sha256=-MEF3LPomGGyP53WcPHHA9KiKLJekgKRLghmbymWu9o,8338
|
@@ -99,16 +132,36 @@ lionagi/integrations/provider/ollama.py,sha256=dOKqzqjpwYYGw9vGKDVzVh9PAem7oFG09
|
|
99
132
|
lionagi/integrations/provider/openrouter.py,sha256=ZEG2lLbp-qb7r95CFAuPz7EqAdsMuJxMJXfgWhaBHsk,1856
|
100
133
|
lionagi/integrations/provider/services.py,sha256=zLX_C0p1eI5cfxkxlxIVEsU0k_fknhV1-LoXPJZFE4w,5388
|
101
134
|
lionagi/integrations/provider/transformers.py,sha256=E6CTtm7pa3aa0IqYklWvhXz9YWlh3p_lgKaJXYfXeyA,3397
|
135
|
+
lionagi/integrations/storage/__init__.py,sha256=tutRSV4gxeS342sNi4CeEEIkYHVaQUeO8vilPpxMi-g,74
|
136
|
+
lionagi/integrations/storage/neo4j.py,sha256=ajXmLtqDuWhBa1WTwvvlvKgZoiIO00wFbPVdEowTCIE,25785
|
137
|
+
lionagi/integrations/storage/storage_util.py,sha256=zTV5EW2rFGC6sgQHRPrgnpfzP9XAgVr5-5AjDvhabyY,10593
|
138
|
+
lionagi/integrations/storage/to_csv.py,sha256=BS1upr2Qy0Se5JG8nYQHHxmi0OUpKJ1nACbYL5ynNCY,2881
|
139
|
+
lionagi/integrations/storage/to_excel.py,sha256=3BlRyESKca7KghH1Ib6QFnedlc_Fvf9jn2bo6D-jOtI,3095
|
102
140
|
lionagi/libs/__init__.py,sha256=OF_HuVdyTiTx5hkiMqe8oce1J2u7GOKxiVFqCbZW3_I,768
|
103
141
|
lionagi/libs/ln_api.py,sha256=M6VZz2pVySSwknY15kNrgL92u5-RkkbBvQ1msyfYYZ4,34577
|
104
142
|
lionagi/libs/ln_async.py,sha256=fOlFmg2nTYHzFKwJNIPQNJRr_hB7HXRKEhsN7j-XPLg,6074
|
105
143
|
lionagi/libs/ln_convert.py,sha256=_Qfi2hBC9VFRVtxcaIDY_zmMzqXsYGMiKk4bEgj46Gk,23535
|
106
144
|
lionagi/libs/ln_dataframe.py,sha256=d6oJQ1Xk7Mnl8FZj0lBCPf3QdFfPQpPqnnXsiG-ubUI,5539
|
107
145
|
lionagi/libs/ln_func_call.py,sha256=sNaOXuYVLYJvnKzGpDosFCYhmb9XeExRKR80rqwITTM,49096
|
146
|
+
lionagi/libs/ln_knowledge_graph.py,sha256=LZn1MjMKIRSTaaabrfovTVssQgCZuab4tdnxzzOIxpw,14930
|
108
147
|
lionagi/libs/ln_nested.py,sha256=Xu7xiOWLs0n5kwTR8uGXQ380o1-SnCS7SHJZv9chp90,29640
|
109
148
|
lionagi/libs/ln_parse.py,sha256=g5jsbI08np6QUgDRiXj0NND7fbPN8asnTx-ZsM_SYxY,25007
|
149
|
+
lionagi/libs/ln_queue.py,sha256=bX2vjvoveifN8SSI9dk-52C2KCVEFdmQEE6QqdpnxxM,3418
|
150
|
+
lionagi/libs/ln_tokenizer.py,sha256=lnOgxgHUHYqurZ6Ws_a_pS0fjwwUBlMcAYTDj4FNrEE,1784
|
110
151
|
lionagi/libs/ln_validate.py,sha256=qe9dQfsXCrXXVCkAHo789P6wyZrm05BUAcpXLExM1Ao,8404
|
111
|
-
lionagi/libs/sys_util.py,sha256=
|
152
|
+
lionagi/libs/sys_util.py,sha256=Qrq90yrxcGE_Xp8ex1umoIh5uFEWIZIKxnVm8Q1egd4,17353
|
153
|
+
lionagi/lions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
154
|
+
lionagi/lions/coder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
155
|
+
lionagi/lions/coder/add_feature.py,sha256=mLMfz9V9yYbdH6DJs39FOz9IHdhdyPZajocQtQhjgcA,703
|
156
|
+
lionagi/lions/coder/base_prompts.py,sha256=SLpC442nZm2cEkB8o9j28kpkB-WzKLjH6sOTS8CnIrY,367
|
157
|
+
lionagi/lions/coder/coder.py,sha256=196amLoZD9-GAAL7ThhsqdAa5EpQYWnm3qLjAkpvngI,4251
|
158
|
+
lionagi/lions/coder/util.py,sha256=4KQmHk82PzXrgqFQRJEZOqBTIIRjEwUhtuomccmgLew,2689
|
159
|
+
lionagi/lions/researcher/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
160
|
+
lionagi/lions/researcher/data_source/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
161
|
+
lionagi/lions/researcher/data_source/finhub_.py,sha256=X7r6PeI9nnzqI0sJ4FONVLE0VJ4din302EurFxwX5TE,8782
|
162
|
+
lionagi/lions/researcher/data_source/google_.py,sha256=V4tNn--_8k1A0FBPOD0mt5YmNeRg_7CEoWz-WHoJQmo,6675
|
163
|
+
lionagi/lions/researcher/data_source/wiki_.py,sha256=1RrrW-Ko6y0ssQguIYiWTOoZf0oVT4_JB9g9KK1N4-Y,3123
|
164
|
+
lionagi/lions/researcher/data_source/yfinance_.py,sha256=snAf897J69MyAc6fcFjF0irrMjbAh81EZ3RvaFT3hxE,977
|
112
165
|
lionagi/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
113
166
|
lionagi/tests/integrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
114
167
|
lionagi/tests/libs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -119,18 +172,19 @@ lionagi/tests/libs/test_field_validators.py,sha256=ZzIvBsNg8AXzYS-3l-sAf_TEFtaIh
|
|
119
172
|
lionagi/tests/libs/test_func_call.py,sha256=xvs19YBNxqh3RbWLjQXY19L06b1_uZY611J6_JhNgcM,20782
|
120
173
|
lionagi/tests/libs/test_nested.py,sha256=eEcE4BXJEkjoPZsd9-0rUxOJHjmu8W2hgVClUTwXEFY,13106
|
121
174
|
lionagi/tests/libs/test_parse.py,sha256=aa74kfOoJwDU7L7-59EcgBGYc5-OtafPIP2oGTI3Zrk,6814
|
175
|
+
lionagi/tests/libs/test_queue.py,sha256=l71eiLhzPPMl3K8k_Eb55OtdLSWr5spFbDFnM6UaqeA,1989
|
122
176
|
lionagi/tests/libs/test_sys_util.py,sha256=Y-9jxLGxgbFNp78Z0PJyGUjRROMuRAG3Vo3i5LAH8Hs,7849
|
123
177
|
lionagi/tests/test_core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
124
178
|
lionagi/tests/test_core/test_base_branch.py,sha256=QtNbE1eJHkF_3xOO4TFXLa9gmELMLlBaVZ8v3xnoJy4,18628
|
125
|
-
lionagi/tests/test_core/test_branch.py,sha256=
|
179
|
+
lionagi/tests/test_core/test_branch.py,sha256=6F-ZG4M6RgmDNnjhhbX1eKnIftXWr2aeLYRZjFxer-4,11712
|
126
180
|
lionagi/tests/test_core/test_chat_flow.py,sha256=mjG7LV4yora7HG2_rIraxxpMROettQzZs6Eb85vaFS8,2596
|
127
181
|
lionagi/tests/test_core/test_mail_manager.py,sha256=yT7Hw-9BEMIlva8FvFu6843i1fQKbu98q8StLK7TTvo,2887
|
128
182
|
lionagi/tests/test_core/test_prompts.py,sha256=TusAnaw1HGzDe6z26YZDKmMbDpoHK7NDvptCkf56nq4,1757
|
129
183
|
lionagi/tests/test_core/test_session.py,sha256=ErAkQe4ZK2yy6nouc0G6srhj8-1Gw8PAEF3SJ-KY0kc,9335
|
130
184
|
lionagi/tests/test_core/test_session_base_util.py,sha256=S40di_G_XLkOWK_451o4NJ_h543bKur9sajPP_vx8q4,10619
|
131
185
|
lionagi/tests/test_core/test_tool_manager.py,sha256=WwQ2M900f3a76LQQVX7I-wgREj_rwARBnsIIZGqbeW0,3431
|
132
|
-
lionagi-0.1.
|
133
|
-
lionagi-0.1.
|
134
|
-
lionagi-0.1.
|
135
|
-
lionagi-0.1.
|
136
|
-
lionagi-0.1.
|
186
|
+
lionagi-0.1.1.dist-info/LICENSE,sha256=vfczrx-xFNkybZ7Ef-lGUnA1Vorky6wL4kwb1Fd5o3I,1089
|
187
|
+
lionagi-0.1.1.dist-info/METADATA,sha256=2R0U1TwSEPxxYmYUGwXAKbwO5px9F0KYfP_96Gsz7cg,7932
|
188
|
+
lionagi-0.1.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
189
|
+
lionagi-0.1.1.dist-info/top_level.txt,sha256=szvch_d2jE1Lu9ZIKsl26Ll6BGfYfbOgt5lm-UpFSo4,8
|
190
|
+
lionagi-0.1.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|