adorosario / customgpt-streamlit

Streamlit App Using CustomGPT
1 stars 2 forks source link

401 error with valid api-token from fn get_projectList() #1

Open rdaigle007 opened 7 months ago

rdaigle007 commented 7 months ago

Hey there! Love this work. If only it would work for me.

Does it still work for you? I'm guessing this is undocumented API, and hence maybe not supported anymore? I thought custom GPTs didn't have publically revealed API.

I double-triple checked my API key is good via other OpenAI python scripts I have. Also, I am a plus subscriber with OpenAI. (I've created some GPTs via GPT builder.)

Thanks much!

rdaigle007 commented 7 months ago

Oh! I see. Apparently is a different type of token. It appears might be a service-level auth token related to OpenAI plugins. Still researching.....

I just got added to the ChatGPT plugin waitlist. I'm guessing I have to be able to get onto that before can create the needed type of access-token? (ie, I'm assuming it is different from api-key anyone can create for OpenAI)

adorosario commented 5 months ago

@rdaigle007 This is the API token for CustomGPT.ai -- NOT OpenAI (two totally different companies). CustomGPT.ai lets you build RAG Agents using 3 lines of code. This streamlit demo is an example of using the chat interface to those RAG agents.