olca 0.2.64__tar.gz → 0.2.66__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {olca-0.2.64 → olca-0.2.66}/PKG-INFO +1 -1
- {olca-0.2.64 → olca-0.2.66}/olca/oiv.py +4 -4
- {olca-0.2.64 → olca-0.2.66}/olca.egg-info/PKG-INFO +1 -1
- {olca-0.2.64 → olca-0.2.66}/pyproject.toml +1 -1
- {olca-0.2.64 → olca-0.2.66}/setup.py +1 -1
- {olca-0.2.64 → olca-0.2.66}/LICENSE +0 -0
- {olca-0.2.64 → olca-0.2.66}/README.md +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca/__init__.py +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca/fusewill_cli.py +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca/fusewill_utils.py +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca/olcacli.py +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca/olcahelper.py +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca/prompts.py +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca/tracing.py +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca/utils.py +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca.egg-info/SOURCES.txt +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca.egg-info/dependency_links.txt +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca.egg-info/entry_points.txt +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca.egg-info/requires.txt +0 -0
- {olca-0.2.64 → olca-0.2.66}/olca.egg-info/top_level.txt +0 -0
- {olca-0.2.64 → olca-0.2.66}/setup.cfg +0 -0
@@ -76,7 +76,7 @@ def serialize_response_to_json_file(resp, filename):
|
|
76
76
|
f.write(json_str)
|
77
77
|
|
78
78
|
def serialize_response_to_markdown(o):
|
79
|
-
output=o["output"]
|
79
|
+
output=o["output"]
|
80
80
|
string_md="# Output\n"
|
81
81
|
#string_md+=f"## Model\n{o['model']}\n"
|
82
82
|
#string_md+=f"## Prompt\n{o['prompt']['prompt']}\n"
|
@@ -99,16 +99,16 @@ def main():
|
|
99
99
|
resp = ask_agent(input_request,tool_hub_tag=tool_hub_tag,chatbot_model=args.chatbot_model)
|
100
100
|
outdir=os.path.join(os.getcwd(),"output")
|
101
101
|
os.makedirs(outdir, exist_ok=True)
|
102
|
-
out_filename = f"{args.prefix}
|
102
|
+
out_filename = f"{args.prefix}{tlid.get_minutes()}.json"
|
103
103
|
outfile=os.path.join(outdir,out_filename)
|
104
104
|
o={}
|
105
105
|
prompt_dict = {
|
106
|
-
"
|
106
|
+
"promptdata": str(prompt)
|
107
107
|
}
|
108
108
|
o["model"]=args.chatbot_model
|
109
109
|
o["prompt"]=prompt_dict
|
110
110
|
o["input"]=input_request
|
111
|
-
o["output"]=resp
|
111
|
+
o["output"]=resp["output"]
|
112
112
|
serialize_response_to_json_file(o, outfile)
|
113
113
|
serialize_response_to_markdown_file(o, outfile.replace(".json",".md"))
|
114
114
|
VERBOSE_RESULT=False
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='olca',
|
5
|
-
version = "0.2.
|
5
|
+
version = "0.2.66",
|
6
6
|
author='Jean GUillaume ISabelle',
|
7
7
|
author_email='jgi@jgwill.com',
|
8
8
|
description='A Python package for experimenting with Langchain agent and interactivity in Terminal modalities.',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|