eaglelandsonce
commited on
Commit
•
08fc9f5
1
Parent(s):
37bd10d
Update crewai/tools/zephyr_tools.py
Browse files
crewai/tools/zephyr_tools.py
CHANGED
@@ -30,11 +30,11 @@ class ZephyrSearchTools():
|
|
30 |
@tool("Zephyr Normal")
|
31 |
def zephyr_normal(prompt, histroy="", temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0):
|
32 |
"""
|
33 |
-
Searches for content based on the provided query using the
|
34 |
Args:
|
35 |
query (str): The search query.
|
36 |
Returns:
|
37 |
-
str: The response text from the
|
38 |
"""
|
39 |
generate_kwargs = {
|
40 |
"temperature": temperature,
|
@@ -58,12 +58,12 @@ class ZephyrSearchTools():
|
|
58 |
@tool("Zephyrl Crazy")
|
59 |
def zephyr_crazy(prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0):
|
60 |
"""
|
61 |
-
Searches for content based on the provided query using the
|
62 |
and responses are crazy and off the wall and sometimes scary.
|
63 |
Args:
|
64 |
query (str): The search query.
|
65 |
Returns:
|
66 |
-
str: The response text from the
|
67 |
"""
|
68 |
generate_kwargs = {
|
69 |
"temperature": temperature,
|
|
|
30 |
@tool("Zephyr Normal")
|
31 |
def zephyr_normal(prompt, histroy="", temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0):
|
32 |
"""
|
33 |
+
Searches for content based on the provided query using the Zephyr model.
|
34 |
Args:
|
35 |
query (str): The search query.
|
36 |
Returns:
|
37 |
+
str: The response text from the Zephyr model or an error message.
|
38 |
"""
|
39 |
generate_kwargs = {
|
40 |
"temperature": temperature,
|
|
|
58 |
@tool("Zephyrl Crazy")
|
59 |
def zephyr_crazy(prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0):
|
60 |
"""
|
61 |
+
Searches for content based on the provided query using the Zephyr model but has the gaurd rails removed,
|
62 |
and responses are crazy and off the wall and sometimes scary.
|
63 |
Args:
|
64 |
query (str): The search query.
|
65 |
Returns:
|
66 |
+
str: The response text from the Zephyr model or an error message.
|
67 |
"""
|
68 |
generate_kwargs = {
|
69 |
"temperature": temperature,
|