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: meet_reduce/gpt.py
+30-10Lines changed: 30 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -248,15 +248,24 @@ def get_keywords(text, gpt, r = 4):
248
248
249
249
###
250
250
251
-
Text: "Black-on-black ware is a 20th- and 21st-century pottery tradition developed by the Puebloan Native American ceramic artists in Northern New Mexico. Traditional reduction-fired blackware has been made for centuries by pueblo artists. Black-on-black ware of the past century is produced with a smooth surface, with the designs applied through selective burnishing or the application of refractory slip. Another style involves carving or incising designs and selectively polishing the raised areas. For generations several families from Kha'po Owingeh and P'ohwhóge Owingeh pueblos have been making black-on-black ware with the techniques passed down from matriarch potters. Artists from other pueblos have also produced black-on-black ware. Several contemporary artists have created works honoring the pottery of their ancestors."
251
+
Text: "Black-on-black ware is a 20th- and 21st-century pottery tradition developed by the
252
+
Puebloan Native American ceramic artists in Northern New Mexico. Traditional reduction-fired
253
+
blackware has been made for centuries by pueblo artists. Black-on-black ware of the past century
254
+
is produced with a smooth surface, with the designs applied through selective burnishing or the
255
+
application of refractory slip. Another style involves carving or incising designs and
256
+
selectively polishing the raised areas. For generations several families from Kha'po
257
+
Owingeh and P'ohwhóge Owingeh pueblos have been making black-on-black ware with the
258
+
techniques passed down from matriarch potters. Artists from other pueblos have also produced
259
+
black-on-black ware. Several contemporary artists have created works honoring the pottery of
260
+
their ancestors."
252
261
253
262
Keywords: Pueblo, art, pottery, black, black ware
254
263
255
264
###
256
265
257
266
Text: "{text}"
258
267
259
-
keywords:"""
268
+
Keywords:"""
260
269
261
270
p=prompt.format(text=text)
262
271
words=set()
@@ -269,16 +278,21 @@ def get_keywords(text, gpt, r = 4):
0 commit comments