Morningstar88 / kalki-search

Распределенная поисковая система с открытым исходным кодом - Raspredelennaya poiskovaya sistema s otkrytym iskhodnym kodom-Оформим за 15 минут Oformim za 15 minut ____\_____ KALKI: VillageSearchEngine \_ Distributed Open Source - Beginner Set up in 15 minutes ________\________ Mesin pencari sumber terbuka terdistribusi-Siapkan dalam 15 men
https://kalki1.vercel.app
1 stars 0 forks source link

Populating the Database with Co-Pilot and Prompts #266

Open Morningstar88 opened 1 month ago

Morningstar88 commented 1 month ago

thanks, can you return me ten links on eric dolphy and his friendship with charles mingus. ,,,

CURRENT PROMPTS

Hi can you return me ten links on [[[ INSERT SUBJECT HERE ]]] eric dolphy and his friendship with charles mingus. ,,,

Thanks, can you now return them in this format.

[ { "title": "", "link": "", "description": "", "image": "", "categories": [], "level": "" }, { "title": "", "link": "", "description": "", "image": "", "categories": [], "level": "" } ]

Good, now can you add them to this database?

Morningstar88 commented 1 month ago

cheers... now can you return them as JSON, following this format.

Morningstar88 commented 1 month ago

thanks... excellent work. Now please return those links as a simple JSON database, following this format.

Morningstar88 commented 1 month ago

Thanks, but I didnt explain the task clear enough. My mistake. Apologies...

Please can you

1) delete the information in the JSON database so you have empty fields. 2) Keeping the format, insert the Charles Mingus and Eric Dolphy information you found into the appropriate places, using your initiative and intuition.

Please ask any questions you have whenever you feel like it...

Cheers!

Morningstar88 commented 1 month ago

[ { "title": "", "link": "", "description": "", "image": "", "categories": [], "level": "" }, { "title": "", "link": "", "description": "", "image": "", "categories": [], "level": "" } ]

Morningstar88 commented 1 month ago

[ { "title": "Remembering Eric Dolphy", "link": "https://www.charlesmingus.com/blog/remembering-eric-dolphy-june-20-1928-june-29-1964", "description": "This article discusses the composition 'So Long Eric,' written during Mingus' ongoing argument with Dolphy about his decision to leave the group and stay in Europe after their 1964 tour.", "image": "https://raw.githubusercontent.com/Morningstar88/kalki-search/master/pics/Black%20and%20white%20bird.webp", "categories": ["Jazz", "Music", "Friendship"], "level": "Intermediate" }, { "title": "Eric Dolphy: Gone In The Air", "link": "https://www.allaboutjazz.com/eric-dolphy-gone-in-the-air-by-mark-werlin", "description": "Learn more about Dolphy's technical perfectionism and his early collaborations with Mingus, including the recording of 'The Story of Love' in 1949.", "image": "https://raw.githubusercontent.com/Morningstar88/kalki-search/master/pics/tc.jpeg", "categories": ["Jazz", "Music", "Collaboration"], "level": "Advanced" } ]

Morningstar88 commented 1 month ago

[ { "title": "Remembering Eric Dolphy", "link": "https://www.charlesmingus.com/blog/remembering-eric-dolphy-june-20-1928-june-29-1964", "description": "This article discusses the composition 'So Long Eric,' written during Mingus' ongoing argument with Dolphy about his decision to leave the group and stay in Europe after their 1964 tour.", "image": "https://raw.githubusercontent.com/Morningstar88/kalki-search/master/pics/Black%20and%20white%20bird.webp", "categories": ["Jazz", "Music", "Friendship"], "level": "Intermediate" }, { "title": "Eric Dolphy: Gone In The Air", "link": "https://www.allaboutjazz.com/eric-dolphy-gone-in-the-air-by-mark-werlin", "description": "Learn more about Dolphy's technical perfectionism and his early collaborations with Mingus, including the recording of 'The Story of Love' in 1949.", "image": "https://raw.githubusercontent.com/Morningstar88/kalki-search/master/pics/tc.jpeg", "categories": ["Jazz", "Music", "Collaboration"], "level": "Advanced" }, { "title": "Charles Mingus: Triumph of the Underdog", "link": "https://www.imdb.com/title/tt0103961/", "description": "A documentary film that explores the life, music, and legacy of Charles Mingus, including his influential collaborations with Eric Dolphy.", "image": "https://raw.githubusercontent.com/Morningstar88/kalki-search/master/pics/charles-mingus.jpg", "categories": ["Jazz", "Documentary", "Biography"], "level": "Expert" }, { "title": "Eric Dolphy: Out to Lunch!", "link": "https://www.allmusic.com/album/out-to-lunch%21-mw0000193885", "description": "An iconic album by Eric Dolphy, featuring groundbreaking compositions and innovative improvisations. Mingus' influence is palpable in Dolphy's work.", "image": "https://raw.githubusercontent.com/Morningstar88/kalki-search/master/pics/eric-dolphy-out-to-lunch.jpg", "categories": ["Jazz", "Album", "Avant-Garde"], "level": "Intermediate" } ]

Morningstar88 commented 1 month ago

Hi, can you take these database entries and add both Khmer and Bahasa Indonesia hashtags, in the categories field. Thanks...

Morningstar88 commented 2 weeks ago

Certainly! Converting HTML to JSON can be done in a few steps. Here's a straightforward approach:

  1. Extract HTML Content:

    • Retrieve the HTML content from your GitHub issues. You can use JavaScript or Python to fetch the content.
    • For example, in JavaScript, you can select an element by its ID (e.g., document.getElementById('TextBoxesGroup')) and get its outer HTML.
  2. Serialize to JSON:

    • Convert the HTML content into a JSON object.
    • In JavaScript, you can create an object with a property named html containing the HTML string.
    • Serialize this object to a JSON string using JSON.stringify(data).
  3. Store the JSON:

    • Store the resulting JSON string in your database.
    • When needed, you can decode the JSON and use it for further editing.

Remember to handle any specific requirements related to your use case. If you need more details or have additional questions, feel free to ask! 😊¹³

Source: Conversation with Copilot, 6/18/2024 (1) How to convert selected HTML to Json? - Stack Overflow. https://stackoverflow.com/questions/34504050/how-to-convert-selected-html-to-json. (2) python - Convert html source code to json object - Stack Overflow. https://stackoverflow.com/questions/434694[1](https://stackoverflow.com/questions/34504050/how-to-convert-selected-html-to-json)[2](https://stackoverflow.com/questions/43469412/convert-html-source-code-to-json-object)/convert-html-source-code-to-json-object. (3) HTML to JSON Converter. https://www.replaybird.com/tools/html-json/. (4) Online HTML to JSON Converter | developerXYZ. https://developerxyz.com/free-tools/html-to-json-converter. (5) Best HTML to JSON Converter Online tool - Code Beautify. https://codebeautify.org/html-to-json-converter. (6) Getty Images. https://www.gettyimages.com/detail/photo/cubics-royalty-free-image/472909132.

Morningstar88 commented 2 weeks ago

[ { "title": "", "link": "", "description": "", "image": "", "categories": [], "level": "" }, { "title": "", "link": "", "description": "", "image": "", "categories": [], "level": "" } ]

Morningstar88 commented 2 weeks ago

GitHub Actions is a relatively new feature introduced by GitHub. It's not directly part of Git itself, but rather an integrated service provided by GitHub to automate workflows within your repositories. With GitHub Actions, you can define custom workflows using YAML files, trigger them based on events (such as pushes, pull requests, or scheduled intervals), and perform various tasks like building, testing, deploying, or even modifying files. It's a powerful tool for automating repetitive tasks in your development process! 😊

Morningstar88 commented 2 weeks ago

name: Update Issue Tracker

on: issues: types:

jobs: update-issue: runs-on: ubuntu-latest steps: