This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import openai | |
import os | |
import csv | |
openai.api_key = os.environ["OPENAI_API_KEY"] | |
prompt = "I am a highly intelligent question answering bot. If you ask me a question that is rooted in truth, I will give you the answer. If you ask me a question that is nonsense, trickery, or has no clear answer, I will respond with \"Unknown\".\n\n" | |
with open('cfqa.csv') as csv_file: | |
reader = csv.DictReader(csv_file) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zend_extension = "C:\xampp\php\ext\php_xdebug.dll" | |
xdebug.profiler_append = 0 | |
xdebug.profiler_enable = 1 | |
xdebug.profiler_enable_trigger = 0 | |
xdebug.profiler_output_dir = "C:\xampp\tmp" | |
xdebug.profiler_output_name = "cachegrind.out.%t-%s" | |
xdebug.remote_enable = 0 | |
xdebug.remote_handler = "dbgp" | |
xdebug.remote_host = "127.0.0.1" | |
xdebug.trace_output_dir = "C:\xampp\tmp" |