a5bb9937 by RSA

wip

1 parent 044faa07
...@@ -122,6 +122,7 @@ function App() { ...@@ -122,6 +122,7 @@ function App() {
122 temperature={temperature} 122 temperature={temperature}
123 clearChat={clearChat} 123 clearChat={clearChat}
124 /> 124 />
125
125 <ChatBox 126 <ChatBox
126 chatInput={chatInput} 127 chatInput={chatInput}
127 chatLog={chatLog} 128 chatLog={chatLog}
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
3 // Primary Chat Window 3 // Primary Chat Window
4 const ChatBox = ({chatLog, setChatInput, handleSubmit, chatInput}) => 4 const ChatBox = ({chatLog, setChatInput, handleSubmit, chatInput}) =>
5 <section className="chatbox"> 5 <section className="chatbox">
6 <SuggestedOptions />
6 <div className="chat-log"> 7 <div className="chat-log">
7 {chatLog.map((message, index) => ( 8 {chatLog.map((message, index) => (
8 <ChatMessage key={index} message={message} /> 9 <ChatMessage key={index} message={message} />
......
1 const SuggestedOptions = () => (
2 <div>
3 <h1>Welcome to ChatGPT Clone</h1>
4 <p>This chatbot is capable of answering questions and generating text based on the input you provide.</p>
5 <h2>Examples</h2>
6 <ul>
7 <li>What is the capital of France?</li>
8 <li>Generate a poem about love</li>
9 <li>What is the most populous country in the world?</li>
10 </ul>
11 <h2>Capabilities</h2>
12 <ul>
13 <li>Answering questions</li>
14 <li>Generating text</li>
15 <li>Providing information on a variety of topics</li>
16 </ul>
17 <h2>Limitations</h2>
18 <ul>
19 <li>The chatbot may not have the latest information</li>
20 <li>The chatbot may not be able to answer all questions</li>
21 <li>The chatbot may not provide information in the desired format</li>
22 </ul>
23 </div>
24 );
25
26 export default SuggestedOptions;
...\ No newline at end of file ...\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!