Answers endpoint transition


I am currently evaluating the GPT3 models for Q&A functionality. I have no knowledge of python. So I made some API calls to upload documents to the GPT3 server and used the obtained file-id to answer the endpoint to get the response for the input query.
Since the Answers endpoint is deprecated I could not get the expected response.
I have done this through the Transition guide but still I am unable to proceed further.

Please find below the steps that I have followed till now:

  1. Upload files using the endpoint “”. Noted the file-id
  2. Querying results using the endpoint “

Could anyone help me by providing the current APIs for the above steps to be done?

Best practice is to use an embeddings search.

Would you mind sharing the APIs?

This will help: OpenAI API.