-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
348 additions
and
26 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Chat Interface</title> | ||
<style> | ||
body { | ||
background-color: #f2f2f2; | ||
font-family: Arial, sans-serif; | ||
} | ||
|
||
.chat-container { | ||
width: 400px; | ||
margin: 0 auto; | ||
background-color: #fff; | ||
border-radius: 8px; | ||
padding: 20px; | ||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.message { | ||
margin-bottom: 10px; | ||
display: flex; | ||
} | ||
|
||
.message .bubble { | ||
max-width: 70%; | ||
padding: 10px 15px; | ||
border-radius: 20px; | ||
} | ||
|
||
.message .user-bubble { | ||
background-color: #4e8cff; | ||
color: #fff; | ||
margin-left: auto; | ||
} | ||
|
||
.message .assistant-bubble { | ||
background-color: #f2f2f2; | ||
color: #333; | ||
margin-right: auto; | ||
} | ||
|
||
.input-container { | ||
margin-top: 20px; | ||
display: flex; | ||
} | ||
|
||
.input-container input { | ||
flex: 1; | ||
padding: 10px; | ||
border-radius: 4px; | ||
border: 1px solid #ccc; | ||
font-size: 14px; | ||
} | ||
|
||
.input-container button { | ||
padding: 10px 15px; | ||
background-color: #4e8cff; | ||
color: #fff; | ||
border: none; | ||
border-radius: 4px; | ||
margin-left: 10px; | ||
font-size: 14px; | ||
cursor: pointer; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="chat-container"> | ||
<div class="message"> | ||
<div class="bubble user-bubble"> | ||
Hey, how can I help you? | ||
</div> | ||
</div> | ||
<div class="message"> | ||
<div class="bubble assistant-bubble"> | ||
I'm an AI assistant. How can I assist you today? | ||
</div> | ||
</div> | ||
<!-- Add more messages here --> | ||
|
||
<div class="input-container"> | ||
<input type="text" id="message-input" placeholder="Type your message"> | ||
<button onclick="sendMessage()">Send</button> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
function sendMessage() { | ||
var input = document.getElementById("message-input"); | ||
var message = input.value; | ||
input.value = ""; | ||
|
||
var messageContainer = document.createElement("div"); | ||
messageContainer.className = "message"; | ||
|
||
var bubble = document.createElement("div"); | ||
bubble.className = "bubble user-bubble"; | ||
bubble.innerHTML = message; | ||
|
||
messageContainer.appendChild(bubble); | ||
|
||
var chatContainer = document.getElementsByClassName("chat-container")[0]; | ||
chatContainer.appendChild(messageContainer); | ||
|
||
// Scroll to the bottom of the chat container | ||
chatContainer.scrollTop = chatContainer.scrollHeight; | ||
} | ||
</script> | ||
</body> | ||
</html> | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Today's date: Saturday, May 20th, 2023 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Today's date: Sunday, March 26th, 2023 | ||
Weather for San Antonio, Texas: Overcast 64°F | ||
The SPY ticker price is: 395.75 | ||
Top 5 news headlines: | ||
New tornadoes menace Georgia as Biden approves disaster relief for Mississippi - ABC News | ||
Russia plans to station tactical nuclear weapons in Belarus, Putin says - CNN | ||
Trump treats himself after first 2024 rally speech in Waco – with McDonald’s - The Independent | ||
Biden's FAA nominee bows out, after senators waver - POLITICO | ||
12 injured in floor collapse at off-campus apartment party near Indiana University of Pennsylvania - CNN | ||
Top 5 market headlines: | ||
Intel co-founder Gordon Moore dies at 94. | ||
Iovance Biotherapeutics completes license application submission for advanced melanoma therapy; shares rally. | ||
McMahon agreed to reimburse WWE for investigation into misconduct allegations. | ||
Softbank to merge with AI robotics company in which it had invested. | ||
Rivian relocates engineers to Illinois factory, California HQ to increase production speedreport. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Top 5 news headlines: | ||
Covenant School shooter was under care for emotional disorder and hid guns at home, police say - CNN | ||
Pence Must Testify to Jan. 6 Grand Jury, Judge Rules - The New York Times | ||
At least 39 die in migrant center fire by U.S.-Mexico border - Los Angeles Times | ||
Vice President Harris wiped away tears as she toured Ghana's Cape Coast slave castle - NPR | ||
'Serial' murder case: Adnan Syed's conviction is reinstated - NBC News | ||
Top 5 news headlines: | ||
Covenant School shooter was under care for emotional disorder and hid guns at home, police say - CNN | ||
Pence Must Testify to Jan. 6 Grand Jury, Judge Rules - The New York Times | ||
At least 39 die in migrant center fire by U.S.-Mexico border - Los Angeles Times | ||
Vice President Harris wiped away tears as she toured Ghana's Cape Coast slave castle - NPR | ||
'Serial' murder case: Adnan Syed's conviction is reinstated - NBC News |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Top 5 market headlines are: | ||
American, JetBlue alliance blocked by judge. | ||
U.S. stocks end lower, but Nasdaq posts longest weekly win streak since February. | ||
Oil prices mark first weekly gain in 5 weeks; natural-gas futures end the week 14% higher. | ||
Krystal Biotech stock rises after FDA approves treatment for rare skin disease. | ||
Gold futures log biggest weekly loss in over 3 months. | ||
SPY ticker Price: 418.62 Change: -0.145% | ||
GOLD ticker Price: 17.86 Change: 0.280% | ||
HMY ticker Price: 4.82 Change: -0.207% | ||
WEAT ticker Price: 6.14 Change: -0.486% | ||
ONL ticker Price: 5.9 Change: 0.340% | ||
VET ticker Price: 12.05 Change: 1.687% | ||
MMM ticker Price: 99.03 Change: -0.612% | ||
DOW ticker Price: 51.95 Change: 0.154% | ||
QYLD ticker Price: 17.57 Change: -0.340% | ||
RYLD ticker Price: 18.09 Change: -1.255% |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Top 5 news headlines are: | ||
Ukraine's Zelenskyy arrives in Hiroshima for G7 summit as world leaders sanction Russia - The Associated Press | ||
Russia’s Wagner group claims to have captured Bakhmut but Ukraine says it still controls a part of it - CNN | ||
Nebraska lawmakers pass 12-week abortion ban, restrictions on gender-affirmin - NPR | ||
Republicans and Democrats don't like debt ceiling negotiations - The Washington Post | ||
Russia warns West sending F-16s to Ukraine ‘carries enormous risks’: TASS - POLITICO Europe |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The SPY ticker price is: 395.6 | ||
The SPY ticker price is: 395.6 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Weather for San Antonio, Texas: Partly cloudy +23°C |
File renamed without changes
File renamed without changes
Empty file.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.