From 3388d7069666922a0849a86bd344521e51206106 Mon Sep 17 00:00:00 2001 From: "t.me/xtekky" <98614666+xtekky@users.noreply.github.com> Date: Tue, 18 Apr 2023 16:15:52 +0100 Subject: phind.com api (gpt4 & search) --- phind_test.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 phind_test.py (limited to 'phind_test.py') diff --git a/phind_test.py b/phind_test.py deleted file mode 100644 index e3148eb6..00000000 --- a/phind_test.py +++ /dev/null @@ -1,13 +0,0 @@ -import phind - -prompt = 'hello world' - -result = phind.Completion.create( - model = 'gpt-4', - prompt = prompt, - results = phind.Search.create(prompt, actualSearch = False), # create search (set actualSearch to False to disable internet) - creative = False, - detailed = False, - codeContext = '') # up to 3000 chars of code - -print(result.completion.choices[0].text) \ No newline at end of file -- cgit v1.2.3