Closed jswope00 closed 3 months ago
It is corrected now ! the issue is that assitant id was generated by me and openai api key belongs to you ! Now i have corrected the open ai key and assistant id !!
If you want to have your openai key run once locally so that assitants_id.txt updates to id on your platform.
@rajaathota72-fc how is this one supposed to work?
I have run it locally, and got the same "Assistant ID not found" error. then I deleted the assistnat Id from assistant_id.txt, and got a " module 'openai' has no attribute 'assistants'" error. Then I deleted the entire assistant_id.txt file and got the same error:
Now I have pushed the new version, it should be beta.assistants and beta.threads
Great.
Also, I was getting this error:
So I made this change to change file_search to retrieval:
OK by you?
Yeah that would work straightforward ! My Id has access to file search and it was working fine. Actually file search is in beta and may be not accessible for everyone or having issues.
Ah ok. this might address my other issue I wrote in here. Let me try looking at my key and see if I can get back to using v2. For you, are you able to use the 4o model?
OK I figured all this out. I had an old openai package (1.17). Upgrading to the latest (1.30) fixed all.
This app is now throwing an error in streamlit:
@rajaathota72-fc can you diagnose?