lionagi 0.10.3__py3-none-any.whl → 0.10.5__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.
- lionagi/fields/__init__.py +3 -2
- lionagi/fields/code.py +236 -0
- lionagi/fields/file.py +106 -53
- lionagi/fields/reason.py +3 -3
- lionagi/fields/research.py +49 -0
- lionagi/libs/token_transform/symbolic_compress_context.py +1 -1
- lionagi/version.py +1 -1
- {lionagi-0.10.3.dist-info → lionagi-0.10.5.dist-info}/METADATA +1 -1
- {lionagi-0.10.3.dist-info → lionagi-0.10.5.dist-info}/RECORD +11 -9
- {lionagi-0.10.3.dist-info → lionagi-0.10.5.dist-info}/WHEEL +0 -0
- {lionagi-0.10.3.dist-info → lionagi-0.10.5.dist-info}/licenses/LICENSE +0 -0
lionagi/fields/__init__.py
CHANGED
@@ -7,7 +7,7 @@ from .base import (
|
|
7
7
|
Source,
|
8
8
|
TextSnippet,
|
9
9
|
)
|
10
|
-
from .file import
|
10
|
+
from .file import Documentation, File, Module, ResearchSummary
|
11
11
|
from .instruct import Instruct, InstructResponse
|
12
12
|
from .reason import Reason
|
13
13
|
|
@@ -21,7 +21,8 @@ __all__ = (
|
|
21
21
|
"OutlineItem",
|
22
22
|
"Outline",
|
23
23
|
"File",
|
24
|
-
"
|
24
|
+
"Module",
|
25
|
+
"ResearchSummary",
|
25
26
|
"Documentation",
|
26
27
|
"Instruct",
|
27
28
|
"InstructResponse",
|
lionagi/fields/code.py
ADDED
@@ -0,0 +1,236 @@
|
|
1
|
+
from enum import Enum
|
2
|
+
|
3
|
+
from pydantic import Field
|
4
|
+
|
5
|
+
from lionagi.models import HashableModel
|
6
|
+
|
7
|
+
__all__ = (
|
8
|
+
"ParameterKind",
|
9
|
+
"Parameter",
|
10
|
+
"Decorator",
|
11
|
+
"Import",
|
12
|
+
"Attribute",
|
13
|
+
"Function",
|
14
|
+
"Method",
|
15
|
+
"Class",
|
16
|
+
"Module",
|
17
|
+
)
|
18
|
+
|
19
|
+
|
20
|
+
class ParameterKind(str, Enum):
|
21
|
+
"""
|
22
|
+
Distinguishes how a function/method parameter is used.
|
23
|
+
Primarily inspired by Python's param categories, but can be ignored by simpler languages.
|
24
|
+
Pay attention to the languege's own conventions for parameter handling.
|
25
|
+
"""
|
26
|
+
|
27
|
+
POSITIONAL_ONLY = "positional_only" # E.g. Python's '/'-based params
|
28
|
+
POSITIONAL_OR_KEYWORD = "positional_or_keyword" # Default for many
|
29
|
+
VAR_POSITIONAL = "var_positional" # *args-like
|
30
|
+
KEYWORD_ONLY = "keyword_only" # Python's '*' marker
|
31
|
+
VAR_KEYWORD = "var_keyword" # **kwargs-like
|
32
|
+
|
33
|
+
|
34
|
+
class Parameter(HashableModel):
|
35
|
+
"""
|
36
|
+
Represents one parameter in a function or method signature.
|
37
|
+
"""
|
38
|
+
|
39
|
+
name: str = Field(
|
40
|
+
...,
|
41
|
+
description="Exact identifier for the parameter (e.g., 'user_id', 'self', 'arg').",
|
42
|
+
)
|
43
|
+
type: str | None = Field(
|
44
|
+
default=None,
|
45
|
+
description=(
|
46
|
+
"Type annotation as a string (e.g., 'str', 'int', 'SomeClass'). None if untyped or not declared."
|
47
|
+
),
|
48
|
+
)
|
49
|
+
default_value_repr: str | None = Field(
|
50
|
+
default=None,
|
51
|
+
description=(
|
52
|
+
"String representation of default value if present (e.g., 'None', '10', '\"hi\"'). "
|
53
|
+
"None if parameter is required with no default."
|
54
|
+
),
|
55
|
+
)
|
56
|
+
kind: ParameterKind = Field(
|
57
|
+
default=ParameterKind.POSITIONAL_OR_KEYWORD,
|
58
|
+
description=(
|
59
|
+
"Parameter's calling convention category. 'positional_or_keyword' is typical if unspecified."
|
60
|
+
),
|
61
|
+
)
|
62
|
+
|
63
|
+
|
64
|
+
class Decorator(HashableModel):
|
65
|
+
"""
|
66
|
+
A decorator or annotation attached to a function, class, or method.
|
67
|
+
Common in Python (@deco), Java (@Override), .NET ([Attribute]), etc.
|
68
|
+
"""
|
69
|
+
|
70
|
+
name: str = Field(
|
71
|
+
...,
|
72
|
+
description="Decorator/annotation name (e.g., '@staticmethod', '[ApiController]', '@Override').",
|
73
|
+
)
|
74
|
+
arguments_repr: list[str] | None = Field(
|
75
|
+
default=None,
|
76
|
+
description=(
|
77
|
+
"If this decorator/annotation is called with arguments, provide them as a list of string expressions "
|
78
|
+
"(e.g., `['\"/home\"', 'methods=[\"GET\"]']`). None if no arguments."
|
79
|
+
),
|
80
|
+
)
|
81
|
+
|
82
|
+
|
83
|
+
class Import(HashableModel):
|
84
|
+
"""
|
85
|
+
Represents an import/using/include statement. Merges Python's 'import X' and 'from Y import Z' logic.
|
86
|
+
Other languages can interpret accordingly.
|
87
|
+
"""
|
88
|
+
|
89
|
+
module: str | None = Field(
|
90
|
+
default=None,
|
91
|
+
description=(
|
92
|
+
"The module/package/namespace from which symbols are imported (e.g., 'os.path', 'java.util'). "
|
93
|
+
"None for a direct import statement like 'import X' if no sub-path is specified."
|
94
|
+
),
|
95
|
+
)
|
96
|
+
name: str = Field(
|
97
|
+
...,
|
98
|
+
description=(
|
99
|
+
"The symbol or module being imported (e.g., 'os', 'List', 'time', '*')."
|
100
|
+
),
|
101
|
+
)
|
102
|
+
alias: str | None = Field(
|
103
|
+
default=None,
|
104
|
+
description="Alias name if used ('import X as Y'), else None.",
|
105
|
+
)
|
106
|
+
level: int = Field(
|
107
|
+
default=0,
|
108
|
+
description=(
|
109
|
+
"For Pythonic relative imports. Number of leading dots. 0 if absolute or not applicable."
|
110
|
+
),
|
111
|
+
)
|
112
|
+
|
113
|
+
|
114
|
+
class Attribute(HashableModel):
|
115
|
+
"""
|
116
|
+
A variable/constant/field at class or module level. Possibly static/final, with an initial value.
|
117
|
+
"""
|
118
|
+
|
119
|
+
name: str = Field(
|
120
|
+
...,
|
121
|
+
description="Identifier for this attribute/field (e.g., 'MAX_CONNECTIONS', 'version').",
|
122
|
+
)
|
123
|
+
type: str | None = Field(
|
124
|
+
default=None,
|
125
|
+
description="String type annotation if declared. None if untyped.",
|
126
|
+
)
|
127
|
+
initial_value_repr: str | None = Field(
|
128
|
+
default=None,
|
129
|
+
description="String representation of any initial value (e.g., '100', 'true', 'None'). None if uninitialized.",
|
130
|
+
)
|
131
|
+
is_static: bool = Field(
|
132
|
+
default=False,
|
133
|
+
description="True if this is a static (class-level) attribute. Otherwise instance-level or module-level.",
|
134
|
+
)
|
135
|
+
is_final: bool = Field(
|
136
|
+
default=False,
|
137
|
+
description="True if this attribute/field is read-only/const/final after initialization.",
|
138
|
+
)
|
139
|
+
visibility: str | None = Field(
|
140
|
+
default=None,
|
141
|
+
description="Optional access modifier (e.g., 'public', 'private', 'protected'). None if default or not applicable.",
|
142
|
+
)
|
143
|
+
|
144
|
+
|
145
|
+
class Function(HashableModel):
|
146
|
+
"""
|
147
|
+
Represents a standalone function or procedure.
|
148
|
+
For methods (attached to classes), see 'Method' below.
|
149
|
+
"""
|
150
|
+
|
151
|
+
name: str = Field(
|
152
|
+
..., description="Function name identifier (e.g., 'process_data')."
|
153
|
+
)
|
154
|
+
parameters: list[Parameter] = Field(
|
155
|
+
default_factory=list,
|
156
|
+
description="Ordered list of Parameter objects for this function.",
|
157
|
+
)
|
158
|
+
return_type: str | None = Field(
|
159
|
+
default=None,
|
160
|
+
description="Return type string if declared. None if not declared or no explicit type.",
|
161
|
+
)
|
162
|
+
is_async: bool = Field(
|
163
|
+
default=False,
|
164
|
+
description="True if an 'async' function in languages that support it. Else False.",
|
165
|
+
)
|
166
|
+
docstring: str | None = Field(
|
167
|
+
default=None,
|
168
|
+
description="Documentation string or comment describing this function.",
|
169
|
+
)
|
170
|
+
decorators: list[Decorator] = Field(
|
171
|
+
default_factory=list,
|
172
|
+
description="List of decorators/annotations on this function (e.g., @staticmethod).",
|
173
|
+
)
|
174
|
+
|
175
|
+
|
176
|
+
class Method(Function):
|
177
|
+
"""
|
178
|
+
A function bound to a class, including potential method-specific flags (static, abstract, etc.).
|
179
|
+
Inherits fields from 'Function.'
|
180
|
+
"""
|
181
|
+
|
182
|
+
is_static: bool = Field(
|
183
|
+
default=False,
|
184
|
+
description="True if method is static (no instance or 'self' needed).",
|
185
|
+
)
|
186
|
+
is_classmethod: bool = Field(
|
187
|
+
default=False,
|
188
|
+
description="True if method is recognized as a class method (receives class as first arg).",
|
189
|
+
)
|
190
|
+
is_abstract: bool = Field(
|
191
|
+
default=False,
|
192
|
+
description="True if the method is abstract (no concrete implementation).",
|
193
|
+
)
|
194
|
+
visibility: str | None = Field(
|
195
|
+
default=None,
|
196
|
+
description="Access level like 'public', 'private', etc., if relevant to the language.",
|
197
|
+
)
|
198
|
+
|
199
|
+
|
200
|
+
class Class(HashableModel):
|
201
|
+
"""
|
202
|
+
Represents a class, interface, or other composite type, with optional docstring, attributes, methods, etc.
|
203
|
+
"""
|
204
|
+
|
205
|
+
name: str = Field(
|
206
|
+
...,
|
207
|
+
description="Class/struct/interface name (e.g., 'UserRepository', 'MyDataClass').",
|
208
|
+
)
|
209
|
+
base_types: list[str] = Field(
|
210
|
+
default_factory=list,
|
211
|
+
description="List of parent classes or interfaces by name. Empty if none.",
|
212
|
+
)
|
213
|
+
is_abstract: bool = Field(
|
214
|
+
default=False,
|
215
|
+
description="True if this is an abstract class (cannot be instantiated directly).",
|
216
|
+
)
|
217
|
+
is_interface: bool = Field(
|
218
|
+
default=False,
|
219
|
+
description="True if this represents an interface definition rather than a concrete class.",
|
220
|
+
)
|
221
|
+
docstring: str | None = Field(
|
222
|
+
default=None,
|
223
|
+
description="Documentation for the class/interface, if any.",
|
224
|
+
)
|
225
|
+
decorators: list[Decorator] = Field(
|
226
|
+
default_factory=list,
|
227
|
+
description="Class-level decorators/annotations (e.g., @dataclass).",
|
228
|
+
)
|
229
|
+
attributes: list[Attribute] = Field(
|
230
|
+
default_factory=list,
|
231
|
+
description="Fields or properties declared at class level.",
|
232
|
+
)
|
233
|
+
methods: list[Method] = Field(
|
234
|
+
default_factory=list,
|
235
|
+
description="List of Method objects representing this class's methods.",
|
236
|
+
)
|
lionagi/fields/file.py
CHANGED
@@ -1,13 +1,17 @@
|
|
1
|
+
from abc import abstractmethod
|
1
2
|
from pathlib import Path
|
2
3
|
|
3
4
|
from pydantic import Field, field_validator
|
4
5
|
|
5
6
|
from .base import HashableModel, Source
|
7
|
+
from .code import Class, Function, Import
|
8
|
+
from .research import PotentialRisk, ResearchFinding
|
6
9
|
|
7
10
|
__all__ = (
|
8
11
|
"File",
|
9
|
-
"CodeFile",
|
10
12
|
"Documentation",
|
13
|
+
"ResearchSummary",
|
14
|
+
"Module",
|
11
15
|
)
|
12
16
|
|
13
17
|
|
@@ -31,16 +35,6 @@ class File(HashableModel):
|
|
31
35
|
"/absolute/path/to/my_file.txt",
|
32
36
|
],
|
33
37
|
)
|
34
|
-
content: str | None = Field(
|
35
|
-
default=None,
|
36
|
-
description=(
|
37
|
-
"Paste or generate the full textual content of the file here. "
|
38
|
-
"For example, this might include plain text, Markdown, or any "
|
39
|
-
"other text format.\nExamples:\n"
|
40
|
-
" - '# My Title\\nSome description...'\n"
|
41
|
-
" - 'function greet() { return \"Hello\"; }'"
|
42
|
-
),
|
43
|
-
)
|
44
38
|
description: str | None = Field(
|
45
39
|
default=None,
|
46
40
|
description=(
|
@@ -60,16 +54,13 @@ class File(HashableModel):
|
|
60
54
|
return str(value)
|
61
55
|
return value
|
62
56
|
|
57
|
+
@abstractmethod
|
63
58
|
def render_content(
|
64
59
|
self,
|
65
60
|
header: str | None = None,
|
66
61
|
footer: str | None = None,
|
67
62
|
) -> str:
|
68
|
-
|
69
|
-
text += self.content if self.content else ""
|
70
|
-
if not footer:
|
71
|
-
return text
|
72
|
-
return text + f"\n\n{footer}\n"
|
63
|
+
pass
|
73
64
|
|
74
65
|
def persist(
|
75
66
|
self,
|
@@ -93,41 +84,6 @@ class File(HashableModel):
|
|
93
84
|
return fp
|
94
85
|
|
95
86
|
|
96
|
-
class CodeFile(File):
|
97
|
-
"""
|
98
|
-
Represents a code file with an identifiable programming language. Inherits
|
99
|
-
from the generic File model but specializes for code-related content.
|
100
|
-
"""
|
101
|
-
|
102
|
-
language: str | None = Field(
|
103
|
-
default=None,
|
104
|
-
description=(
|
105
|
-
"Indicate the programming language of this code file. "
|
106
|
-
"LLMs or humans can use this info to apply specific formatting or syntax analysis."
|
107
|
-
),
|
108
|
-
examples=[
|
109
|
-
"python",
|
110
|
-
"json",
|
111
|
-
"typescript",
|
112
|
-
"html",
|
113
|
-
"css",
|
114
|
-
"java",
|
115
|
-
"cpp",
|
116
|
-
],
|
117
|
-
)
|
118
|
-
content: str | None = Field(
|
119
|
-
default=None,
|
120
|
-
description=(
|
121
|
-
"Provide or generate the **full source code**. This should be the primary text content "
|
122
|
-
"of the code file, including all function/class definitions.\nNo md codeblock, only raw code"
|
123
|
-
),
|
124
|
-
examples=[
|
125
|
-
'def my_function():\\n print("Hello, world!")',
|
126
|
-
'export function greet(): string { return "Hello"; }',
|
127
|
-
],
|
128
|
-
)
|
129
|
-
|
130
|
-
|
131
87
|
class Documentation(File):
|
132
88
|
"""
|
133
89
|
Represents a documentation file, typically Markdown-based, that includes
|
@@ -161,7 +117,7 @@ class Documentation(File):
|
|
161
117
|
self,
|
162
118
|
header: str | None = None,
|
163
119
|
footer: str | None = None,
|
164
|
-
include_source: bool =
|
120
|
+
include_source: bool = True,
|
165
121
|
) -> str:
|
166
122
|
"""
|
167
123
|
Renders the documentation content, optionally including citations for sources.
|
@@ -172,7 +128,104 @@ class Documentation(File):
|
|
172
128
|
for source in self.sources:
|
173
129
|
footer += f"- [{source.title}]({source.url})\n"
|
174
130
|
footer += f" - {source.note}\n" if source.note else ""
|
175
|
-
return
|
131
|
+
return (header or "") + self.content + footer
|
132
|
+
|
133
|
+
|
134
|
+
class ResearchSummary(Documentation):
|
135
|
+
"""
|
136
|
+
Captures the final outcome of the deep research process.
|
137
|
+
"""
|
138
|
+
|
139
|
+
scope: str | None = Field(
|
140
|
+
default=None,
|
141
|
+
description="Brief statement of what was investigated. E.g., 'Surveyed python-based ORMs.'",
|
142
|
+
)
|
143
|
+
main_takeaways: str = Field(
|
144
|
+
...,
|
145
|
+
description="High-level summary of the most critical insights for the project.",
|
146
|
+
)
|
147
|
+
findings: list[ResearchFinding] = Field(
|
148
|
+
default_factory=list,
|
149
|
+
description="List of key facts or knowledge gained.",
|
150
|
+
)
|
151
|
+
risks: list[PotentialRisk] = Field(
|
152
|
+
default_factory=list,
|
153
|
+
description="Identified obstacles or concerns for the project.",
|
154
|
+
)
|
155
|
+
|
156
|
+
def render_content(
|
157
|
+
self,
|
158
|
+
header: str | None = None,
|
159
|
+
footer: str | None = None,
|
160
|
+
) -> str:
|
161
|
+
"""
|
162
|
+
Renders the documentation content, optionally including citations for sources.
|
163
|
+
"""
|
164
|
+
content = self.model_dump(exclude_unset=True, exclude_none=True)
|
165
|
+
|
166
|
+
from lionagi.libs.schema.as_readable import as_readable
|
167
|
+
|
168
|
+
text = as_readable(content, md=True, format_curly=True)
|
169
|
+
|
170
|
+
footer = footer or ""
|
171
|
+
if self.sources:
|
172
|
+
footer = "\n\n## Sources\n"
|
173
|
+
for source in self.sources:
|
174
|
+
footer += f"- [{source.title}]({source.url})\n"
|
175
|
+
footer += f" - {source.note}\n" if source.note else ""
|
176
|
+
return (header or "") + text + footer
|
177
|
+
|
178
|
+
|
179
|
+
class Module(File):
|
180
|
+
"""
|
181
|
+
Represents a single source file: docstring, imports, top-level functions, classes, etc.
|
182
|
+
"""
|
183
|
+
|
184
|
+
name: str = Field(
|
185
|
+
...,
|
186
|
+
description="Logical name for this file/module (e.g., 'utils', 'main', 'data_models').",
|
187
|
+
)
|
188
|
+
path: str | None = Field(
|
189
|
+
default=None,
|
190
|
+
description="Filesystem path if known (e.g., 'src/utils.py').",
|
191
|
+
)
|
192
|
+
docstring: str | None = Field(
|
193
|
+
default=None, description="File-level docstring or comments if any."
|
194
|
+
)
|
195
|
+
imports: list[Import] = Field(
|
196
|
+
default_factory=list,
|
197
|
+
description="All import statements / using directives / includes in this file.",
|
198
|
+
)
|
199
|
+
classes: list[Class] = Field(
|
200
|
+
default_factory=list,
|
201
|
+
description="All class or interface definitions in this file.",
|
202
|
+
)
|
203
|
+
functions: list[Function] = Field(
|
204
|
+
default_factory=list,
|
205
|
+
description="All top-level (non-class) functions in this file.",
|
206
|
+
)
|
207
|
+
variables: list = Field(
|
208
|
+
default_factory=list,
|
209
|
+
description="All top-level variables/constants in this file.",
|
210
|
+
)
|
211
|
+
language: str = Field(
|
212
|
+
default_factory=str,
|
213
|
+
description=(
|
214
|
+
"Indicate the programming language of this code file. e.g., 'python', 'typescript'. "
|
215
|
+
"LLMs or humans can use this info to apply specific formatting or syntax analysis."
|
216
|
+
),
|
217
|
+
)
|
218
|
+
|
219
|
+
def render_content(
|
220
|
+
self,
|
221
|
+
header: str | None = None,
|
222
|
+
footer: str | None = None,
|
223
|
+
) -> str:
|
224
|
+
"""
|
225
|
+
Renders the documentation content, optionally including citations for sources.
|
226
|
+
"""
|
227
|
+
text = self.model_dump_json(exclude_none=True, exclude_unset=True)
|
228
|
+
return header or "" + text + footer or ""
|
176
229
|
|
177
230
|
|
178
231
|
# File: lionagi/fields/file.py
|
lionagi/fields/reason.py
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
#
|
3
3
|
# SPDX-License-Identifier: Apache-2.0
|
4
4
|
|
5
|
-
from pydantic import
|
5
|
+
from pydantic import Field, field_validator
|
6
6
|
|
7
|
-
from lionagi.models import FieldModel
|
7
|
+
from lionagi.models import FieldModel, HashableModel
|
8
8
|
from lionagi.utils import to_num
|
9
9
|
|
10
10
|
__all__ = ("Reason",)
|
11
11
|
|
12
12
|
|
13
|
-
class Reason(
|
13
|
+
class Reason(HashableModel):
|
14
14
|
|
15
15
|
title: str | None = None
|
16
16
|
content: str | None = None
|
@@ -0,0 +1,49 @@
|
|
1
|
+
from pydantic import Field
|
2
|
+
|
3
|
+
from lionagi.models import HashableModel
|
4
|
+
|
5
|
+
from .base import CodeSnippet, TextSnippet
|
6
|
+
|
7
|
+
__all__ = (
|
8
|
+
"ResearchFinding",
|
9
|
+
"PotentialRisk",
|
10
|
+
"ResearchSummary",
|
11
|
+
)
|
12
|
+
|
13
|
+
|
14
|
+
class ResearchFinding(HashableModel):
|
15
|
+
"""
|
16
|
+
A single piece of information or insight from the research phase.
|
17
|
+
"""
|
18
|
+
|
19
|
+
summary: str = Field(
|
20
|
+
...,
|
21
|
+
description="Concise text describing the discovered fact, concept, or best practice.",
|
22
|
+
)
|
23
|
+
snippets: list[TextSnippet | CodeSnippet] = Field(
|
24
|
+
default_factory=list,
|
25
|
+
description="Ordered list of content snippets (text or code) that illustrate or support the finding.",
|
26
|
+
)
|
27
|
+
relevance: str | None = Field(
|
28
|
+
default=None,
|
29
|
+
description="Why this finding matters to the project. E.g., 'Helps solve concurrency issue.'",
|
30
|
+
)
|
31
|
+
|
32
|
+
|
33
|
+
class PotentialRisk(HashableModel):
|
34
|
+
"""
|
35
|
+
Identifies a risk or challenge discovered during research.
|
36
|
+
"""
|
37
|
+
|
38
|
+
description: str = Field(
|
39
|
+
...,
|
40
|
+
description="Short text describing the risk. E.g., 'Scalability concerns with chosen DB'.",
|
41
|
+
)
|
42
|
+
impact: str | None = Field(
|
43
|
+
default=None,
|
44
|
+
description="Possible consequences if not mitigated. E.g., 'System slowdown, possible downtime.'",
|
45
|
+
)
|
46
|
+
mitigation_ideas: str | None = Field(
|
47
|
+
default=None,
|
48
|
+
description="Preliminary ways to reduce or handle this risk.",
|
49
|
+
)
|
lionagi/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.10.
|
1
|
+
__version__ = "0.10.5"
|
@@ -4,7 +4,7 @@ lionagi/_errors.py,sha256=JlBTFJnRWtVYcRxKb7fWFiJHLbykl1E19mSJ8sXYVxg,455
|
|
4
4
|
lionagi/_types.py,sha256=iDdYewsP9rDrM7QY19_NDTcWUk7swp8vnGCrloHMtUM,53
|
5
5
|
lionagi/settings.py,sha256=W52mM34E6jXF3GyqCFzVREKZrmnUqtZm_BVDsUiDI_s,1627
|
6
6
|
lionagi/utils.py,sha256=uLTJKl7aTnFXV6ehA6zwiwEB7G2nQYKsO2pZ6mqFzUk,78908
|
7
|
-
lionagi/version.py,sha256=
|
7
|
+
lionagi/version.py,sha256=c61d5YjslqtpItkzB2NGlURm177H2racruHXV9G6u6s,23
|
8
8
|
lionagi/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
9
|
lionagi/adapters/adapter.py,sha256=aW7s1OKAdxHd8HBv2UcThn-r2Q08EyArssNyFobMLuA,3357
|
10
10
|
lionagi/adapters/json_adapter.py,sha256=EJj0Jev46ZhU3ZMnlYwyzN2rLxjLCVrMDpHkEuggBvk,4561
|
@@ -15,12 +15,14 @@ lionagi/adapters/pandas_/csv_adapter.py,sha256=HWie6Jlt8nR-EVJC_zmCFilaWszLNuk7E
|
|
15
15
|
lionagi/adapters/pandas_/excel_adapter.py,sha256=ZqRT2xF93NLKNyMp16ePNzwUN3ntNkUy1dO3nbsrfak,2287
|
16
16
|
lionagi/adapters/pandas_/pd_dataframe_adapter.py,sha256=ULGZVhK5aaOuTrmFq4x5SiuDScYetyYYUHeL8Hh13Eg,2279
|
17
17
|
lionagi/adapters/pandas_/pd_series_adapter.py,sha256=TX3cqFtgEip8JqVqkjdJYOu4PQGpW1yYU6POhvz8Jeg,1388
|
18
|
-
lionagi/fields/__init__.py,sha256=
|
18
|
+
lionagi/fields/__init__.py,sha256=8oU7Vfk-fKiULFKqhM6VpJMqdZcVXPTM7twVfNDN_SQ,603
|
19
19
|
lionagi/fields/action.py,sha256=iWSApCM77jS0Oc28lb7G601Etkp-yjx5U1hfI_FQgfA,5792
|
20
20
|
lionagi/fields/base.py,sha256=5CJc7j8kTTWzXwpYzkSAFzx4BglABfx3AElIATKB7bg,3857
|
21
|
-
lionagi/fields/
|
21
|
+
lionagi/fields/code.py,sha256=TFym51obzaSfCmeRoHZJyBtjfDI4tvl9F-1sjFc9rMw,7713
|
22
|
+
lionagi/fields/file.py,sha256=DhQ_HE0RvTNzkvBGQHRgbMYSokDkzE8GEu814i6jw5Q,7297
|
22
23
|
lionagi/fields/instruct.py,sha256=sMbCxEv0HQLa31JkJDmdrWWEzIfeKbcmN2hYOehz3Q0,4773
|
23
|
-
lionagi/fields/reason.py,sha256=
|
24
|
+
lionagi/fields/reason.py,sha256=3Ksz9_40dI-oQ9VtmpnYAmJdeDDIO-TwLDrf1ijbXGM,1438
|
25
|
+
lionagi/fields/research.py,sha256=2x6SFDwMSwzl4uHHUBbhT8mgwa49MsEy1NaUIb84MHU,1405
|
24
26
|
lionagi/libs/__init__.py,sha256=5y5joOZzfFWERl75auAcNcKC3lImVJ5ZZGvvHZUFCJM,112
|
25
27
|
lionagi/libs/parse.py,sha256=JRS3bql0InHJqATnAatl-hQv4N--XXw4P77JHhTFnrc,1011
|
26
28
|
lionagi/libs/file/__init__.py,sha256=5y5joOZzfFWERl75auAcNcKC3lImVJ5ZZGvvHZUFCJM,112
|
@@ -55,7 +57,7 @@ lionagi/libs/token_transform/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
55
57
|
lionagi/libs/token_transform/base.py,sha256=LBnaDgi4HNgaJJGwIzWcQjVMdu49i_93rRvOvMU22Rw,1545
|
56
58
|
lionagi/libs/token_transform/llmlingua.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
|
57
59
|
lionagi/libs/token_transform/perplexity.py,sha256=tcVRjPBX3nuVqsoTkowCf6RBXuybO--owH1lf2Ywj1s,14470
|
58
|
-
lionagi/libs/token_transform/symbolic_compress_context.py,sha256=
|
60
|
+
lionagi/libs/token_transform/symbolic_compress_context.py,sha256=J8UleoCRDBvbFvmss2JjOvJfuBT7LXUW7AsRB-oQq7c,4598
|
59
61
|
lionagi/libs/token_transform/synthlang.py,sha256=W6e-_265UXqVosM9X0TLKW53rNHvWCKhsWbVAop49Ac,259
|
60
62
|
lionagi/libs/token_transform/types.py,sha256=4HgAfNDlJ_Hu18kLt59GHr_76eF3xLpNCTbOXlAYVlA,491
|
61
63
|
lionagi/libs/token_transform/synthlang_/base.py,sha256=GDle72c8EjFz_3hg_k-y0YmksBsn5TSRVTw5_cwfWTo,4109
|
@@ -220,7 +222,7 @@ lionagi/tools/file/writer.py,sha256=5y5joOZzfFWERl75auAcNcKC3lImVJ5ZZGvvHZUFCJM,
|
|
220
222
|
lionagi/tools/file/providers/__init__.py,sha256=5y5joOZzfFWERl75auAcNcKC3lImVJ5ZZGvvHZUFCJM,112
|
221
223
|
lionagi/tools/file/providers/docling_.py,sha256=5y5joOZzfFWERl75auAcNcKC3lImVJ5ZZGvvHZUFCJM,112
|
222
224
|
lionagi/tools/query/__init__.py,sha256=5y5joOZzfFWERl75auAcNcKC3lImVJ5ZZGvvHZUFCJM,112
|
223
|
-
lionagi-0.10.
|
224
|
-
lionagi-0.10.
|
225
|
-
lionagi-0.10.
|
226
|
-
lionagi-0.10.
|
225
|
+
lionagi-0.10.5.dist-info/METADATA,sha256=X0dUpL8Dx7FOz_OdT_cGo3UZABgc7GE2SmywtibqEZs,18464
|
226
|
+
lionagi-0.10.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
227
|
+
lionagi-0.10.5.dist-info/licenses/LICENSE,sha256=VXFWsdoN5AAknBCgFqQNgPWYx7OPp-PFEP961zGdOjc,11288
|
228
|
+
lionagi-0.10.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|