Skip to content

Instantly share code, notes, and snippets.

@BenceBakos
BenceBakos / how_to_use_chatgpt_in_php.md
Last active January 4, 2023 08:06
How to use OpenAi's ChatGPT in PHP?

How to use OpenAi's ChatGPT in PHP?

Intro

There are a few reasons why you might want to use ChatGPT:

  1. It's easy to use: ChatGPT is a pre-trained language model that is easy to use through the OpenAI API. You can generate responses to prompts with just a few lines of code, without having to worry about training your own model.
  2. It can generate human-like responses: ChatGPT is trained on a large dataset of human conversations, so it can generate responses that sound similar to what a human might say. This can be useful if you're building a chatbot or other application that requires natural-sounding responses.
  3. It can be fine-tuned: While ChatGPT is a pre-trained model, you can also fine-tune it on your own dataset to make it even more accurate and relevant to your use case. Fine-tuning can be especially useful if you have a specific domain or topic that you want the model to be knowledgeable about.
  4. **This introduction, and the majority of the snippets are written by ChatGPT, with minor correctio
@BenceBakos
BenceBakos / web_scraping_concepts.md
Last active January 4, 2023 10:35
Web scraping concepts from simple to expert

Web scraping concepts from simple to expert

Intro

Web scraping is the act of extracting data from publicly available online interfaces with reverse engineering and automation. Scraping gives you precious data which helps you in your research, can give you an edge over your competitors.

Some ways web scraping can be useful for you:

  • knowing all your competitors prices over a large set of products
  • having an up-to-date picture of the real estate market
  • analyzing what people tells online about your service