cglima / CASSIANA_BARRETO_DDF_TECH_032024

0 stars 0 forks source link

Gerar features em cima de dados desestruturados com ajuda da IA #9

Open cglima opened 3 months ago

cglima commented 3 months ago

Item 5 - Sobre o uso de GenAI e LLMs - Processar

Um dos Datasets sugeridos acima é uma lista Produtos e suas respectivas descrições. Esse Dataset tem aproximadamente de 3Gbs de Dados JSON e tem 2 colunas de texto, uma de título e outra de descrição.

Nesta etapa do case, queremos avaliar sua capacidade de transformar dados desestruturados em Features para análise.

Traga um dataset desestruturado e, utilizando IA, gere features em cima desses dados.

Exemplo:

Titulo: FYY Leather Case with Mirror for Samsung Galaxy S8 Plus, Leather Wallet Flip Folio Case with Mirror and Wrist Strap for Samsung Galaxy S8 Plus Black

Product Description: Premium PU Leather Top quality. Made with Premium PU Leather. Receiver design. Accurate cut-out for receiver. Convenient to Answer the phone without open the case. Hand strap makes it easy to carry around. RFID Technique: Radio Frequency Identification technology, through radio signals to identify specific targets and to read and copy electronic data. Most Credit Cards, Debit Cards, ID Cards are set-in the RFID chip, the RFID reader can easily read the cards information within 10 feet(about 3m) without touching them. This case is designed to protect your cards information from stealing with blocking material of RFID shielding technology. 100% Handmade. Perfect craftsmanship and reinforced stitching make it even more durable. Sleek, practical, and elegant with a variety of dashing colors. Multiple Functions Card slots are designed for you to put your photo, debit card, credit card, or ID card while on the go. Unique design. Cosmetic Mirror inside made for your makeup and beauty. Perfect Viewing Angle. Kickstand function is convenient for movie-watching or video-chatting. Space amplification, convenient to unlock. Kickstand function is convenient for movie-watching or video-chatting.

Features: { "category": "Phone Accessories", "material": "Premium PU Leather", "features": { "receiver_design": "Accurate cut-out for receiver. Convenient to Answer the phone without opening the case.", "hand_strap": "Yes", "RFID_technique": "Protection of card information with RFID shielding technology", "handmade": "100% Handmade", "stitching": "Reinforced stitching", "functions": { "card_slots": "Yes", "cosmetic_mirror": "Yes", "kickstand_function": "Yes, convenient for movie-watching or video-chatting", "space_amplification": "Yes, convenient to unlock" }, "color_options": "Variety of dashing colors", "compatibility": "Samsung Galaxy S8 Plus" } }

Para entender como usar um LLM como o GPT, acesse este notebook de exemplo ou então pesquise no Playground da Open AI (referenciado abaixo).