Matias Stager commited on
Commit
e3ea0c6
1 Parent(s): 4e59b6b

Cache Enabled in Helicone

Browse files
__pycache__/utils.cpython-311.pyc CHANGED
Binary files a/__pycache__/utils.cpython-311.pyc and b/__pycache__/utils.cpython-311.pyc differ
 
requirements.txt CHANGED
@@ -1,4 +1,5 @@
1
  streamlit
2
  streamlit_chat
3
  openai
4
- python-dotenv
 
 
1
  streamlit
2
  streamlit_chat
3
  openai
4
+ python-dotenv
5
+ helicone
utils.py CHANGED
@@ -18,6 +18,7 @@ def get_chatgpt_response(messages, model="gpt-3.5-turbo"):
18
  messages=messages,
19
  headers={
20
  "Helicone-Auth": os.getenv('helicone_key'),
 
21
  }
22
  )
23
  print ("respuesta",response)
 
18
  messages=messages,
19
  headers={
20
  "Helicone-Auth": os.getenv('helicone_key'),
21
+ "Helicone-Cache-Enabled": "true",
22
  }
23
  )
24
  print ("respuesta",response)