Spaces:
Running
Running
Update llm_tool.py
Browse files- llm_tool.py +1 -1
llm_tool.py
CHANGED
@@ -23,7 +23,7 @@ def analyze_data(prompt):
|
|
23 |
# Get response from LLM
|
24 |
completion = client.chat.completions.create(
|
25 |
messages=messages,
|
26 |
-
max_tokens=
|
27 |
)
|
28 |
|
29 |
# Return only the content part of the response
|
|
|
23 |
# Get response from LLM
|
24 |
completion = client.chat.completions.create(
|
25 |
messages=messages,
|
26 |
+
max_tokens=4096 # Control response length
|
27 |
)
|
28 |
|
29 |
# Return only the content part of the response
|