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
Magics are special commands for the kernel that are not part of the C++
5
+
programming language.
6
+
7
+
There are defined with the symbol ``%`` for a line magic and ``%%`` for a cell
8
+
magic.
9
+
10
+
Here are the magics available in xeus-cpp.
11
+
12
+
%%xassist
13
+
========================
14
+
15
+
Leverage the large language models to assist in your development process. Currently supported models are Gemini - gemini-1.5-flash, OpenAI - gpt-3.5-turbo-16k.
16
+
17
+
- Save the api key
18
+
19
+
.. code::
20
+
21
+
%%xassist model --save-key
22
+
key
23
+
24
+
- Use the model
25
+
26
+
.. code::
27
+
28
+
%%xassist model
29
+
prompt
30
+
31
+
- Reset model and clear chat history
32
+
33
+
.. code::
34
+
35
+
%%xassist model --refresh
36
+
37
+
- Example
38
+
39
+
.. image:: gemini.png
40
+
41
+
A new prompt is sent to the model everytime and the functionality to use previous context will be added soon.
0 commit comments