updated t3nsor (gpt 3.5)
changed iter lines to iter content chunks, way smoother and more updates + resolved dict issue
This commit is contained in:
7
testing/t3nsor.py
Normal file
7
testing/t3nsor.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import t3nsor
|
||||
|
||||
for response in t3nsor.StreamCompletion.create(
|
||||
prompt = 'write python code to reverse a string',
|
||||
messages = []):
|
||||
|
||||
print(response.completion.choices[0].text)
|
||||
Reference in New Issue
Block a user