This file contains hidden or 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 math | |
| from openai import OpenAI | |
| client = OpenAI() | |
| response = client.chat.completions.create( | |
| model="gpt-4o-mini", | |
| messages=[{"role": "system", "content": "Answer in 1 word"},{"role": "user", "content": "The capital of Spain, East Prussia is"}], | |
| max_tokens=1, | |
| logprobs=True, |
This file contains hidden or 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
| { | |
| "cells": [ | |
| { | |
| "cell_type": "markdown", | |
| "metadata": {}, | |
| "source": [ | |
| "# Unit Economics: Edge vs Cloud AI Video Editor\n", | |
| "\n", | |
| "**The Thesis:** Local AI inference fundamentally changes the economics of multimodal applications.\n", | |
| "\n", |
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 8 columns, instead of 4 in line 6.
This file contains hidden or 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
| index,doc_id,enrichment_type,question,question_type,actual_answer,expected_answer,is_correct | |
| 0,10-K.html,None,What is the value of cash and cash equivalents in 2022?,Specific,The value of cash and cash equivalents in 2022 is not provided in the given context.,"16,253 $ millions",NO | |
| 1,10-K.html,None,What is the value of cash and cash equivalents in 2021?,Specific,"The value of cash and cash equivalents in 2021 is $8,028 million.","17,576 $ millions",NO | |
| 2,10-K.html,None,What is the net value of accounts receivable in 2022?,Specific,The net value of accounts receivable in 2022 is not provided in the given context.,"2,952 $ millions",NO | |
| 3,10-K.html,None,What is the net value of accounts receivable in 2021?,Specific,The net value of accounts receivable in 2021 is not provided in the given context.,"1,913 $ millions",NO | |
| 4,10-K.html,None,What is the total stockholders' equity? in 2022?,Specific,The total stockholders' equity in 2022 is not provided in the given context.,"44,704 $ millions",NO | |
| 5,10-K.html,None,What i |