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

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md CHANGED
@@ -125,6 +125,22 @@ messages = [
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.
 
125
  ]
126
  ```
127
 
128
+ ### Article from index
129
+
130
+ ```python
131
+ messages = [
132
+ {"role": "system", "content": "Sei un assistente utile."},
133
+ {"role": "user", "content": (
134
+ "Scrivi un articolo a partire dal titolo e dall'indice dei contenuti.\n\n"
135
+ "Titolo: [titolo]\n\n"
136
+ "Indice:\n\n"
137
+ "1. Introduzione\n"
138
+ "2. [heading]\n"
139
+ "..."
140
+ )}
141
+ ]
142
+ ```
143
+
144
  ## Intended uses & limitations
145
 
146
  It's a beta version; it's quite `safe`, and it can refuse to answer to toxic questions.