GattoNero commited on
Commit
9323094
·
verified ·
1 Parent(s): af9bc08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,7 +65,7 @@ class BasicAgent:
65
  temperature=0.0,
66
  api_key=openai_api_key
67
  )
68
- print_coso(f"openai.__version__: {openai.__version__}")
69
  #questo per vedere il ragionamento step by step
70
  #debug_handler = LlamaDebugHandler(print_trace_on_end=True)
71
  #callback_manager = CallbackManager([debug_handler])
@@ -100,7 +100,7 @@ class BasicAgent:
100
 
101
 
102
  def __call__(self, question: str, file_info: str = "") -> str:
103
- print_coso(f"Received question: {question[:100]}")
104
 
105
  # Prova a decodificare JSON
106
  try:
 
65
  temperature=0.0,
66
  api_key=openai_api_key
67
  )
68
+ #print_coso(f"openai.__version__: {openai.__version__}")
69
  #questo per vedere il ragionamento step by step
70
  #debug_handler = LlamaDebugHandler(print_trace_on_end=True)
71
  #callback_manager = CallbackManager([debug_handler])
 
100
 
101
 
102
  def __call__(self, question: str, file_info: str = "") -> str:
103
+ print_coso(f"Received question: {question}")
104
 
105
  # Prova a decodificare JSON
106
  try: