From b206a1eb6364e519741ceb89e3f3b63910b4e1ef Mon Sep 17 00:00:00 2001 From: Raju Komati Date: Fri, 28 Apr 2023 02:27:06 +0530 Subject: update openai_rev module add test file with simple use --- testing/forefront_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/forefront_test.py') diff --git a/testing/forefront_test.py b/testing/forefront_test.py index 092d1a74..8d25ed89 100644 --- a/testing/forefront_test.py +++ b/testing/forefront_test.py @@ -6,4 +6,4 @@ print(token) # get a response for response in forefront.StreamingCompletion.create(token=token, prompt='hello world', model='gpt-4'): - print(response) + print(response.text, end='') -- cgit v1.2.3