Skip to content

Commit 5835960

Browse files
committed
Site's update for adding qchat and new information
1 parent 44adec4 commit 5835960

2 files changed

Lines changed: 27 additions & 2 deletions

File tree

index.html

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@ <h1>Persioqq (Henrique)</h1>
1010
<hr>
1111
<p>My Linkedin: <a href="https://www.linkedin.com/in/henrique-surian-stobbe-9a4942332" target="_blank">https://www.linkedin.com/in/henrique-surian-stobbe-9a4942332</a></p>
1212
<p>My GitHub: <a href="https://github.com/Persioqq" target="_blank">https://github.com/Persioqq</a></p>
13+
1314
<hr>
15+
<h2>About me</h2>
16+
<p>Hello! I am Henrique from Brazil! I started to code when I was 11 years old by the curiosity and by the fun of building things. Currently I am finishing the high school and preparing for the university. I like science, literature, journalism and technology.</p>
17+
<hr>
1418
<h2>Projects</h2>
1519
<ul>
20+
<li><a href="#qchat">qchat</a></li>
1621
<li><a href="#qcsv">qcsv</a></li>
1722
<li><a href="#qpost">qpost</a></li>
1823
<li><a href="#qbuild">qbuild</a></li>
@@ -21,6 +26,26 @@ <h2>Projects</h2>
2126
<li><a href="#qcalc">qcalc</a></li>
2227
</ul>
2328
<hr>
29+
<h2 id='qchat'>qchat</h2>
30+
<p>
31+
QChat is a simplier way to use the OpenAI's API for interacting with the models easily and for developing small agents.</p>
32+
<p><strong>Example:</strong></p>
33+
<pre>
34+
from qchat import QChat
35+
36+
chat = QChat('secret',
37+
'https://chat.maritaca.ai/api',
38+
'sabiazinho-3', 12000)
39+
40+
chat.add_system_role('Show the factorial of the number which the user will request.')
41+
chat.add_user_question('5')
42+
chat.add_assistant_response('120')
43+
chat.add_user_question('What is the result that you have just shown?')
44+
chat.complete()
45+
46+
print(chat) # This will show the entire chat!
47+
</pre>
48+
<hr>
2449
<h2 id='qcsv'>qcsv</h2>
2550
<p>
2651
A simple C++ CSV reader. Inspired by Python Pandas.</p>
@@ -106,6 +131,6 @@ <h2 id='qcalc'>qcalc</h2>
106131
<p>Contact: [email protected]</p>
107132
<p>Bitcoin address: bc1q26xvdv00hpca02v5nv86yft62jyvxu7s9z7yze</p>
108133
<hr>
109-
<font size="-1">Last update: 23/2/2025</font>
134+
<font size="-1">Last update: 25/11/2025</font>
110135
</body>
111136
</html>

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
body {
22
margin: auto;
3-
max-width: 80ex;
3+
max-width: 87ex;
44
line-height: 1.5;
55
font-family: sans-serif;
66
}

0 commit comments

Comments
 (0)