Spaces:
Sleeping
Sleeping
update
Browse files- app_playground.ipynb +54 -17
- requirements.txt +2 -1
app_playground.ipynb
CHANGED
|
@@ -6,8 +6,8 @@
|
|
| 6 |
"metadata": {
|
| 7 |
"collapsed": true,
|
| 8 |
"ExecuteTime": {
|
| 9 |
-
"end_time": "2025-04-
|
| 10 |
-
"start_time": "2025-04-
|
| 11 |
}
|
| 12 |
},
|
| 13 |
"source": [
|
|
@@ -28,8 +28,8 @@
|
|
| 28 |
{
|
| 29 |
"metadata": {
|
| 30 |
"ExecuteTime": {
|
| 31 |
-
"end_time": "2025-04-
|
| 32 |
-
"start_time": "2025-04-
|
| 33 |
}
|
| 34 |
},
|
| 35 |
"cell_type": "code",
|
|
@@ -165,8 +165,8 @@
|
|
| 165 |
{
|
| 166 |
"metadata": {
|
| 167 |
"ExecuteTime": {
|
| 168 |
-
"end_time": "2025-04-
|
| 169 |
-
"start_time": "2025-04-
|
| 170 |
}
|
| 171 |
},
|
| 172 |
"cell_type": "code",
|
|
@@ -180,7 +180,7 @@
|
|
| 180 |
],
|
| 181 |
"id": "8d3a94be44f4859a",
|
| 182 |
"outputs": [],
|
| 183 |
-
"execution_count":
|
| 184 |
},
|
| 185 |
{
|
| 186 |
"metadata": {
|
|
@@ -377,8 +377,8 @@
|
|
| 377 |
{
|
| 378 |
"metadata": {
|
| 379 |
"ExecuteTime": {
|
| 380 |
-
"end_time": "2025-04-
|
| 381 |
-
"start_time": "2025-04-
|
| 382 |
}
|
| 383 |
},
|
| 384 |
"cell_type": "code",
|
|
@@ -389,25 +389,62 @@
|
|
| 389 |
],
|
| 390 |
"id": "e7437de8b64432f3",
|
| 391 |
"outputs": [],
|
| 392 |
-
"execution_count":
|
| 393 |
},
|
| 394 |
{
|
| 395 |
"metadata": {
|
| 396 |
"ExecuteTime": {
|
| 397 |
-
"end_time": "2025-04-
|
| 398 |
-
"start_time": "2025-04-
|
| 399 |
}
|
| 400 |
},
|
| 401 |
"cell_type": "code",
|
| 402 |
-
"source": "retriever.invoke(query)",
|
| 403 |
"id": "f7b6c17ac86da2d5",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 404 |
"outputs": [
|
| 405 |
{
|
| 406 |
"data": {
|
| 407 |
"text/plain": [
|
| 408 |
-
"
|
| 409 |
-
" Document(metadata={'title': 'Joan Baez discography', 'summary': 'This is a discography for American folk singer and songwriter Joan Baez.', 'source': 'https://en.wikipedia.org/wiki/Joan_Baez_discography'}, page_content='This is a discography for American folk singer and songwriter Joan Baez.\\n\\n\\n== Studio albums ==\\n\\n\\n=== 1959 ===\\n\"Folksingers \\'Round Harvard Square\" 1959 - with Bill Wood and Ted Alevizos\\n\\n\\n=== 1960s ===\\n\\n\\n=== 1970s ===\\n\\n\\n=== 1980–present ===\\n\\n\\n== Live albums ==\\n\\n\\n== Soundtrack albums ==\\nSacco & Vanzetti, RCA Victor (1971)\\nCarry It On, Vanguard (1971)\\nSilent Running, Decca (1972)\\nHow Sweet the Sound, Razor & Tie (2009)\\n\\n\\n== Compilations ==\\nFolksingers \\'Round Harvard Square (1959) / Re-Released as The Best of Joan Baez, Squire (1963)#45 POP\\nPortrait of Joan Baez (1967) (UK Only)\\nJoan Baez On Vanguard (1969) (UK Only) #15 UK\\nThe First 10 Years, Vanguard (November 1970) #73 US #41 UK #37 CAN\\nThe Joan Baez Ballad Book, Vanguard (1972) #188 US\\nHits: Greatest and Others, Vanguard (1973) #163 US, #63 Australia\\nThe Contemporary Ballad Book, Vanguard (1974)\\nThe Joan Baez Lovesong Album, Vanguard (1976) #205 US\\nBest of Joan C. Baez, A&M (1977) #121 US\\nThe Joan Baez Country Music Album (1979)\\nVery Early Joan, Vanguard (1982)\\nJoan Baez: Classics, A&M (1986)\\nBrothers in Arms, Gold Castle (1991)\\nNo Woman No Cry, Laserlight (February 1992)\\nRare, Live & Classic (box set), Vanguard (1993)\\nThe Best of Joan Baez, Vanguard (1995)\\nGreatest Hits, A&M (1996)\\nVanguard Sessions: Baez Sings Dylan, Vanguard (1998)\\nImagine, Universal 1998\\nBest of Joan Baez: The Millennium Collection, A&M/Universal (1999)\\nThe Complete A&M Recordings, Universal/A&M (2003)\\nVanguard Visionaries: Joan Baez, Vanguard (2007)\\nThe Complete Gold Castle Masters (box set), Razor & Tie (2017)\\n\\n\\n== Singles ==\\n\\n\\n== EPs ==\\nSilver Dagger & Other Songs, Fontana (1961) UK\\nWith God on Our Side, Fontana (1963) UK\\nDon\\'t Think Twice, It\\'s All Right, Fontana (1963) UK\\nLuv Is the Foundation w/ Rocker-T (2009) US\\n\\n\\n== Video albums ==\\nIn Concert, Pioneer (VHS, Laserdisc 1990)\\nLive at Sing Sing, NY 1972 (w/ B.B. King), (DVD 2004)\\nThree Voices: Live in Concert (1988 concert w/ Konstantin Wecker & Mercedes Sosa), (DVD 2004)\\nHow Sweet the Sound, American Masters/Razor & Tie (DVD 2009)\\nGolden Hits: Live Collection, Blueline (DVD 2013)\\nOh Freedom: Live in London, Hudson Street (DVD 2014)\\n75th Birthday Celebration, Razor & Tie (DVD 2016)\\n\\n\\n== Contributions ==\\nHard Rain by Bob Dylan (1976) - guitar, background vocals\\n4 Songs From Renaldo and Clara EP by Bob Dylan (1978) - vocals on \"Never Let Me Go\"\\nThe Butterfly Tree by Julia Butterfly Hill, Joan Baez, Joy Carlin, Berkeley Symphony Orchestra & Kent Nagano (2002) - vocals\\nThe Bootleg Series Vol. 5: Bob Dylan Live 1975, The Rolling Thunder Revue (2002) - vocals, acoustic guitar & percussion on 4 songs\\nThe Bootleg Series Vol. 6: Bob Dylan Live 1964, Concert at Philharmonic Hall (2004) - vocals on 4 songs\\nCorazón libre by Mercedes Sosa (2005) - cover art\\nBorn to the Breed: A Tribute to Judy Collins (2008) - \"Since You\\'ve Asked\"\\nJourney to the New World by Sharon Isbin, Joan Baez & Mark O\\'Connor (2009) - \"Joan Baez Suite Op. 144\" & \"Go \\'Way from My Window\"\\nTune In, Turn Up, Sing Out by San Francisco Gay Men\\'s Chorus (2009) - \"Swingin with the Saints\" & \"Imagine\"\\nBob Dylan – The Rolling Thunder Revue: The 1975 Live Recordings (2019) - vocals, acoustic guitar & percussion on 12 songs\\nAls teus ulls by Mario Muñoz feat. Lluís Llach, Gemma Humet & Joan Baez (2019) - single\\n\\n\\n== References ==\\n\\n\\n== External links ==\\nJoan Baez discography at Discogs'),\n",
|
| 410 |
-
" Document(metadata={'title': 'Cantora, un Viaje Íntimo', 'summary': \"Cantora, un Viaje Íntimo (English: Cantora, An Intimate Journey) is a double album by Argentine singer Mercedes Sosa, released on 2009 through Sony Music Argentina. The album features Cantora 1 and Cantora 2, the project is Sosa's final album before her death on October 4, 2009.\\nAt the 10th Annual Latin Grammy Awards, Cantora 1 was nominated for Album of the Year and won Best Folk Album and Best Recording Package, the latter award went to Alejandro Ros, the art director of the album. Additionally, Sosa won two out of five nominations for the albums at the Gardel Awards 2010, the double album was nominated for Album of the Year and Production of the Year and won Best DVD while both Cantora 1 and Cantora 2 were nominated for Best Female Folk Album, with the former winning the category.\\nThe double album was a commercial success, being certified platinum by the CAPIF selling more than 200,000 copies in Argentina, Cantora 1 was also certified platinum selling 40,000 copies while Cantora 2 was certified gold selling 20,000 copies. The album also peaked at numbers 22 and 8 at the Top Latin Albums and Latin Pop Albums charts in United States, respectively, being Sosa's only appearances on both charts.\\nAt documentary film titled Mercedes Sosa, Cantora un viaje íntimo was released on 2009, it was directed by Rodrigo Vila and features the recording process of the album as well as testimonies from the different guest artists that appeared on the project.\", 'source': 'https://en.wikipedia.org/wiki/Cantora,_un_Viaje_%C3%8Dntimo'}, page_content='Cantora, un Viaje Íntimo (English: Cantora, An Intimate Journey) is a double album by Argentine singer Mercedes Sosa, released on 2009 through Sony Music Argentina. The album features Cantora 1 and Cantora 2, the project is Sosa\\'s final album before her death on October 4, 2009.\\nAt the 10th Annual Latin Grammy Awards, Cantora 1 was nominated for Album of the Year and won Best Folk Album and Best Recording Package, the latter award went to Alejandro Ros, the art director of the album. Additionally, Sosa won two out of five nominations for the albums at the Gardel Awards 2010, the double album was nominated for Album of the Year and Production of the Year and won Best DVD while both Cantora 1 and Cantora 2 were nominated for Best Female Folk Album, with the former winning the category.\\nThe double album was a commercial success, being certified platinum by the CAPIF selling more than 200,000 copies in Argentina, Cantora 1 was also certified platinum selling 40,000 copies while Cantora 2 was certified gold selling 20,000 copies. The album also peaked at numbers 22 and 8 at the Top Latin Albums and Latin Pop Albums charts in United States, respectively, being Sosa\\'s only appearances on both charts.\\nAt documentary film titled Mercedes Sosa, Cantora un viaje íntimo was released on 2009, it was directed by Rodrigo Vila and features the recording process of the album as well as testimonies from the different guest artists that appeared on the project.\\n\\n\\n== Background ==\\nThe albums were produced by Popi Spatocco, frequent collaborator of Sosa, engineered by Jorge \"Portugués\" Da Silva and recorded from May 2008 to June 2009 at Estudios Panda and Estudios Ion, both in Buenos Aires, Argentina, the first session took place at Estudios Panda while the rest of the album was recorded at Estudios Ion, the first songs to be recorded were \"Agua, Fuego, Tierra y Viento\" with Argentine singer Soledad Pastorutti and \"Misionera\" with Brazilian accordionist Luiz Carlos Borges, the recording of the album was marked by interruptions due to the delicate health condition of Sosa, she would eventually die on October 16, 2009 at age 74, a couple of months following the release of the albums, about Cantora, Spatocco said that \"it was like receiving a diploma of honor, she was dedicated to whatever happened because she knew that I had her back\".\\n\\n\\n== Content ==\\nThe album contains a series of duet versions of songs alongside different artists from both Argentina, as well as from other countries such as Mexico, Uruguay, Brazil, Colombia, Spain and Venezuela. The variety of songs included range from songs performed with their original artist to songs performed with artists different than their original performer, many of the artists featured make reprises of their own songs for the album like Gustavo Cerati in the version of Soda Stereo\\'s \"Zonas de Promesas\", Charly García in the version of Serú Girán\\'s \"Desarma y Sangra\" and Luis Alberto Spinetta in the version of his song \"Barro Tal Vez\", while others appear in versions of songs not from their discography, like Shakira, who features in the track \"La Maza\", originally written and performed by Silvio Rodríguez, and Vicentico who appears the version of Ruben Blades\\'s \"Parao\". The albums end with a version of the Argentine National Anthem, being the only song in the albums to not feature a particular singer.\\n\\n\\n== Critical reception ==\\n\\nMariano Prunes from AllMusic gave both volumes of the album three and a half stars out of five. In his review for Cantora 1 he wrote that \"contrary to the quintessential Sosa recordings, Cantora is a fairly subdued affair, with most songs whispered against unobtrusive yet tasteful acoustic arrangements by Poppi Spatocco\", also commenting that the production \"certainly works very well, as it creates an encompassing sonic texture that helps to render the entire album less dissimilar than it may have been\". In the review for Cantora 2 he wrote that both albums as a whole are \"a touchi')]"
|
| 411 |
]
|
| 412 |
},
|
| 413 |
"execution_count": 8,
|
|
@@ -423,7 +460,7 @@
|
|
| 423 |
"outputs": [],
|
| 424 |
"execution_count": null,
|
| 425 |
"source": "",
|
| 426 |
-
"id": "
|
| 427 |
}
|
| 428 |
],
|
| 429 |
"metadata": {
|
|
|
|
| 6 |
"metadata": {
|
| 7 |
"collapsed": true,
|
| 8 |
"ExecuteTime": {
|
| 9 |
+
"end_time": "2025-04-27T21:10:45.275032Z",
|
| 10 |
+
"start_time": "2025-04-27T21:10:39.005442Z"
|
| 11 |
}
|
| 12 |
},
|
| 13 |
"source": [
|
|
|
|
| 28 |
{
|
| 29 |
"metadata": {
|
| 30 |
"ExecuteTime": {
|
| 31 |
+
"end_time": "2025-04-27T21:10:45.374522Z",
|
| 32 |
+
"start_time": "2025-04-27T21:10:45.281121Z"
|
| 33 |
}
|
| 34 |
},
|
| 35 |
"cell_type": "code",
|
|
|
|
| 165 |
{
|
| 166 |
"metadata": {
|
| 167 |
"ExecuteTime": {
|
| 168 |
+
"end_time": "2025-04-27T21:10:45.656951Z",
|
| 169 |
+
"start_time": "2025-04-27T21:10:45.649588Z"
|
| 170 |
}
|
| 171 |
},
|
| 172 |
"cell_type": "code",
|
|
|
|
| 180 |
],
|
| 181 |
"id": "8d3a94be44f4859a",
|
| 182 |
"outputs": [],
|
| 183 |
+
"execution_count": 3
|
| 184 |
},
|
| 185 |
{
|
| 186 |
"metadata": {
|
|
|
|
| 377 |
{
|
| 378 |
"metadata": {
|
| 379 |
"ExecuteTime": {
|
| 380 |
+
"end_time": "2025-04-27T21:10:48.436586Z",
|
| 381 |
+
"start_time": "2025-04-27T21:10:48.432601Z"
|
| 382 |
}
|
| 383 |
},
|
| 384 |
"cell_type": "code",
|
|
|
|
| 389 |
],
|
| 390 |
"id": "e7437de8b64432f3",
|
| 391 |
"outputs": [],
|
| 392 |
+
"execution_count": 4
|
| 393 |
},
|
| 394 |
{
|
| 395 |
"metadata": {
|
| 396 |
"ExecuteTime": {
|
| 397 |
+
"end_time": "2025-04-27T21:11:28.132221Z",
|
| 398 |
+
"start_time": "2025-04-27T21:11:26.234842Z"
|
| 399 |
}
|
| 400 |
},
|
| 401 |
"cell_type": "code",
|
| 402 |
+
"source": "docs = retriever.invoke(query)",
|
| 403 |
"id": "f7b6c17ac86da2d5",
|
| 404 |
+
"outputs": [],
|
| 405 |
+
"execution_count": 6
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"metadata": {},
|
| 409 |
+
"cell_type": "code",
|
| 410 |
+
"outputs": [],
|
| 411 |
+
"execution_count": null,
|
| 412 |
+
"source": "",
|
| 413 |
+
"id": "5456b2d077ac90f9"
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"metadata": {
|
| 417 |
+
"ExecuteTime": {
|
| 418 |
+
"end_time": "2025-04-27T21:11:30.551965Z",
|
| 419 |
+
"start_time": "2025-04-27T21:11:30.547552Z"
|
| 420 |
+
}
|
| 421 |
+
},
|
| 422 |
+
"cell_type": "code",
|
| 423 |
+
"source": [
|
| 424 |
+
"serialized = \"\\n\\n\".join(\n",
|
| 425 |
+
" (f\"\\nContent:\\n{doc.page_content}\")\n",
|
| 426 |
+
" for doc in docs\n",
|
| 427 |
+
" )"
|
| 428 |
+
],
|
| 429 |
+
"id": "e9027ea921f537e4",
|
| 430 |
+
"outputs": [],
|
| 431 |
+
"execution_count": 7
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"metadata": {
|
| 435 |
+
"ExecuteTime": {
|
| 436 |
+
"end_time": "2025-04-27T21:11:34.971188Z",
|
| 437 |
+
"start_time": "2025-04-27T21:11:34.965978Z"
|
| 438 |
+
}
|
| 439 |
+
},
|
| 440 |
+
"cell_type": "code",
|
| 441 |
+
"source": "serialized",
|
| 442 |
+
"id": "271efb15048278d8",
|
| 443 |
"outputs": [
|
| 444 |
{
|
| 445 |
"data": {
|
| 446 |
"text/plain": [
|
| 447 |
+
"'\\nContent:\\nMercedes Sosa Discography Aufnahmen vor dem Exil Cancíones con fundamento (1959) La voz de la zafra (1961) Hermano (1966) Yo no canto por cantar (1966) Para cantarle a mi gente (1967) Con sabor a Mercedes Sosa (1968) Mujeres Argentinas (1969) El grito de la tierra (1970) Navidad con Mercedes Sosa (1970) Guemes el guerrillero del norte (1971) Homenaje a Violeta Parra (1971) Cantata Sudamericana (1972) Hasta la victoria (1972) Mercedes Sosa y Horacio Guarany (single 1973) Traigo un pueblo en mi voz (1973) Mercedes Sosa y Horacio Guarny (single 1974) A que florezca mi pueblo (1975) Niño de mañana (1975) En dirección del viento (1976) Mercedes Sosa (1976) Mercedes Sosa interpreta a Atahualpa Yupanqui (1977) O cio da terra (1977) (1977) Aufnahmen nach dem Exil Serenata para la tierra de uno (1979) Gravado ao vivo no Brasil (1980) A quién doy (1981) Mercedes Sosa en Argentina (1982) Como un pájaro libre (1983) Mercedes Sosa (1983) Recital (1983) ¿Será posible el sur? (1984) Corazón Americano (1985) (con Milton Nascimento y León Gieco) Vengo a ofrecer mi corazón (1985) Mercedes Sosa \\'86 (1986) Mercedes Sosa \\'87 (1987) Gracias a la vida (1987) Amigos míos (1988) Live in Europa (1990) De mí (1991) 30 años (1993) Sino (1993) Gestos de amor (1994) Oro (1995) Escondido en mi país (1996) Alta fidelidad (1997) (con Charly García) Al despertar (1998) Misa Criolla (2000) Acústico (2002) Argentina quiere cantar (2003) (con Víctor Heredia & León Gieco) Corazón libre (2005) Cantora (2009) Posthum veröffentliche Aufnahmen: Deja la Vidavolar (2010) Censurada (2011) Siempre en Ti (2013) Selva Sola (2013) Angel (2014) Lucerito (2015) thhhext.\\n\\n\\nContent:\\nMercedes Sosa | Discogs EverythingReleasesArtistsLabels View all results Explore Discover Explore All Trending Releases List Explorer Advanced Search Contribute Submission Guidelines Submit a Release How to Make a List Monthly Leaderboard Help Translate Discogs Genres Rock Electronic Hip Hop Folk, World, & Country Jazz Styles House Punk Soul Experimental Prog Rock Marketplace Format Vinyl CD Cassette DVD Box Set Genre Rock Electronic Pop Funk / Soul Jazz Styles Pop Rock House Disco Synth-Pop Soul Buy Music All Items Items I Want Purchases Cart Record Stores Sell Music Start Selling List Item For Sale Orders Inventory Billing Community Discogs Digs Groups Forum Friends Community Guidelines Database Guidelines Explore Discover Explore All Trending Releases List Explorer Advanced Search Contribute Submission Guidelines Submit a Release How to Make a List Monthly Leaderboard Help Translate Discogs Genres Rock Electronic Hip Hop Folk, World, & Country Jazz Styles House Punk Soul Experimental Prog Rock Marketplace Format Vinyl CD Cassette DVD Box Set Genre Rock Electronic Pop Funk / Soul Jazz Styles Pop Rock House Disco Synth-Pop Soul Buy Music All Items Items I Want Purchases Cart Record Stores Sell Music Start Selling List Item For Sale Orders Inventory Billing Community Discogs Digs Groups Forum Friends Community Guidelines Database Guidelines Log InRegister Ad Mercedes Sosa More images .css-1kybk0l{margin:0;font-size:0.875rem;font-weight:400;letter-spacing:0.01em;line-height:1.2;}Profile:Mercedes Sosa, known as La Negra, (born July 9, 1935 in San Miguel de Tucuman, Argentina – Death October 4, 2009 in Buenos Aires) was an Argentine singer who was and remains immensely popular throughout Latin America and internationally. With her roots in Argentine folk music, in 1950, at age fifteen, she won a singing competition organized by a local radio station, and in the 1960s Sosa became one of the preeminent exponents of \\'nueva canción\\' and started touring internationally. She also gave voice to many songs written by Brazilians and Cubans. She was best known as the \\'voice of the voiceless ones\\'. Banned in her own country, she moved to Paris and then to Madrid until her return to Argentina in 1982.\\n\\n\\nContent:\\nMercedes Sosa Portrait by Annemarie Heinrich, 1960s Born Haydée Mercedes Sosa 9 July 1935 San Miguel de Tucumán, Tucumán, Argentina Died 4 October 2009 (aged 74) Buenos Aires, Argentina Occupation Singer Years active 1950–2009 Musical career Genres Folknueva canción Instruments Vocals Haydée Mercedes \"La Negra\" Sosa (Latin American Spanish: [meɾˈseðes ˈsosa]; 9 July 1935[1] – 4 October 2009) was an Argentine singer who was popular throughout Latin America and many countries outside the region. With her roots in Argentine folk music, Sosa became one of the preeminent exponents of El nuevo cancionero. She gave voice to songs written by many Latin American songwriters. Her music made people hail her as the \"voice of the voiceless ones\". Her career spanned four decades and she was the recipient of six Latin Grammy awards (2000, 2003, 2004, 2006, 2009, 2011), including a Latin Grammy Lifetime Achievement Award in 2004 and two posthumous Latin Grammy Award for Best Folk Album in 2009 and 2011.'"
|
|
|
|
|
|
|
| 448 |
]
|
| 449 |
},
|
| 450 |
"execution_count": 8,
|
|
|
|
| 460 |
"outputs": [],
|
| 461 |
"execution_count": null,
|
| 462 |
"source": "",
|
| 463 |
+
"id": "5d4dada891453bed"
|
| 464 |
}
|
| 465 |
],
|
| 466 |
"metadata": {
|
requirements.txt
CHANGED
|
@@ -10,4 +10,5 @@ langchain-core~=0.3.56
|
|
| 10 |
langchain-groq~=0.3.2
|
| 11 |
langchain-community ~=0.3.22
|
| 12 |
wikipedia ~= 1.4.0
|
| 13 |
-
langchain-google-genai ~=2.1.3
|
|
|
|
|
|
| 10 |
langchain-groq~=0.3.2
|
| 11 |
langchain-community ~=0.3.22
|
| 12 |
wikipedia ~= 1.4.0
|
| 13 |
+
langchain-google-genai ~=2.1.3
|
| 14 |
+
tavily-python ~=0.7.0
|