efederici commited on
Commit
0c1da83
·
verified ·
1 Parent(s): e571170

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -0
README.md CHANGED
@@ -104,6 +104,27 @@ with torch.no_grad():
104
  )
105
  ```
106
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  ## Intended uses & limitations
108
 
109
  It's a beta version; it's quite `safe`, and it can refuse to answer to toxic questions.
 
104
  )
105
  ```
106
 
107
+ ## Examples
108
+
109
+ ### Mindmaps
110
+
111
+ ```python
112
+ messages = [
113
+ {"role": "system", "content": "Fornisci una mindmap Mermaid sull'argomento in input."},
114
+ {"role": "user", "content": "Argomento: [argomento]"}
115
+ ]
116
+ ```
117
+
118
+ ### SQL
119
+
120
+ ```python
121
+ schema = "[db schema]"
122
+ messages = [
123
+ {"role": "system", "content": "Sei un assistente SQL e il tuo compito è convertire la domanda dell'utente in codice SQL valido rispetto allo schema del database fornito.\n\nSchema:\n```sql\n{schema}\n```"},
124
+ {"role": "user", "content": "Conta il numero di X prodotti dall'azienda Y"}
125
+ ]
126
+ ```
127
+
128
  ## Intended uses & limitations
129
 
130
  It's a beta version; it's quite `safe`, and it can refuse to answer to toxic questions.