olca 0.2.8__py3-none-any.whl → 0.2.9__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.
- olca/olcacli.py +17 -13
- {olca-0.2.8.dist-info → olca-0.2.9.dist-info}/METADATA +1 -1
- olca-0.2.9.dist-info/RECORD +8 -0
- olca-0.2.8.dist-info/RECORD +0 -8
- {olca-0.2.8.dist-info → olca-0.2.9.dist-info}/LICENSE +0 -0
- {olca-0.2.8.dist-info → olca-0.2.9.dist-info}/WHEEL +0 -0
- {olca-0.2.8.dist-info → olca-0.2.9.dist-info}/entry_points.txt +0 -0
- {olca-0.2.8.dist-info → olca-0.2.9.dist-info}/top_level.txt +0 -0
olca/olcacli.py
CHANGED
@@ -273,19 +273,23 @@ def main():
|
|
273
273
|
print("For troubleshooting, visit: https://python.langchain.com/docs/troubleshooting/errors/GRAPH_RECURSION_LIMIT")
|
274
274
|
|
275
275
|
def generate_config_example():
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
276
|
+
try:
|
277
|
+
config = {
|
278
|
+
"api_keyname": input("api_keyname [OPENAI_API_KEY_olca]: ") or "OPENAI_API_KEY_olca",
|
279
|
+
"model_name": input("model_name [gpt-4o-mini]: ") or "gpt-4o-mini",
|
280
|
+
"recursion_limit": int(input("recursion_limit [12]: ") or 12),
|
281
|
+
"temperature": float(input("temperature [0]: ") or 0),
|
282
|
+
"human": input("human [true]: ").lower() in ["true", "yes", "y", "1", ""] or True,
|
283
|
+
"tracing": input("tracing [true]: ").lower() in ["true", "yes", "y", "1", ""] or True,
|
284
|
+
"system_instructions": input("system_instructions [Hello, I am a chatbot. How can I help you today?]: ") or "You are interacting using the human tool addressing carefully what the user is asking. You carefully go step by step in your interaction with the user. You are clear and concise in your communication wrapping up the conversation in a coherent manner for the interaction. You make sure to always present what you think is the end-result of the work before quitting the loop and exit the workflow.",
|
285
|
+
"user_input": input("user_input [Interact with me to write a story using the 3 act structure that we will save in ./story/]: ") or "Interact with me to write a story using the 3 act structure that we will save in ./story/"
|
286
|
+
}
|
287
|
+
with open('olca.yml', 'w') as file:
|
288
|
+
yaml.dump(config, file)
|
289
|
+
print("Configuration file 'olca.yml' created successfully.")
|
290
|
+
except KeyboardInterrupt:
|
291
|
+
print("\nConfiguration canceled by user.")
|
292
|
+
exit(0)
|
289
293
|
|
290
294
|
if __name__ == "__main__":
|
291
295
|
try:
|
@@ -0,0 +1,8 @@
|
|
1
|
+
olca/__init__.py,sha256=3QyLLAys_KiiDIe-cfO_7QyY7di_qCaCS-sVziW2BOw,23
|
2
|
+
olca/olcacli.py,sha256=phRtxwiVJ6pkrzAjo3JI2skI87XBidkSBsE3Ec9yqBQ,12291
|
3
|
+
olca-0.2.9.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
4
|
+
olca-0.2.9.dist-info/METADATA,sha256=NrOZEY9Ew1Ct-pR_colcQFWh_v_ymW-tPlx7BKvMV8U,22012
|
5
|
+
olca-0.2.9.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
6
|
+
olca-0.2.9.dist-info/entry_points.txt,sha256=XwHDvSB6qlO1oIEtLCwrVJoVV91S405JL_iXl0G211A,44
|
7
|
+
olca-0.2.9.dist-info/top_level.txt,sha256=bGDtAReS-xlS0F6MM-DyD0IQUqjNdWmgemnM3vNtrpI,5
|
8
|
+
olca-0.2.9.dist-info/RECORD,,
|
olca-0.2.8.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
olca/__init__.py,sha256=3QyLLAys_KiiDIe-cfO_7QyY7di_qCaCS-sVziW2BOw,23
|
2
|
-
olca/olcacli.py,sha256=hVwGjf2gktIMq1baDbI_KStsUV_jYS0P3lSdl9CsU40,12133
|
3
|
-
olca-0.2.8.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
4
|
-
olca-0.2.8.dist-info/METADATA,sha256=gguKgCUL3SqLNxno_mTBKPKruqDu7XPpnMSP92zLJ6k,22012
|
5
|
-
olca-0.2.8.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
6
|
-
olca-0.2.8.dist-info/entry_points.txt,sha256=XwHDvSB6qlO1oIEtLCwrVJoVV91S405JL_iXl0G211A,44
|
7
|
-
olca-0.2.8.dist-info/top_level.txt,sha256=bGDtAReS-xlS0F6MM-DyD0IQUqjNdWmgemnM3vNtrpI,5
|
8
|
-
olca-0.2.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|