bsorrentino / PlantUML4iPad

An AI powered PlantUML Editor App for iPad
MIT License
9 stars 1 forks source link

iPad openAI login #29

Open Totti2024 opened 1 week ago

Totti2024 commented 1 week ago

Hi, how can I connect the PlantUMLApp with my openAI key? What is the Org Id? I‘m a privat persone, so how can I use the app with gpt? Thanks for your help. IMG_0677

bsorrentino commented 1 week ago

HI @Totti2024 to get organization id from OpenAI dashboard you have to go in Your profile/organization/general as show in pic below

image

Totti2024 commented 1 week ago

HiThanks, I‘ve found it.Now I‘ve the next problem, I get the message: The model *gpt-4-vision-preview has been deprecated, learn more here: https://platform.openai.com/docs/deprecationsafter i draw a use case and then pressed the button process.What can I do now?Am 26.06.2024 um 19:27 schrieb bsorrentino @.***>: HI @Totti2024 to get organization id from OpenAI dashboard you have to go in Your profile/organization/general as show in pic below image.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

bsorrentino commented 1 week ago

Hi @Totti2024 I know the problem, but deprecation should not affect functionality. Is it so ?

I'm working to move to new OpenAI model and it will be ready soon (take a look at #30)

Totti2024 commented 1 week ago

drawing and prompt does not work, cause I haven‘t got gpt.the preview works, when I put a code into it. Actually the main reason why I did download your app, is because of the drawing and the possibility to use the gpt prompt and now, both doesn‘t works.Am 26.06.2024 um 19:46 schrieb bsorrentino @.***>: Hi @Totti2024 I know the problem, but deprecation should not affect functionality. Is it so ? I'm working to move to new OpenAI model and it will be ready soon

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

bsorrentino commented 1 week ago

Hi @Totti2024 i'm sorry for that

I'll check it, and in a few days I'm confident to solve your problem.

To speed up such process would you become a beta-tester of the app ?

Totti2024 commented 1 week ago

Hi,that sounds could for me. Yes, why not, I could help you as a beta-tester, what can I do?Am 27.06.2024 um 07:08 schrieb bsorrentino @.***>: Hi @Totti2024 i'm sorry for that I'll check it, and in a few days I'm confident to solve your problem. To speed up such process would you become a beta-tester of the app ?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

bsorrentino commented 1 week ago

Hi @Totti2024, I'll back to you soon with instructions

bsorrentino commented 1 week ago

Hi @Totti2024 could you share an email address so I can invite you for start testing ?

In the meanwhile take a look to this Testing Apps with TestFlight

Totti2024 commented 1 week ago

Hi,this is my e-mail: @.‘ve downloaded the TestFlight appbest regardsTotti2024Am 30.06.2024 um 18:03 schrieb bsorrentino @.>: Hi @Totti2024 could you share an email address so I can invite you for start testing ? In the meanwhile take a look to this Testing Apps with TestFlight

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

bsorrentino commented 6 days ago

Hi,this is my e-mail: @.‘ve downloaded the TestFlight appbest regardsTotti2024Am 30.06.2024 um 18:03 schrieb bsorrentino @.>: Hi @Totti2024 could you share an email address so I can invite you for start testing ? In the meanwhile take a look to this Testing Apps with TestFlight —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

I'm not able to see your mail address ... I don't know why ... just in case, you can mail me to bartolomeo.sorrentino@gmail.com

bsorrentino commented 6 days ago

Hi @Totti2024

I've published a short video that shows:

Totti2024 commented 6 days ago

Hi BartalomeoThanks for your e-mail.I hope in the video its not your API adress :-) in the video and I hope, it will work some day also with my app, that I can use it like in the videogreetingsRomanAm 01.07.2024 um 14:37 schrieb bsorrentino @.***>: Hi Roman I've published a short video that shows:

How set OpenAI Key How transform drawing into plantuml diagram How to update plantuml diagram code using prompt

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

bsorrentino commented 6 days ago

Hi @Totti2024 , that key is expired. It is the typical strategy that We use when need to share videos

On Mon, Jul 1, 2024 at 7:48 PM Totti2024 @.***> wrote:

Hi BartalomeoThanks for your e-mail.I hope in the video its not your API adress :-) in the video and I hope, it will work some day also with my app, that I can use it like in the videogreetingsRomanAm 01.07.2024 um 14:37 schrieb bsorrentino @.***>: Hi Roman I've published a short video that shows:

How set OpenAI Key How transform drawing into plantuml diagram How to update plantuml diagram code using prompt

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/bsorrentino/PlantUML4iPad/issues/29#issuecomment-2200707481, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACJUHBJSJMKI7NMXQ6VYG3ZKGI75AVCNFSM6AAAAABJ5LYPJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQG4YDONBYGE . You are receiving this because you commented.Message ID: @.***>

bsorrentino commented 5 days ago

Hi @Totti2024

The app review has been approved, are you able to access it for test ?

Totti2024 commented 5 days ago

Hi,I‘ve seen it and did already gave a feedback with the testflight app.It still doesent work. It says, the gpt4o is not available.GreetingsAm 02.07.2024 um 08:12 schrieb bsorrentino @.***>: Hi @Totti2024 The app review has been approved, are you able to access it for test ?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

bsorrentino commented 5 days ago

Hi @Totti2024 do you have an OpenAI paid account ? This app works only with a paid account

Totti2024 commented 5 days ago

Yes, I have. I have it directly through apple, not through open.ai website account. Am 02.07.2024 um 19:20 schrieb bsorrentino @.***>: Hi @Totti2024 do you have a OpenAI paid account ?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

bsorrentino commented 5 days ago

Probably what you got from Apple not works in the same way of OpenAI, this is the only reason that has sense for me

Totti2024 commented 5 days ago

can you ask the apple support as an Developer if this really is the problem?

Am 02.07.2024 um 20:23 schrieb bsorrentino @.***>:

Probably what you got from Apple not works in the same way of OpenAI, this is the only reason that has sense for me

— Reply to this email directly, view it on GitHub https://github.com/bsorrentino/PlantUML4iPad/issues/29#issuecomment-2204014835, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJOVQBJCZD4OSUKVA4FDAPLZKLVYRAVCNFSM6AAAAABJ5LYPJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBUGAYTIOBTGU. You are receiving this because you were mentioned.

bsorrentino commented 5 days ago

Hi @Totti2024 , really I ignore how it is possible have an OpenAI key from Apple rather than from OpenAI portal. Could you share some information how it is possible to do this ?

I need such information to involve Apple support

Totti2024 commented 5 days ago

Well, I have an open.ai account and API key from open.ai. First I’ve had the free gpt version and later I decided to get the paid version. Because it was easier to do the payment with Apple Pay directly with my iPhone, I did this decision because it was easier and fast. So, only the payment for the better gpt version is different. Till today, I didn’t have a problem. I can use gpt with the iPhone/iPad or Mac app or also with the website version and have all the features.

Am 02.07.2024 um 22:09 schrieb bsorrentino @.***>:

Hi @Totti2024 https://github.com/Totti2024 , really I ignore how it is possible have an OpenAI key from Apple rather than from OpenAI portal. Could you share some information how it is possible to do this ?

I need such information to involve Apple support

— Reply to this email directly, view it on GitHub https://github.com/bsorrentino/PlantUML4iPad/issues/29#issuecomment-2204297710, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJOVQBMRSTSAAZGXY2UNLNLZKMCHTAVCNFSM6AAAAABJ5LYPJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBUGI4TONZRGA. You are receiving this because you were mentioned.

bsorrentino commented 4 days ago

Paid account for accessing OpenAI API has different payment mode of the one used for ChatGPT.

You have to access in OpenAI API dashboard and add a credit( choose amount you prefer) that will be used for calling API

Totti2024 commented 4 days ago

that means, I have to pay twice, that I'll be able to use your app. How much will be the cost for a request, when I use your app?

Am 03.07.2024 um 10:06 schrieb bsorrentino @.***>:

Paid account for accessing OpenAI API has different payment mode of the one used for ChatGPT.

You have to access in OpenAI API dashboard and add a credit( choose amount you prefer) that will be used for calling API

— Reply to this email directly, view it on GitHub https://github.com/bsorrentino/PlantUML4iPad/issues/29#issuecomment-2205361947, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJOVQBLX2TPTVEEZGPFPZH3ZKOWG5AVCNFSM6AAAAABJ5LYPJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBVGM3DCOJUG4. You are receiving this because you were mentioned.

bsorrentino commented 4 days ago

Hi @Totti2024 yes you should pay twice but the costs are very cheap

For processing an image using gpt-4o the cost is about US$0.003825 For processing a single prompt with `gpt-3.5-turbo' the cost is about US$0.00050

Take a look to official OpenAI pricing

Totti2024 commented 4 days ago

just to be sure and I understand you right. Even if I would do the payment for my ChatGPT through open.ai, I have to get this extra credits to make your app working or is it only, because I do the payment through apple?

Am 03.07.2024 um 11:45 schrieb bsorrentino @.***>:

Hi @Totti2024 https://github.com/Totti2024 yes you should pay twice but the costs are very cheap

For processing an image using gpt-4o the cost is about US$0.003825 For processing a single prompt with `gpt-3.5-turbo' the cost is about US$0.00050

Take a look to official OpenAI pricing https://openai.com/api/pricing/ — Reply to this email directly, view it on GitHub https://github.com/bsorrentino/PlantUML4iPad/issues/29#issuecomment-2205590869, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJOVQBJM2EIS3XQVVD672I3ZKPBZ3AVCNFSM6AAAAABJ5LYPJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBVGU4TAOBWHE. You are receiving this because you were mentioned.

bsorrentino commented 4 days ago

No @Totti2024

ChatGPT and OpenAI API are two different services. The first one is for end-user (chatting) the second one is for enhance applications (embed AI services)

Totti2024 commented 4 days ago

Ah, okay, I understand. Would it not be possible to integrate the chatGPT into your app instead the API from open.ai only? I guess, otherwise you can‘t reach a lot of people with your app, because it‘s really more for people they understand all these things. I‘ll try it, as you said, and let you know, if it works. Am 03.07.2024 um 13:30 schrieb bsorrentino @.***>: No @Totti2024 ChatGPT and OpenAI API are two different services. The first one is for end-user (chatting) the second one if for enhance applications (services)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

bsorrentino commented 4 days ago

Hi @Totti2024 unfortunately I think that it is not possible 🙁

Totti2024 commented 2 days ago

I‘ve tested it, it works now with the API. If I use the Prompt to creat an UML code it works fine, but I have to tell gpt, the text must be in german, thats a little bit a pain. On GPT Chat I don‘t have to do that.The drawing works not good enough, the UML results (preview) look so different from the picture or idea what I want. Can you tell me, how to draw for better results?Am 03.07.2024 um 21:25 schrieb bsorrentino @.***>: Hi @Totti2024 unfortunately I think that it is not possible 🙁

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

bsorrentino commented 1 day ago

Hi @Totti2024

I've tuned the AI to understand sequence diagrams. If it isn't a sequence, the AI assume that is a generic diagram that is similar at component diagrams.

If you have particular need I can refine AI to handle such cases

Could you share some samples?. I need picture and result