< Nazaj na blog

How to install openAi chat GPT on my website

In a world of technology where Artificial Intelligence (AI) is inexorably permeating every corner of our daily lives, it is becoming crucial to adapt and harness its potential to grow and evolve our online presences. One of the disruptive innovations in this space is OpenAI Chat GPT, a tool that promises to transform the way we communicate online. But how do we actually deploy this technological marvel on our website? What are the pitfalls and how can I teach the chatbot something about my website.

Before we get into the technical details, it is important to understand what OpenAI Chat GPT is. It is an advanced generative predictive text model built by OpenAI that can generate human-like responses to written questions or commands. This capability opens the door to tremendous opportunities for improving the user experience on websites, from automated FAQ answering to providing personalised advice in real time.

Now that we understand the ripple effect that Chat GPT can bring to our site, it’s time to get down to the installation itself. This requires a few steps, starting with proper planning and ending with testing the integrated system on your site.

Pre-built or customised solutions

You can add a chatbot to your website or have it built by a professional. The choice depends on our needs and financial means. In any case, we recommend that you consider your needs and the possible options before making a final decision.

Manufacturing process

The first step is to access the API key, which is essential to connect your site to the power of Chat GPT. The key unlocks our access to the API system, but also allows the company to record our spending. Consumption is recorded in tokens, with 1000 tokens being approximately 750 words. In principle, the newer the version we choose, the higher the token price. The current price list can be found on this page.

The process of obtaining this key starts by registering with OpenAI and following their instructions to gain access to the API. This process is usually straightforward and leads through various security checks aimed at protecting both the service provider and its users.

Changes to the way you pay

From 8 March 2024, OpenAI is changing the way it pays. Instead of automatic billing, you will now have to purchase credits on their website.
Creating a key on the OpenAI API website

The next step involves technical implementation, which may require some programming skills. This phase will vary depending on the specifics of your site. Basically, the following things need to be programmed:

  • Communication between website and AI
  • The front-end or design of the chatbot on our website
  • Interface for entering treated data and controlling the system

Once the add-on is installed on a page, it is crucial to check how it behaves in the real world. Testing the integration of Chat GPT on your website includes checking the responsiveness of the system to different entry points, its performance in handling requests and its ability to adapt to the associated context. It is also important to evaluate how the system integrates with the existing content and functionality of your website, as the aim is to achieve a harmonious symbiosis between AI and user experience.

Learning and improving the OpenAI chat bot

Artificial intelligence has a strong background. But sometimes we wish the chatbot was a little different. We want to restrict it to a certain area. Or to teach it something it doesn’t already know.

Practice makes perfect – data training

As with any learning process, teaching an AI assistant requires the right learning materials. In the world of AI, these materials are called “training data”. To help your AI assistant become a master in a particular topic or learn to answer in a specific way you want, it is crucial to provide it with plenty of relevant and high-quality training data.

This includes collecting examples of questions and answers, dialogues or scenarios that you can use to “train” your AI assistant. It is important that this information is tailored to exactly what you want your AI assistant to learn – whether it is specialised technical questions or a particular tone of communication.

Restriction and specialisation of areas

As part of the training process, you can also choose to have your AI assistant specialise in certain areas or to work on a limited basis. This is particularly useful for companies operating in very specific niche industries. By limiting the focus of the AI assistant to specific areas, the accuracy and quality of the answers is improved, which in turn increases end-user satisfaction.

Teaching new skills

AI technology is constantly evolving, but there are times when we want our AI assistant to learn new skills or adapt to new trends. This can be achieved by regularly revisiting the training process, updating the knowledge base with fresh information and providing refreshed learning guidance.

One practical example would be if you want your AI assistant to become a skilled expert in the topic of addiction. In the example below, we have populated the AI with questions and answers. The data is stored in a special vector database so that the AI can find it as quickly as possible.

Example of entered data

ChatGPT in Slovenia

Of course, we can also use the chatbot in Slovenia. ChatGPT can speak hundreds of languages, and Slovenian is one of them. But we will have our very own robot in Slovenia in the near future. The Centre for Language Resources and Technologies (CJVT) is developing its own language model. To create a Slovenian model, experts need to collect everything that has ever been written in Slovenian. Currently, they have already collected about 10 billion words out of a minimum of 40 billion. The project is funded by the European Union and should be completed in 3 years.

Artificial intelligence is already being used to check grammar or plagiarism. Some universities in this country have already introduced systems that check whether a text has been written by the student or with the help of artificial intelligence.

Maintaining controls over the AI assistant


Despite the power and autonomy that AI assistants bring, it is important to maintain ultimate control over how they behave and act. This includes monitoring and evaluating the responses that the AI assistant provides, and adjusting training data or rules if necessary.

Integrating a high-tech assistant into your website brings a wealth of opportunities. It’s not just about keeping your online presence up-to-date with the latest technology trends, it opens new doors to improve user experience, efficiency and innovation in your business. With the right approach to learning and adapting, this tool can become an invaluable resource for your business, allowing you to stay one step ahead of the competition in a rapidly changing digital environment.

Let the chat begin.