Ok I think I found the issue. When creating the embeddings it looks like the encoding doesn't allow for certain characters such as 'ä' which is causing errors. hmm
Just using this command: I managed to find a workaround and I can now generate good responses but the index.json file still doesn't seem to be encoded properly.
My previous bot had the same problem with the encoding format and letter 'ä' and 'ö'. For some reason I was able to get the GPT Index to ignore this encoding error and it kinda just fills it in properly.