OpenAI: How to create a project in dynamic way to upload documents?

Hi,
OpenAI allows user to create new project manually from https://platform.openai.com/settings/organization/general. But I have to create multiple projects and assistants dynamically to meet my project requirements. Is there any API (Python or Java) to achieve this requirement.

2 Likes

What you want exactly is an app where people can create assistant themselves without having to open OpenAI?

Thank you so much for your response.

No. I have to create an app with different projects in an organization and each project contains different set of documents. Should be able to run prompts based on PROJECT_ID to get response specific to project.

I am able to run prompts and getting proper response from AI-Assist with single project. This is working as expected. For this I should create project manually by login to OpenAI console and navigate to Settings–> Create Project option. I did not find any API(Python or JAVA REST API) to perform this action programmatically. So that I can create separate project from code base as and when required.

ohh I understand, I have no clue if this API exist.

I think if you create assistant with specific vector store per project it will work correctly I don’t think you need a full new project to do this.

PROJECT_1 → Assistant ID 1
PROJECT_2 → Assistant ID 2
PROJECT_3 → Assistant ID 3

1 Like

Thank you so much for your response.