thoughtflow 0.0.1__py3-none-any.whl → 0.0.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.
- thoughtflow/__init__.py +54 -5
- thoughtflow/_util.py +108 -0
- thoughtflow/adapters/__init__.py +43 -0
- thoughtflow/adapters/anthropic.py +119 -0
- thoughtflow/adapters/base.py +140 -0
- thoughtflow/adapters/local.py +133 -0
- thoughtflow/adapters/openai.py +118 -0
- thoughtflow/agent.py +147 -0
- thoughtflow/eval/__init__.py +34 -0
- thoughtflow/eval/harness.py +200 -0
- thoughtflow/eval/replay.py +137 -0
- thoughtflow/memory/__init__.py +27 -0
- thoughtflow/memory/base.py +142 -0
- thoughtflow/message.py +140 -0
- thoughtflow/py.typed +2 -0
- thoughtflow/tools/__init__.py +27 -0
- thoughtflow/tools/base.py +145 -0
- thoughtflow/tools/registry.py +122 -0
- thoughtflow/trace/__init__.py +34 -0
- thoughtflow/trace/events.py +183 -0
- thoughtflow/trace/schema.py +111 -0
- thoughtflow/trace/session.py +141 -0
- thoughtflow-0.0.2.dist-info/METADATA +215 -0
- thoughtflow-0.0.2.dist-info/RECORD +26 -0
- {thoughtflow-0.0.1.dist-info → thoughtflow-0.0.2.dist-info}/WHEEL +1 -2
- {thoughtflow-0.0.1.dist-info → thoughtflow-0.0.2.dist-info/licenses}/LICENSE +1 -1
- thoughtflow/jtools1.py +0 -25
- thoughtflow/jtools2.py +0 -27
- thoughtflow-0.0.1.dist-info/METADATA +0 -17
- thoughtflow-0.0.1.dist-info/RECORD +0 -8
- thoughtflow-0.0.1.dist-info/top_level.txt +0 -1
thoughtflow/jtools1.py
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import numpy as np
|
|
3
|
-
|
|
4
|
-
class Sorter:
|
|
5
|
-
def __init__(self):
|
|
6
|
-
self.x = np.array([])
|
|
7
|
-
def sort_things(self,things):
|
|
8
|
-
idx = np.argsort(things)
|
|
9
|
-
return np.array(things)[idx]
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Notes = '''
|
|
13
|
-
|
|
14
|
-
S = Sorter()
|
|
15
|
-
things1 = [5,1,4,2,3]
|
|
16
|
-
things2 = S.sort_things(things1)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
'''
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
thoughtflow/jtools2.py
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import numpy as np
|
|
3
|
-
|
|
4
|
-
class Adder:
|
|
5
|
-
def __init__(self):
|
|
6
|
-
self.x = np.array([])
|
|
7
|
-
def add_things(self,things1,things2):
|
|
8
|
-
a = np.array(things1)
|
|
9
|
-
b = np.array(things2)
|
|
10
|
-
return a+b
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Notes = '''
|
|
14
|
-
|
|
15
|
-
things1 = [5,1,4,2,3]
|
|
16
|
-
things2 = [1,2,3,4,5]
|
|
17
|
-
|
|
18
|
-
A = Adder()
|
|
19
|
-
things3 = A.add_things(things1)
|
|
20
|
-
|
|
21
|
-
'''
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: thoughtflow
|
|
3
|
-
Version: 0.0.1
|
|
4
|
-
Summary: Short Description
|
|
5
|
-
Home-page: https://github.com/jrolf/rolfdog
|
|
6
|
-
Author: James A. Rolfsen
|
|
7
|
-
Author-email: james@think.dev
|
|
8
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
-
Classifier: Operating System :: OS Independent
|
|
11
|
-
Classifier: Natural Language :: English
|
|
12
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
13
|
-
License-File: LICENSE
|
|
14
|
-
Requires-Dist: numpy >=1.1.1
|
|
15
|
-
Requires-Dist: pandas >=0.1.1
|
|
16
|
-
|
|
17
|
-
Long Description
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
thoughtflow/__init__.py,sha256=1k9Fv27FmuVKKsy5O4mwLU9VCcSuRprW_P50yCN0qYg,223
|
|
2
|
-
thoughtflow/jtools1.py,sha256=blvqa6ipN4aprYVfsw2sPoyJqJswk1Riw74PC_t_Yzk,269
|
|
3
|
-
thoughtflow/jtools2.py,sha256=vqxDivVtzhwDz_-qwg5c8RsNZurEbK9r1WaFLSDiQNk,298
|
|
4
|
-
thoughtflow-0.0.1.dist-info/LICENSE,sha256=a5AbP99aMpQEW-PKXUuR7qNHxvXnSC-R3M02LBusp6g,1073
|
|
5
|
-
thoughtflow-0.0.1.dist-info/METADATA,sha256=d-pYfPPzWbyvqY4AQHkv_AJOwoxFZYadKlsZAim5g8U,542
|
|
6
|
-
thoughtflow-0.0.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
-
thoughtflow-0.0.1.dist-info/top_level.txt,sha256=vuLVkcDNHCDfhFcrdwBW62c9gOII2XuyWax3-cWVHCE,12
|
|
8
|
-
thoughtflow-0.0.1.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
thoughtflow
|