Skip to content

Commit 9abeb9f

Browse files
committed
Add documentation
1 parent e3a6354 commit 9abeb9f

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

docs/source/gemini.png

5.76 KB
Loading

docs/source/magics.rst

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,29 @@ Here are the magics available in xeus-cpp.
1212
%%xassist
1313
========================
1414

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.
1616

17-
- Save the api key
17+
- Save the api key (for OpenAI and Gemini)
1818

1919
.. code::
2020
2121
%%xassist model --save-key
2222
key
2323
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+
2438
- Use the model
2539

2640
.. code::
@@ -33,9 +47,10 @@ Leverage the large language models to assist in your development process. Curren
3347
.. code::
3448
3549
%%xassist model --refresh
50+
3651
37-
- Example
52+
- Examples
3853

3954
.. image:: gemini.png
4055

41-
A new prompt is sent to the model everytime and the functionality to use previous context will be added soon.
56+
.. image:: ollama.png

docs/source/ollama.png

11.3 KB
Loading

0 commit comments

Comments
 (0)