You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<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>
14
18
<h2>Projects</h2>
15
19
<ul>
20
+
<li><ahref="#qchat">qchat</a></li>
16
21
<li><ahref="#qcsv">qcsv</a></li>
17
22
<li><ahref="#qpost">qpost</a></li>
18
23
<li><ahref="#qbuild">qbuild</a></li>
@@ -21,6 +26,26 @@ <h2>Projects</h2>
21
26
<li><ahref="#qcalc">qcalc</a></li>
22
27
</ul>
23
28
<hr>
29
+
<h2id='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>
24
49
<h2id='qcsv'>qcsv</h2>
25
50
<p>
26
51
A simple C++ CSV reader. Inspired by Python Pandas.</p>
0 commit comments