import {ask_gpt, initiate_gpt} from 'backend/openai.js'; import wixChatBackend from 'wix-chat-backend'; import wixData from 'wix-data'; export function wixChat_onMessage(event) { if(event.direction === 'VisitorToBusiness') { console.log('Chat was commenced'); commence(event); } } const commence = (event) => { wixData.query('gpt_chat').eq('channelId', event.channelId).find() .then( async(res) => { console.log('Query comepleted'); if(res.items.length > 0) { //Existing Chat let gpt_res = await ask_gpt(event.payload.text, event.sender.id) gpt_response(gpt_res, event.channelId, event.payload.text); } else { //New Chat let obj = { channelId: event.channelId, userId: event.sender.id }; wixData.insert('gpt_chat', obj); let gpt_res = await initiate_gpt(event.sender.id) let gpt_res2 = await ask_gpt(event.payload.text, event.sender.id) gpt_response(gpt_res2, event.channelId, event.payload.text); } }); } const gpt_response = (gpt, chid, prev) => { let obj = { "messageText": gpt.choices[0].text, "channelId": chid, "sendAsVisitor": false }; console.log(obj); wixChatBackend.sendMessage(obj) .then( () => { console.log("Chat message sent"); }) .catch( (error) => { console.log(error); }); } //Sample event VisitorToBusiness: // { // "channelId":"0379888f-e5cb-30c4-86fc-4d0e1ce6a827", // "sequence":1676742002559626, // "type":"TEXT", // "summary":"Testing Again", // "participantId":"e2a75cd0-a60b-4d0a-abb5-279fc64a9f10", // "createdDate":"2023-02-18T17:40:02.559Z", // "metadata":{}, // "payload":{ // "text":"Testing Again" // }, // "direction":"VisitorToBusiness", // "sender":{ // "role":"Visitor", // "id":"e2a75cd0-a60b-4d0a-abb5-279fc64a9f10" // } // }
top of page
Search

Celebrate May Birthdays with a One-of-a-Kind Handmade Sterling Silver Jewelry

  • Writer: Diego Munoz
    Diego Munoz
  • May 3, 2023
  • 2 min read

May is the month of springtime, blooming flowers, and warm sunshine. It is also the month of emerald, the birthstone of May babies. If you're looking for a unique gift to celebrate a May birthday, a one-of-a-kind handmade sterling silver jewelry piece is an excellent choice.

At KC39 Jewelry, we offer a wide range of handmade sterling silver jewelry pieces, including necklaces, bracelets, and earrings, all featuring May birthstones. Our collection is crafted by Diego Munoz, a talented artisan with a passion for creating beautiful, one-of-a-kind pieces that are as unique as the people who wear them. Our May birthstone collection includes stunning emerald necklaces, bracelets, and earrings that are perfect for adding a pop of color to any outfit. Each piece is crafted with care and attention to detail, ensuring that you receive a high-quality, handcrafted piece that you can treasure for years to come. Our emerald jewelry pieces are made from high-quality sterling silver, which is known for its durability, shine, and luster.

At KC39 Jewelry, we believe that every piece of jewelry should tell a story. That's why we offer personalized engraving options for our jewelry pieces, making them the perfect gift for a May birthday or any special occasion. Our engraving options allow you to add a personal touch to your jewelry piece, making it a unique and cherished keepsake. In conclusion, if you're looking for a one-of-a-kind handmade sterling silver jewelry piece to celebrate a May birthday, look no further than KC39 Jewelry. Our May birthstone collection is crafted with care and attention to detail, ensuring that you receive a high-quality, handcrafted piece that you can treasure for years to come. With personalized engraving options, our jewelry pieces are also the perfect way to add a personal touch to any special occasion.







 
 
 

Comments


bottom of page