How to restrict openai library in gpt-3.5 turbo from getting irrelevant resources

Hello, I have created a custom openai AI Chatbot with gpt-3.5 turbo in python code and it searches only certain company urls, it is used as a “knowledge base”. The problem is that it gives irrelevant responds for other software and I do not want that. The answers about other software are very general and I assume that are general knowledge that is kind imported in openai library. Is there a way that I can make openai library to search only company’s resources and restrict any other resource?

There are applications out there that restrict the API to only get information from certain resources, such as LangChain.