-
Notifications
You must be signed in to change notification settings - Fork 0
/
examples.py
35 lines (29 loc) · 1000 Bytes
/
examples.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""
#TEST RABIN
from economic_agents import CharnessRabin
charness_rabin = CharnessRabin(api_key="openai_key", model="gpt-3.5-turbo", personality=1, image_path="random/file", logging=True)
results = charness_rabin.play()
charness_rabin.create_plot(results)
"""
"""
#TEST HORTON
from economic_agents import Horton
#def __init__(self, api_key, model, image_path, logging):
horton = Horton(api_key="openai_key", model="gpt-3.5-turbo", image_path="random/horton", logging=True)
results = horton.play()
horton.create_plot(results)
"""
"""
#TEST Kahneman
from economic_agents import Kahneman
kahneman = Kahneman(api_key="openai_key", model="gpt-3.5-turbo", image_path="results/kahneman", logging=True)
results = kahneman.play()
kahneman.create_plot(results)
"""
"""
#TEST ZECKAUSER
from economic_agents import Zeckhauser
zeckhauser = Zeckhauser(api_key="openai_key", model="gpt-3.5-turbo", image_path="results/zeckhauser", logging=True)
results = zeckhauser.play()
zeckhauser.create_plot(results)
"""