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
Copy file name to clipboardExpand all lines: docs/source/magics.rst
+19-4Lines changed: 19 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,29 @@ Here are the magics available in xeus-cpp.
12
12
%%xassist
13
13
========================
14
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.
15
+
Leverage the large language models to assist in your development process. Currently supported models are Gemini, OpenAI, Ollama.
16
16
17
-
- Save the api key
17
+
- Save the api key (for OpenAI and Gemini)
18
18
19
19
.. code::
20
20
21
21
%%xassist model --save-key
22
22
key
23
23
24
+
- Save the model
25
+
26
+
- Set the response url (for Ollama)
27
+
28
+
.. code::
29
+
30
+
%%xassist model --set-url
31
+
key
32
+
33
+
.. code::
34
+
35
+
%%xassist model --save-model
36
+
key
37
+
24
38
- Use the model
25
39
26
40
.. code::
@@ -33,9 +47,10 @@ Leverage the large language models to assist in your development process. Curren
33
47
.. code::
34
48
35
49
%%xassist model --refresh
50
+
36
51
37
-
- Example
52
+
- Examples
38
53
39
54
.. image:: gemini.png
40
55
41
-
A new prompt is sent to the model everytime and the functionality to use previous context will be added soon.
0 commit comments