Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated server.js #70

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

updated server.js #70

wants to merge 1 commit into from

Conversation

opsingh861
Copy link

  1. Changes Made:
  • Updated server.js to utilize the latest OpenAI API integration methods.
  • Corrected the model usage in server.js due to the previous model's shutdown by the OpenAI API.
  1. Details:

In this pull request, I've made significant updates to the server.js file to modernize the project's integration with the OpenAI API. The project previously used outdated methods for interacting with the API, which have now been updated to align with the current standards.

Furthermore, I have addressed the issue of the previously used model being deprecated by the OpenAI API. I've ensured that the project now utilizes the correct and available model, resolving any potential errors due to the model's shutdown.

  1. Changes Overview:
  • Updated OpenAI API integration in server.js for current methods.
  • Fixed usage of the model to align with the available models.
  1. Additional Notes:
    These updates are essential for maintaining the functionality and compatibility of the project with the latest changes in the OpenAI API. The changes have been thoroughly tested to ensure smooth operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant