forked from React-Group/interstellar_ai
Compare commits
No commits in common. "9492c8765151df528ea759e531d6bc657d54f112" and "4d54c8105660418f037b35b756b7ba5c6011f67e" have entirely different histories.
9492c87651
...
4d54c81056
2 changed files with 1 additions and 4 deletions
Binary file not shown.
5
py/ai.py
5
py/ai.py
|
@ -9,12 +9,9 @@ class AI:
|
||||||
model=model,
|
model=model,
|
||||||
messages=messages,
|
messages=messages,
|
||||||
stream=True,
|
stream=True,
|
||||||
options={"temperature": 0.5},
|
options={"temperature": 0.8},
|
||||||
)
|
)
|
||||||
|
|
||||||
for i in messages:
|
|
||||||
print(i)
|
|
||||||
|
|
||||||
return_class.ai_response[access_token] = ""
|
return_class.ai_response[access_token] = ""
|
||||||
|
|
||||||
for chunk in stream:
|
for chunk in stream:
|
||||||
|
|
Loading…
Reference in a new issue