pvanand commited on
Commit
1b6beae
1 Parent(s): 03a394a

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -63,7 +63,7 @@ def together_response(messages,model="openai/gpt-4o-mini",SysPrompt=SysPromptOpt
63
  return response_message
64
 
65
  import tiktoken # Used to limit tokens
66
- encoding = tiktoken.encoding_for_model("gpt-3.5-turbo") # Instead of Llama3 using available option/ replace if found anything better
67
 
68
  def limit_tokens(input_string, token_limit=7500):
69
  """
 
63
  return response_message
64
 
65
  import tiktoken # Used to limit tokens
66
+ encoding = tiktoken.encoding_for_model("gpt-4o")
67
 
68
  def limit_tokens(input_string, token_limit=7500):
69
  """