fyodorov-llm-agents 0.0.56__py3-none-any.whl → 0.0.58__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.
- fyodorov_llm_agents/agents/base_agent.py +1 -1
- fyodorov_llm_agents/agents/openai.py +1 -0
- {fyodorov_llm_agents-0.0.56.dist-info → fyodorov_llm_agents-0.0.58.dist-info}/METADATA +1 -1
- fyodorov_llm_agents-0.0.58.dist-info/RECORD +10 -0
- fyodorov_llm_agents-0.0.56.dist-info/RECORD +0 -10
- {fyodorov_llm_agents-0.0.56.dist-info → fyodorov_llm_agents-0.0.58.dist-info}/WHEEL +0 -0
- {fyodorov_llm_agents-0.0.56.dist-info → fyodorov_llm_agents-0.0.58.dist-info}/top_level.txt +0 -0
@@ -51,7 +51,7 @@ class AbstractAgent(ABC):
|
|
51
51
|
for tool in self.tools:
|
52
52
|
if f"Action: {tool.name_for_ai}" in prompt:
|
53
53
|
print("[check_res_for_tools] tool use found:", tool.name_for_ai)
|
54
|
-
new_prompt += f"OpenAPI Spec({tool.name_for_ai}): {tool.get_api_spec()}\n"
|
54
|
+
new_prompt += f"OpenAPI Spec ({tool.name_for_ai}): {tool.get_api_spec()}\n"
|
55
55
|
tool_used = True
|
56
56
|
return (tool_used, new_prompt if tool_used else '')
|
57
57
|
|
@@ -14,6 +14,7 @@ class OpenAI(AbstractAgent):
|
|
14
14
|
self.model = model
|
15
15
|
|
16
16
|
def call(self, prompt: str = "", input: str = "", temperature: float = 0.0):
|
17
|
+
print(f"[OpenAI] Calling OpenAI with prompt: {prompt}, input: {input}, temperature: {temperature}")
|
17
18
|
if temperature > 2.0 or temperature < 0.0:
|
18
19
|
raise ValueError("Temperature must be between 0.0 and 2.0")
|
19
20
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: fyodorov_llm_agents
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.58
|
4
4
|
Summary: Library for creating LLM-based agents with tools and RAG
|
5
5
|
Author-email: Daniel Ransom <02masseur.alibis@icloud.com>
|
6
6
|
Project-URL: Homepage, https://github.com/FyodorovAI/fyodorov-llm-agents
|
@@ -0,0 +1,10 @@
|
|
1
|
+
fyodorov_llm_agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
fyodorov_llm_agents/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
+
fyodorov_llm_agents/agents/base_agent.py,sha256=qnrUWrjmYlo6lzv05FiBjRd_GqfeiletvfWPIvsY7xk,5406
|
4
|
+
fyodorov_llm_agents/agents/openai.py,sha256=QGnc-wC6oTpomgyHK67kAtXekjdp1jcavG1relvHdH8,1175
|
5
|
+
fyodorov_llm_agents/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
+
fyodorov_llm_agents/tools/tool.py,sha256=5H0yRe9S-32iT7wppxPgPRTceqhFQK0xCVYk4OtnoSk,6386
|
7
|
+
fyodorov_llm_agents-0.0.58.dist-info/METADATA,sha256=ULyOMBY7MGp9Hm120YsO6bk-5reokRfI2_Gx8aHEhNk,2001
|
8
|
+
fyodorov_llm_agents-0.0.58.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
9
|
+
fyodorov_llm_agents-0.0.58.dist-info/top_level.txt,sha256=4QOslsBp8Gh7ng25DceA7fHp4KguTIdAxwURz97gH-g,20
|
10
|
+
fyodorov_llm_agents-0.0.58.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
fyodorov_llm_agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
fyodorov_llm_agents/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
fyodorov_llm_agents/agents/base_agent.py,sha256=E1A0OUJPlYiEv_c-lmBWwIILNCe1XKj2OE1OVwcJOcI,5405
|
4
|
-
fyodorov_llm_agents/agents/openai.py,sha256=7cJZpQBuhPW91jLFaeKhHEJ55h0Zo0KFzzl8umQAjEM,1067
|
5
|
-
fyodorov_llm_agents/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
fyodorov_llm_agents/tools/tool.py,sha256=5H0yRe9S-32iT7wppxPgPRTceqhFQK0xCVYk4OtnoSk,6386
|
7
|
-
fyodorov_llm_agents-0.0.56.dist-info/METADATA,sha256=EJEm10seC64Ra3AnB6KRbvf_jrhQ23x1zNK1z2I16qE,2001
|
8
|
-
fyodorov_llm_agents-0.0.56.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
9
|
-
fyodorov_llm_agents-0.0.56.dist-info/top_level.txt,sha256=4QOslsBp8Gh7ng25DceA7fHp4KguTIdAxwURz97gH-g,20
|
10
|
-
fyodorov_llm_agents-0.0.56.dist-info/RECORD,,
|
File without changes
|
File without changes
|