#Users APi

48 messages · Page 1 of 1 (latest)

wanton scroll
#

Do I need to duplicate the playground for my users or the administrator playground will be automatically picked up by the api in the user portal?

teal token
#

The playground is web-based and is hosted on OpenAI's own website. You won't be able to embed the playground website in your own app, and I think embedding the playground would be against the terms of use

#

and what do you mean by the user portal?

wanton scroll
#

What I mean is if i need to set up my original natural language code again in the Users Playground or will the Users API automatically pick up the administrators playground code

#

My users

#

My employees

#

My employees will be managing my customers

teal token
#

I have no idea what you mean by "original natural language code again in the Users Playground". There's no such thing as the "Users Playground", it's just the OpenAI playground. That OpenAI playground uses the API key of the account that is logged in to use the playground

#

The API will not pick up anything from the playground automatically ever

#

Is the "Users Playground" something that you created yourself?

wanton scroll
#

Yes, I as administator invited my employees

teal token
#

You invited your employees to your organization?

#

So they are under your OpenAI organization account now?

wanton scroll
#

yes

teal token
#

Ah I see

#

In that case, no, the users API will not pick up the administrator playground code automatically

#

You should share the playground code in a text file or something to the users or in a google doc, etc

wanton scroll
#

Ok. Good answer. So, I will copy the administrators Playground code into the user portal playground and share their api with my customers.

#

Correct?

teal token
#

If the user is under your organization, they will use tokens and credits from the main organization account

#

so there is no need to share the API key

#

You also shouldn't be inviting your customers to your OpenAI organization

#

That's meant for your team, your staff, not your clients

wanton scroll
#

I know that. My related question that I asked earlier is. I have customer that wants to use my app for their customer service on their website. The api is the only way i know how to share my code or do you have a different method

teal token
#

I don't understand what you're talking about

#

There is no "code" in the playground

#

it's just prompting

#

are you talking about sharing the prompting?

#

Can you show me an example or a screenshot of what you're trying to share?

wanton scroll
#

yes

#

simply. How do i get the chat app to my customer's web portal

teal token
#

Is the chat app a program?

#

Something written in Python/java/Javascript/NodeJS, etc?

wanton scroll
#

yes.

teal token
#

Or is your chat app just something that you have inside the OpenAI playground, just a conversation prompt?

#

I see

wanton scroll
#

conversation prompt for the customer's clients

teal token
#

If your chat app is a program (it is written in a programming language and can be put into a file host online or repository like https://github.com), then you can just share the code and then ask people to install the app themselves locally and use their own OpenAI API key

#

If your app is not a program (if it is only a prompt), then it cannot be shared like how you want. The person who wants to implement it must put the prompt into their own app

wanton scroll
#

So if the customer is paying for the service, what is wrong with me sending them the api to embed in their website to access my playground?

teal token
#

Because it's not possible

#

You can't just "send them the API"

#

Other people can't access your playground

#

It has to be a programmed application if you want to share this functionality, or you need to share the prompt, the playground is private

wanton scroll
#

Ok. thanks for your answer. I'll think about it