ChatGPT (Chat Generative Pre-trained Transformer) is a chatbot developed by OpenAI and launched in November 2022. It is built on top of OpenAI’s GPT3 family of large language models and has been fine-tuned (an approach to transfer learning) using both supervised and reinforcement learning techniques.

Plugins

Code generated by chatgpt

Query: ________ #kdi_blogging_challenge

const { chromium } = require('playwright');  
  
(async () => {  
const browser = await chromium.launch();  
const context = await browser.newContext();  
const page = await context.newPage();  
  
// Navigate to LinkedIn  
await page.goto('https://linkedin.com');  
  
// Log in to LinkedIn  
await page.fill('#username', 'your-email-address');  
await page.fill('#password', 'your-password');  
await page.click('button[type="submit"]');  
await page.waitForNavigation();  
  
// Search for the hashtag  
await page.goto(`[https://www.linkedin.com/search/results/all/?keywords=%23kdibloggingchallenge](https://www.linkedin.com/search/results/all/?keywords=%23kdibloggingchallenge)`);  
  
// Extract the post data  
const postData = await page.evaluate(() => {  
const postElements = document.querySelectorAll('.search-result__info');  
const postData = [];  
for (const postElement of postElements) {  
const post = {};  
post.title = postElement.querySelector('.search-result__title').innerText;  
[post.author](http://post.author/) = postElement.querySelector('.search-result__author-name').innerText;  
post.url = postElement.querySelector('.search-result__info a').href;  
postData.push(post);  
}  
return postData;  
});  
  
// Print the post data  
console.log(postData);  
  
await browser.close();  
})();

Idea for code generation

  • Code for bingo100?

  • Generate code for creating a .net endpoint which generates a random number between 1-100 and takes as parameter an array of number that have to avoided.

  • i shouldn’t need any special permission since Someone has published domain related article in blogging challenge

  • train to recognise imo and give imo by name of vessel

  • give current cordinates of two vessels

  • ask chatgpt to give distance between them

  • what is the nearest port to clipper aegina