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 requests | |
from requests.auth import HTTPBasicAuth | |
from environs import Env | |
import openai | |
import ast | |
import csv | |
# Initialize environs and OpenAI | |
env = Env() | |
env.read_env() |
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 requests | |
from requests.auth import HTTPBasicAuth | |
from environs import Env | |
import openai | |
# Initialize environs and OpenAI | |
env = Env() | |
env.read_env() | |
openai.api_key = env("OPENAI_API_KEY") |
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
node.set[:lazy] = false | |
log 'compile evaluation' do | |
message node[:lazy].to_s | |
end | |
# false | |
log 'execute evaluation' do | |
message lazy { node[:lazy].to_s } | |
end |