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