Giter Club home page Giter Club logo

Comments (2)

sashabaranov avatar sashabaranov commented on August 23, 2024 1

@galpt @aliak00 it seems that search API is now deprecated, I'm removing it from the library in #51 PR

from go-openai.

galpt avatar galpt commented on August 23, 2024

HI @aliak00,

I know this answer is super late but adding the file ID parameter to the request body is possible as well as adding the return_metadata, but I'm not sure what kind of type the return_metadata woud be, is it string or something else as it's not clearly explained in the OpenAI's docs.

New accounts created after today will not have access to these endpoint.

Also, currently the Searches, Classifications, Answers, and Engines endpoints are deprecated and they did mention it somewhere that new accounts that just got access to OpenAI won't have access to the deprecated endpoints, so updating this repo's answers.go and search.go is possible, but we'll probably have to remove them after December 3rd, 2022 or whenever OpenAI has stopped supporting them completely.

Here are some of the references:

@sashabaranov what do you think? We could update the search.go and solve this issue as there are still some months left until OpenAI completely removes the support, this may still be used by devs who still have access to the endpoints.

Also, we could leave it opened until December 3rd, 2022 — or even just close the issue as struggling for it is kinda redundant.
All options are acceptable, but what do you guys think? @aliak00 @sashabaranov

from go-openai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.