Spaces:
Runtime error
Runtime error
env bar
Browse files- .chainlit/config.toml +56 -25
- .env +0 -1
- .files/6eb341a3-19c2-4e35-8830-38100c28955d/9de2d14f-75fd-4d08-a7d4-9d2f5299acc6.txt +6 -0
- .files/6eb341a3-19c2-4e35-8830-38100c28955d/9dfdc49b-245c-44be-9fe4-da9d452c3f69.txt +17 -0
- .files/6eb341a3-19c2-4e35-8830-38100c28955d/ddf70be2-8ae7-46d0-9b14-0138b64ca00d.txt +24 -0
- .files/6eb341a3-19c2-4e35-8830-38100c28955d/f846284d-1acf-4d50-9b7d-436aea3fc444.txt +14 -0
- .files/bb867fa1-e9db-4754-b81e-1d31dbcf0aff/1f430e21-e1af-4967-ba51-14c76ddadef2.txt +10 -0
- .files/bb867fa1-e9db-4754-b81e-1d31dbcf0aff/5fffc63c-3118-4190-9e9a-49e8143c6002.txt +10 -0
- .files/bb867fa1-e9db-4754-b81e-1d31dbcf0aff/b70fd347-28a6-403c-8368-3a4dca73fae0.txt +14 -0
- .files/bb867fa1-e9db-4754-b81e-1d31dbcf0aff/beb6ccab-9ea7-481c-979d-5c18d2e8f012.txt +7 -0
- .files/d412703f-47fa-4b98-aae3-b79b1803cbd8/88b0794f-21a1-4f49-862d-bb777c889e48.txt +6 -0
- .files/d412703f-47fa-4b98-aae3-b79b1803cbd8/a59da2dc-179c-4575-a238-62ca0c66af8c.txt +14 -0
- .files/d412703f-47fa-4b98-aae3-b79b1803cbd8/e27338f1-942b-4f2a-a892-d7bc1068d179.txt +24 -0
- .files/d412703f-47fa-4b98-aae3-b79b1803cbd8/e5bc0d07-f39b-4edf-b2be-f336af6563d8.txt +17 -0
- Dockerfile +1 -1
- __pycache__/app.cpython-311.pyc +0 -0
- app.py +2 -2
- requirements.txt +2 -2
.chainlit/config.toml
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
# Whether to enable telemetry (default: true). No personal data is collected.
|
3 |
enable_telemetry = false
|
4 |
|
|
|
5 |
# List of environment variables to be provided by each user to use the app.
|
6 |
user_env = []
|
7 |
|
@@ -11,44 +12,53 @@ session_timeout = 3600
|
|
11 |
# Enable third parties caching (e.g LangChain cache)
|
12 |
cache = false
|
13 |
|
|
|
|
|
|
|
14 |
# Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317)
|
15 |
# follow_symlink = false
|
16 |
|
17 |
[features]
|
18 |
-
# Show the prompt playground
|
19 |
-
prompt_playground = true
|
20 |
-
|
21 |
# Process and display HTML in messages. This can be a security risk (see https://stackoverflow.com/questions/19603097/why-is-it-dangerous-to-render-user-generated-html-or-javascript)
|
22 |
unsafe_allow_html = true
|
23 |
|
24 |
# Process and display mathematical expressions. This can clash with "$" characters in messages.
|
25 |
latex = false
|
26 |
|
27 |
-
#
|
28 |
-
|
29 |
-
|
30 |
-
#
|
31 |
-
[features.
|
32 |
-
enabled =
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
[UI]
|
37 |
-
# Name of the
|
38 |
-
name = "
|
39 |
|
40 |
-
#
|
41 |
-
show_readme_as_default = true
|
42 |
-
|
43 |
-
# Description of the app and chatbot. This is used for HTML tags.
|
44 |
# description = ""
|
45 |
|
46 |
# Large size content are by default collapsed for a cleaner ui
|
47 |
default_collapse_content = true
|
48 |
|
49 |
-
# The default value for the expand messages settings.
|
50 |
-
default_expand_messages = false
|
51 |
-
|
52 |
# Hide the chain of thought details from the user in the UI.
|
53 |
hide_cot = false
|
54 |
|
@@ -59,18 +69,37 @@ hide_cot = false
|
|
59 |
# The CSS file can be served from the public directory or via an external link.
|
60 |
custom_css = "/public/stylesheet.css"
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
[UI.theme]
|
63 |
default = "light"
|
64 |
-
|
|
|
65 |
# Override default MUI light theme. (Check theme.ts)
|
66 |
[UI.theme.light]
|
67 |
-
#background = "#
|
68 |
-
#paper = "#
|
69 |
|
70 |
[UI.theme.light.primary]
|
71 |
main = "#008080"
|
72 |
dark = "#980039"
|
73 |
light = "#b2d8d8"
|
|
|
|
|
|
|
74 |
|
75 |
# Override default MUI dark theme. (Check theme.ts)
|
76 |
[UI.theme.dark]
|
@@ -81,7 +110,9 @@ custom_css = "/public/stylesheet.css"
|
|
81 |
#main = "#F80061"
|
82 |
#dark = "#980039"
|
83 |
#light = "#FFE7EB"
|
84 |
-
|
|
|
|
|
85 |
|
86 |
[meta]
|
87 |
-
generated_by = "
|
|
|
2 |
# Whether to enable telemetry (default: true). No personal data is collected.
|
3 |
enable_telemetry = false
|
4 |
|
5 |
+
|
6 |
# List of environment variables to be provided by each user to use the app.
|
7 |
user_env = []
|
8 |
|
|
|
12 |
# Enable third parties caching (e.g LangChain cache)
|
13 |
cache = false
|
14 |
|
15 |
+
# Authorized origins
|
16 |
+
allow_origins = ["*"]
|
17 |
+
|
18 |
# Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317)
|
19 |
# follow_symlink = false
|
20 |
|
21 |
[features]
|
|
|
|
|
|
|
22 |
# Process and display HTML in messages. This can be a security risk (see https://stackoverflow.com/questions/19603097/why-is-it-dangerous-to-render-user-generated-html-or-javascript)
|
23 |
unsafe_allow_html = true
|
24 |
|
25 |
# Process and display mathematical expressions. This can clash with "$" characters in messages.
|
26 |
latex = false
|
27 |
|
28 |
+
# Automatically tag threads with the current chat profile (if a chat profile is used)
|
29 |
+
auto_tag_thread = true
|
30 |
+
|
31 |
+
# Authorize users to spontaneously upload files with messages
|
32 |
+
[features.spontaneous_file_upload]
|
33 |
+
enabled = true
|
34 |
+
accept = ["*/*"]
|
35 |
+
max_files = 20
|
36 |
+
max_size_mb = 500
|
37 |
+
|
38 |
+
[features.audio]
|
39 |
+
# Threshold for audio recording
|
40 |
+
min_decibels = -45
|
41 |
+
# Delay for the user to start speaking in MS
|
42 |
+
initial_silence_timeout = 3000
|
43 |
+
# Delay for the user to continue speaking in MS. If the user stops speaking for this duration, the recording will stop.
|
44 |
+
silence_timeout = 1500
|
45 |
+
# Above this duration (MS), the recording will forcefully stop.
|
46 |
+
max_duration = 15000
|
47 |
+
# Duration of the audio chunks in MS
|
48 |
+
chunk_duration = 1000
|
49 |
+
# Sample rate of the audio
|
50 |
+
sample_rate = 44100
|
51 |
|
52 |
[UI]
|
53 |
+
# Name of the assistant.
|
54 |
+
name = "Assistant"
|
55 |
|
56 |
+
# Description of the assistant. This is used for HTML tags.
|
|
|
|
|
|
|
57 |
# description = ""
|
58 |
|
59 |
# Large size content are by default collapsed for a cleaner ui
|
60 |
default_collapse_content = true
|
61 |
|
|
|
|
|
|
|
62 |
# Hide the chain of thought details from the user in the UI.
|
63 |
hide_cot = false
|
64 |
|
|
|
69 |
# The CSS file can be served from the public directory or via an external link.
|
70 |
custom_css = "/public/stylesheet.css"
|
71 |
|
72 |
+
# Specify a Javascript file that can be used to customize the user interface.
|
73 |
+
# The Javascript file can be served from the public directory.
|
74 |
+
# custom_js = "/public/test.js"
|
75 |
+
|
76 |
+
# Specify a custom font url.
|
77 |
+
# custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
|
78 |
+
|
79 |
+
# Specify a custom meta image url.
|
80 |
+
# custom_meta_image_url = "https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png"
|
81 |
+
|
82 |
+
# Specify a custom build directory for the frontend.
|
83 |
+
# This can be used to customize the frontend code.
|
84 |
+
# Be careful: If this is a relative path, it should not start with a slash.
|
85 |
+
# custom_build = "./public/build"
|
86 |
+
|
87 |
[UI.theme]
|
88 |
default = "light"
|
89 |
+
#layout = "wide"
|
90 |
+
#font_family = "Inter, sans-serif"
|
91 |
# Override default MUI light theme. (Check theme.ts)
|
92 |
[UI.theme.light]
|
93 |
+
#background = "#FAFAFA"
|
94 |
+
#paper = "#FFFFFF"
|
95 |
|
96 |
[UI.theme.light.primary]
|
97 |
main = "#008080"
|
98 |
dark = "#980039"
|
99 |
light = "#b2d8d8"
|
100 |
+
[UI.theme.light.text]
|
101 |
+
#primary = "#212121"
|
102 |
+
#secondary = "#616161"
|
103 |
|
104 |
# Override default MUI dark theme. (Check theme.ts)
|
105 |
[UI.theme.dark]
|
|
|
110 |
#main = "#F80061"
|
111 |
#dark = "#980039"
|
112 |
#light = "#FFE7EB"
|
113 |
+
[UI.theme.dark.text]
|
114 |
+
#primary = "#EEEEEE"
|
115 |
+
#secondary = "#BDBDBD"
|
116 |
|
117 |
[meta]
|
118 |
+
generated_by = "1.1.304"
|
.env
CHANGED
@@ -1,2 +1 @@
|
|
1 |
OPENAI_API_KEY=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
|
2 |
-
WANDB_API_KEY=825feb2d7343df911a0da7fc8775e2a1b15c6e84
|
|
|
1 |
OPENAI_API_KEY=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
|
|
.files/6eb341a3-19c2-4e35-8830-38100c28955d/9de2d14f-75fd-4d08-a7d4-9d2f5299acc6.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
As of both December 31, 2023 and March 31, 2024, total outstanding debt, net of unamortized debt discount and debit issuance costs, was $2.0 billion. Interest expense was
|
2 |
+
immaterial for both the three months ended March 31, 2023 and 2024.
|
3 |
+
As of March 31, 2024, the if-converted value of the 2026 Notes did not exceed the outstanding principal amount.
|
4 |
+
As of March 31, 2024, the total estimated fair value of the 2026 Notes was $1.9 billion and was determined based on a market approach using actual bids and offers of the 2026
|
5 |
+
Notes in an over-the-counter market on the last trading day of the period, or Level 2 inputs.
|
6 |
+
2022 Credit Facility
|
.files/6eb341a3-19c2-4e35-8830-38100c28955d/9dfdc49b-245c-44be-9fe4-da9d452c3f69.txt
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The following table summarizes the Company’s financial assets and liabilities measured at fair value on a recurring basis (in millions):
|
2 |
+
December 31, 2023
|
3 |
+
Level 1 Level 2 Level 3 Total
|
4 |
+
Assets
|
5 |
+
Cash and cash equivalents:
|
6 |
+
Money market funds $ 2,018 $ — $ — $ 2,018
|
7 |
+
Certificates of deposit — 1 — 1
|
8 |
+
Government bonds — 115 — 115
|
9 |
+
Commercial paper — 223 — 223
|
10 |
+
Corporate debt securities — 12 — 12
|
11 |
+
2,018 351 — 2,369
|
12 |
+
Short-term investments:
|
13 |
+
Certificates of deposit — 172 — 172
|
14 |
+
Government bonds — 333 — 333
|
15 |
+
Commercial paper — 366 — 366
|
16 |
+
Corporate debt securities — 1,491 — 1,491
|
17 |
+
Mortgage-backed and asset-backed securities — 145 — 145
|
.files/6eb341a3-19c2-4e35-8830-38100c28955d/ddf70be2-8ae7-46d0-9b14-0138b64ca00d.txt
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Short-term investments
|
2 |
+
Debt securities:
|
3 |
+
Certificates of deposit $ 172 $ — $ — $ 172
|
4 |
+
Government bonds 332 1 — 333
|
5 |
+
Commercial paper 366 — — 366
|
6 |
+
Corporate debt securities 1,490 4 (3) 1,491
|
7 |
+
Mortgage-backed and asset-backed securities 148 1 (4) 145
|
8 |
+
Total debt securities 2,508 6 (7) 2,507
|
9 |
+
Time deposits 690 — — 690
|
10 |
+
Total short-term investments $ 3,198 $ 6 $ (7)$ 3,197
|
11 |
+
Long-term investments
|
12 |
+
Debt securities:
|
13 |
+
Corporate debt securities $ 13 $ — $ (9)$ 4
|
14 |
+
March 31, 2024
|
15 |
+
Amortized
|
16 |
+
CostGross
|
17 |
+
Unrealized
|
18 |
+
GainsGross
|
19 |
+
Unrealized
|
20 |
+
LossesTotal
|
21 |
+
Estimated
|
22 |
+
Fair Value
|
23 |
+
Short-term investments
|
24 |
+
Debt securities:
|
.files/6eb341a3-19c2-4e35-8830-38100c28955d/f846284d-1acf-4d50-9b7d-436aea3fc444.txt
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Table of Contents
|
2 |
+
Airbnb, Inc.
|
3 |
+
Notes to Condensed Consolidated Financial Statements (unaudited)
|
4 |
+
Note 3. Supplemental Financial Statement Information
|
5 |
+
Cash, Cash Equivalents, and Restricted Cash
|
6 |
+
The following table reconciles cash, cash equivalents, and restricted cash reported on the Company’s unaudited condensed consolidated balance sheets to the total amount
|
7 |
+
presented in the unaudited condensed consolidated statements of cash flows (in millions):
|
8 |
+
December 31,
|
9 |
+
2023March 31,
|
10 |
+
2024
|
11 |
+
Cash and cash equivalents $ 6,874 $ 7,829
|
12 |
+
Cash and cash equivalents included in funds receivable and amounts held on behalf of customers 5,769 8,665
|
13 |
+
Restricted cash included in prepaids and other current assets 24 35
|
14 |
+
Total cash, cash equivalents, and restricted cash presented in the unaudited condensed consolidated statements of cash flows $ 12,667 $ 16,529
|
.files/bb867fa1-e9db-4754-b81e-1d31dbcf0aff/1f430e21-e1af-4967-ba51-14c76ddadef2.txt
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Table of Contents
|
2 |
+
Item 5. Other Information
|
3 |
+
Director and Officer 10b5-1 Trading Plans (“10b5-1 Plans”)
|
4 |
+
The following table sets forth the material terms of 10b5-1 Plans intended to satisfy the affirmative defense conditions of Rule 10b5–1(c) that were adopted, terminated, or modified
|
5 |
+
by our directors and officers during the three months ended March 31, 2024:
|
6 |
+
Name and Title of Director or Officer Action Date Expiration DateMaximum Number of
|
7 |
+
Shares to be Sold
|
8 |
+
Under the Plan
|
9 |
+
David Bernstein, Chief Accounting Officer Adopt 2/22/2024 1/27/2025 41,000
|
10 |
+
Brian Chesky, Chief Executive Officer and Director Adopt 2/28/2024 11/11/2024 1,146,000
|
.files/bb867fa1-e9db-4754-b81e-1d31dbcf0aff/5fffc63c-3118-4190-9e9a-49e8143c6002.txt
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(1)Includes broker commissions.
|
2 |
+
(2)On May 9, 2023 and February 13, 2024, we announced that our board of directors approved share repurchase programs with authorization to purchase up to $2.5 billion and
|
3 |
+
$6.0 billion of our Class A common stock, respectively, at management’s discretion. The Company has repurchased the full amount of shares authorized for repurchase under
|
4 |
+
the May 2023 repurchase program. The share repurchase programs do not have an expiration date, do not obligate us to repurchase any specific number of shares, and may
|
5 |
+
be modified, suspended or terminated at any time at our discretion.
|
6 |
+
Item 3. Defaults Upon Senior Securities
|
7 |
+
None.
|
8 |
+
Item 4. Mine Safety Disclosures
|
9 |
+
Not applicable.(1) (2)
|
10 |
+
29
|
.files/bb867fa1-e9db-4754-b81e-1d31dbcf0aff/b70fd347-28a6-403c-8368-3a4dca73fae0.txt
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Table of Contents
|
2 |
+
Airbnb, Inc.
|
3 |
+
Notes to Condensed Consolidated Financial Statements (unaudited)
|
4 |
+
Additionally, the following securities were not included in the computation of diluted shares outstanding because the effect would be anti-dilutive (in millions):
|
5 |
+
Three Months Ended
|
6 |
+
March 31,
|
7 |
+
2023 2024
|
8 |
+
Stock options 1 2
|
9 |
+
RSUs 8 4
|
10 |
+
Total 9 6
|
11 |
+
Share Repurchase Program
|
12 |
+
In May 2023 and February 2024, the Company announced that its board of directors approved share repurchase programs to purchase up to $2.5 billion and $6.0 billion of the
|
13 |
+
Company’s Class A common stock, respectively.
|
14 |
+
Share repurchases under these share repurchase programs may be made through a variety of methods, such as open market purchases, privately negotiated transactions, block
|
.files/bb867fa1-e9db-4754-b81e-1d31dbcf0aff/beb6ccab-9ea7-481c-979d-5c18d2e8f012.txt
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
trades or accelerated share repurchase transactions or by any combination of such methods. Any such repurchases will be made from time to time subject to market and economic
|
2 |
+
conditions, applicable legal requirements and other relevant factors. These share repurchase programs do not obligate the Company to repurchase any specific number of shares
|
3 |
+
and may be modified, suspended or terminated at any time at the Company’s discretion.
|
4 |
+
During the three months ended March 31, 2024, the Company repurchased and subsequently retired 4.7 million shares of Class A common stock for $750 million, which completed
|
5 |
+
the repurchases authorized under the share repurchase program announced in May 2023. As of March 31, 2024, the Company had $6.0 billion available to repurchase shares of
|
6 |
+
Class A common stock under its share repurchase program.
|
7 |
+
19
|
.files/d412703f-47fa-4b98-aae3-b79b1803cbd8/88b0794f-21a1-4f49-862d-bb777c889e48.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
As of both December 31, 2023 and March 31, 2024, total outstanding debt, net of unamortized debt discount and debit issuance costs, was $2.0 billion. Interest expense was
|
2 |
+
immaterial for both the three months ended March 31, 2023 and 2024.
|
3 |
+
As of March 31, 2024, the if-converted value of the 2026 Notes did not exceed the outstanding principal amount.
|
4 |
+
As of March 31, 2024, the total estimated fair value of the 2026 Notes was $1.9 billion and was determined based on a market approach using actual bids and offers of the 2026
|
5 |
+
Notes in an over-the-counter market on the last trading day of the period, or Level 2 inputs.
|
6 |
+
2022 Credit Facility
|
.files/d412703f-47fa-4b98-aae3-b79b1803cbd8/a59da2dc-179c-4575-a238-62ca0c66af8c.txt
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Table of Contents
|
2 |
+
Airbnb, Inc.
|
3 |
+
Notes to Condensed Consolidated Financial Statements (unaudited)
|
4 |
+
Note 3. Supplemental Financial Statement Information
|
5 |
+
Cash, Cash Equivalents, and Restricted Cash
|
6 |
+
The following table reconciles cash, cash equivalents, and restricted cash reported on the Company’s unaudited condensed consolidated balance sheets to the total amount
|
7 |
+
presented in the unaudited condensed consolidated statements of cash flows (in millions):
|
8 |
+
December 31,
|
9 |
+
2023March 31,
|
10 |
+
2024
|
11 |
+
Cash and cash equivalents $ 6,874 $ 7,829
|
12 |
+
Cash and cash equivalents included in funds receivable and amounts held on behalf of customers 5,769 8,665
|
13 |
+
Restricted cash included in prepaids and other current assets 24 35
|
14 |
+
Total cash, cash equivalents, and restricted cash presented in the unaudited condensed consolidated statements of cash flows $ 12,667 $ 16,529
|
.files/d412703f-47fa-4b98-aae3-b79b1803cbd8/e27338f1-942b-4f2a-a892-d7bc1068d179.txt
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Short-term investments
|
2 |
+
Debt securities:
|
3 |
+
Certificates of deposit $ 172 $ — $ — $ 172
|
4 |
+
Government bonds 332 1 — 333
|
5 |
+
Commercial paper 366 — — 366
|
6 |
+
Corporate debt securities 1,490 4 (3) 1,491
|
7 |
+
Mortgage-backed and asset-backed securities 148 1 (4) 145
|
8 |
+
Total debt securities 2,508 6 (7) 2,507
|
9 |
+
Time deposits 690 — — 690
|
10 |
+
Total short-term investments $ 3,198 $ 6 $ (7)$ 3,197
|
11 |
+
Long-term investments
|
12 |
+
Debt securities:
|
13 |
+
Corporate debt securities $ 13 $ — $ (9)$ 4
|
14 |
+
March 31, 2024
|
15 |
+
Amortized
|
16 |
+
CostGross
|
17 |
+
Unrealized
|
18 |
+
GainsGross
|
19 |
+
Unrealized
|
20 |
+
LossesTotal
|
21 |
+
Estimated
|
22 |
+
Fair Value
|
23 |
+
Short-term investments
|
24 |
+
Debt securities:
|
.files/d412703f-47fa-4b98-aae3-b79b1803cbd8/e5bc0d07-f39b-4edf-b2be-f336af6563d8.txt
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The following table summarizes the Company’s financial assets and liabilities measured at fair value on a recurring basis (in millions):
|
2 |
+
December 31, 2023
|
3 |
+
Level 1 Level 2 Level 3 Total
|
4 |
+
Assets
|
5 |
+
Cash and cash equivalents:
|
6 |
+
Money market funds $ 2,018 $ — $ — $ 2,018
|
7 |
+
Certificates of deposit — 1 — 1
|
8 |
+
Government bonds — 115 — 115
|
9 |
+
Commercial paper — 223 — 223
|
10 |
+
Corporate debt securities — 12 — 12
|
11 |
+
2,018 351 — 2,369
|
12 |
+
Short-term investments:
|
13 |
+
Certificates of deposit — 172 — 172
|
14 |
+
Government bonds — 333 — 333
|
15 |
+
Commercial paper — 366 — 366
|
16 |
+
Corporate debt securities — 1,491 — 1,491
|
17 |
+
Mortgage-backed and asset-backed securities — 145 — 145
|
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.
|
2 |
RUN useradd -m -u 1000 user
|
3 |
USER user
|
4 |
ENV HOME=/home/user \
|
|
|
1 |
+
FROM python:3.10
|
2 |
RUN useradd -m -u 1000 user
|
3 |
USER user
|
4 |
ENV HOME=/home/user \
|
__pycache__/app.cpython-311.pyc
CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
|
|
app.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
import chainlit as cl # importing chainlit for our app
|
4 |
from dotenv import load_dotenv
|
5 |
|
6 |
-
from
|
7 |
from langchain_openai import ChatOpenAI
|
8 |
from langchain_core.prompts import ChatPromptTemplate
|
9 |
import tiktoken
|
@@ -33,7 +33,7 @@ Also add CONTEXT vs PRIOR tag: break answer to what you find in provided context
|
|
33 |
"""
|
34 |
|
35 |
data_path = "data/airbnb_midterm.pdf"
|
36 |
-
docs =
|
37 |
openai_chat_model = ChatOpenAI(model="gpt-4o") #gpt-4o
|
38 |
|
39 |
def tiktoken_len(text):
|
|
|
3 |
import chainlit as cl # importing chainlit for our app
|
4 |
from dotenv import load_dotenv
|
5 |
|
6 |
+
from langchain_community.document_loaders import PyPDFLoader
|
7 |
from langchain_openai import ChatOpenAI
|
8 |
from langchain_core.prompts import ChatPromptTemplate
|
9 |
import tiktoken
|
|
|
33 |
"""
|
34 |
|
35 |
data_path = "data/airbnb_midterm.pdf"
|
36 |
+
docs = PyPDFLoader(data_path).load()
|
37 |
openai_chat_model = ChatOpenAI(model="gpt-4o") #gpt-4o
|
38 |
|
39 |
def tiktoken_len(text):
|
requirements.txt
CHANGED
@@ -8,5 +8,5 @@ langchain_huggingface==0.0.3
|
|
8 |
langchain_text_splitters==0.2.1
|
9 |
python-dotenv==1.0.1
|
10 |
qdrant-client
|
11 |
-
|
12 |
-
tiktoken
|
|
|
8 |
langchain_text_splitters==0.2.1
|
9 |
python-dotenv==1.0.1
|
10 |
qdrant-client
|
11 |
+
pypdf
|
12 |
+
tiktoken
|