Skip to content

Update WikiGPT with GPT-4

Ilias Sarantopoulos requested to merge add-gpt-4 into main

This MR implements the following changes for WikiGPT:

  • update openai python package
  • Use GPT-4 instead of GPT-3.5. GTP4 is implemented within the /chat/completions API instead of the text completions
  • GPT4 has an increased window size it can accept as context so w increase the amount of information we pass it from Wikipedia: - Use 4 articles instead of 3 - Use 12 paragraphs from each article instead of 4

Bug: T333854

Edited by Ilias Sarantopoulos

Merge request reports