Comments (2)
@galpt @aliak00 it seems that search API is now deprecated, I'm removing it from the library in #51 PR
from go-openai.
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:
- Searches endpoint is deprecated
- Classifications endpoint is deprecated
- Answers endpoint is deprecated
@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)
- why chat_stream does not support function_call? HOT 2
- why Stream finished finish_reason:length HOT 3
- Go checksum error HOT 2
- Should I contribute a func builder util? HOT 3
- Can you customize the API address? Some regions require reverse substitution to use OpenAI HOT 3
- message: 0 is less than the minimum of 1 - 'n' HOT 1
- Model hyperparams with Temperature value 0 is not being respected HOT 3
- Streamlining and Organizing our Issue Tracker HOT 10
- go-openai /chat_stream.go steam model request openai if get error,this function cannot get error msg HOT 4
- Implement OpenAI July 2023 Updates
- Function Call Error Due to Nil Properties HOT 3
- Invalid schema for function 'get_current_weather': None is not of type 'object' HOT 2
- `ChatCompletionRequest` discards `stream` field when set to `false` HOT 6
- Retry mechanism HOT 3
- How can i compute the token count? HOT 2
- Can this project set api_base? I don't seem to see it HOT 1
- Hope to support azure openai version 2023-07-01-preview api
- How to continue the discussion based on the historical conversation HOT 2
- Return response headers too HOT 5
- How to call the chatgpt4.0 API HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-openai.