mirror of
https://github.com/katanemo/plano.git
synced 2026-05-01 11:56:29 +02:00
fix error in function name + new thresholds (#406)
* fix error in function name + new thresholds * fix * fix * remove example * remove example
This commit is contained in:
parent
4ec03af16e
commit
e7b370cd2f
3 changed files with 28 additions and 35 deletions
|
|
@ -54,20 +54,6 @@ def get_hallucination_data_complex():
|
|||
return req, True, True, True
|
||||
|
||||
|
||||
def get_hallucination_data_easy():
|
||||
# Create instances of the Message class
|
||||
message1 = Message(role="user", content="How is the weather in Seattle?")
|
||||
|
||||
# Create a list of tools
|
||||
tools = [get_weather_api]
|
||||
|
||||
# Create an instance of the ChatMessage class
|
||||
req = ChatMessage(messages=[message1], tools=tools)
|
||||
|
||||
# model will hallucinate
|
||||
return req, True, True, True
|
||||
|
||||
|
||||
def get_hallucination_data_medium():
|
||||
# Create instances of the Message class
|
||||
message1 = Message(role="user", content="How is the weather in?")
|
||||
|
|
@ -142,7 +128,6 @@ def get_greeting_data():
|
|||
"get_data_func",
|
||||
[
|
||||
get_hallucination_data_complex,
|
||||
get_hallucination_data_easy,
|
||||
get_complete_data,
|
||||
get_irrelevant_data,
|
||||
get_complete_data_2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue