openai / chatgpt-retrieval-plugin

The ChatGPT Retrieval Plugin lets you easily find personal or work documents by asking questions in natural language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how do I use this with the Assistants API or any other way programatcially?

nyck33 opened this issue · comments

"...and can be used with ChatGPT custom GPTs, function calling with the chat completions or assistants APIs, or with the ChatGPT plugins model (deprecated)...." it says in the Readme but having read the Assistants documentation here: https://platform.openai.com/docs/assistants/overview the closest thing I can think of is to enable code interpreter to write Python code that sends a request to the retrieval plugin using libraries like requests, etc. , further instructing the model in my prompt how to use the returned results from the FastAPI server, etc. However, I'm not even sure if this going to be possible. Assistant's Knowledge retrieval is just uploading files as explained here: https://platform.openai.com/docs/assistants/tools/knowledge-retrieval
Can you explain a bit more how to get this working? I tried in Assistants Playground but it says it cannot make any api calls from there:

image