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
/** | |
* POST /chat | |
*/ | |
let OPENAI_API_KEY = null; | |
let PINECONE_API_KEY = null; | |
let PINECONE_BASE_URL = null; | |
export async function onRequestPost(context) { | |
OPENAI_API_KEY = context.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
module ALU(A, B, OP, Z, OV); | |
input signed [7:0] A, B; | |
input [2:0] OP; | |
output signed [7:0] Z; | |
output OV; | |
reg ov; | |
reg [7:0] z; | |