-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhanced the Remix Icons search function with new keywords by using GPT-4 (updated for v4.2.0) #757
base: master
Are you sure you want to change the base?
Conversation
…PT-4 (updated for v4.2.0) I've created icon-specific documents with embeddings using OpenAI's large model to build a semantic search engine, which helps match icons with page types like URLs and documents. Jimmy, I'm happy to share my work to integrate semantic search into Remix. Your effort has been impressive!
Hi @yigitkonur, Sorry for the late reply, your work results have greatly impressed me. I am very curious how this was achieved? I am also thinking about how to incorporate this improvement into our release process. |
Hey Xiao, I appreciate to hear that you found this useful! Actually, I have used this system prompt:
And then, I've created few shot prompt, to represent this, you can use following document:
If you understand the logic, here is the json to include just after system prompt: {
"messages": [{
"role": "user",
"content": "Icon Name: article\nCurrent Tags: newspaper,document"
}, {
"role": "assistant",
"content": "New Tags: text, content, news, report, writing, reading, paper, editorial, publication, journalism, essay, column, print, media, information, press, story, feature, page, words, headline, paragraph, review, commentary, analysis, opinion, author, writer, editor, publish, document, article"
}, {
"role": "user",
"content": "Icon Name: survey\nCurrent Tags: research,questionnaire,clipboard,checkboxes,form,census"
}, {
"role": "assistant",
"content": "New Tags: feedback, poll, study, analysis, questionnaire, evaluation, assessment, opinion, rating, review, data, collection, investigation, inquiry, form, report, statistics, demographics, market research, customer, satisfaction, interview, responses, choices, options, selection, tick, agree, disagree, scale, input, participation, survey"
}, {
"role": "user",
"content": "Icon Name: netflix\nCurrent Tags: "
}, {
"role": "assistant",
"content": "New Tags: streaming, movies, series, entertainment, video, film, television, binge, watch, platform, subscription, media, content, drama, comedy, documentary, online, app, service, digital, network, shows, episodes, cinema, Hollywood, screen, play, queue, HD, 4K, original, production, viewer, audience, chill, broadcast, on-demand"
}, {
"role": "user",
"content": "Icon Name: linkedin-box\nCurrent Tags: "
}, {
"role": "assistant",
"content": "New Tags: professional, network, career, job, employment, business, connection, resume, profile, company, industry, networking, recruitment, hiring, social media, corporate, work, opportunity, branding, contacts, endorsements, recommendations, updates, news, platform, online, digital, identity, B2B, marketplace, talent, skills, experience, achievements, LinkedIn"
}, {
"role": "user",
"content": "Icon Name: soundcloud\nCurrent Tags: "
}, {
"role": "assistant",
"content": "New Tags: music, streaming, audio, platform, songs, artists, tracks, sound, cloud, online, listen, playlist, upload, share, social, indie, DJ, mixes, podcast, radio, beats, electronic, hip-hop, rock, pop, culture, community, discovery, digital, media, app, web, service, network, listener, creator, performance, album, record"
}, {
"role": "user",
"content": "Icon Name: increase-decrease\nCurrent Tags: "
}, {
"role": "assistant",
"content": "New Tags: growth, decline, chart, graph, analytics, statistics, data, trends, performance, measurement, comparison, finance, business, sales, revenue, profit, loss, market, economy, stock, investment, up, down, fluctuation, progress, regression, improvement, downturn, analysis, forecast, scale, rate, change, development, evaluation, metrics, indicators, increase, decrease"
}, {
"role": "user",
"content": "Icon Name: XXXX\nCurrent Tags: YYYY"
}]
} Just change XXX and YYYY - then we are ready! |
Too awesome, but it seems to be beyond my knowledge scope. I plan to incorporate your file in the next update. When my partner is free, we will study your ideas together and see how to integrate them into our daily updates. Thanks again. |
I've created icon-specific documents with embeddings using OpenAI's large model to build a semantic search engine, which helps match icons with page types like URLs and documents. Jimmy, I'm happy to share my work to integrate semantic search into Remix. Your effort has been impressive!