Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quota exceed #3

Closed
calimbrasti94 opened this issue Mar 4, 2024 · 16 comments
Closed

Quota exceed #3

calimbrasti94 opened this issue Mar 4, 2024 · 16 comments
Labels
bug Something isn't working

Comments

@calimbrasti94
Copy link

Nice plugin, unfortunately I can't generate quizzes,even with 1 document that has a token length of 300, using gpt-4. It tells me that I have exceeded the token quota.

@ECuiDev
Copy link
Owner

ECuiDev commented Mar 4, 2024

Which usage tier is your OpenAI account? If your account is the free tier, you can't use GPT-4. You can check your account tier at the bottom of this page.

@calimbrasti94
Copy link
Author

calimbrasti94 commented Mar 4, 2024 via email

@ECuiDev
Copy link
Owner

ECuiDev commented Mar 4, 2024

I'm glad you like the plugin and thank you for the support!

As for multiple choice options getting lost in the UI, would it be possible for you to attach an image showing what you mean?

@ECuiDev ECuiDev added the bug Something isn't working label Mar 4, 2024
@calimbrasti94
Copy link
Author

calimbrasti94 commented Mar 4, 2024 via email

@calimbrasti94
Copy link
Author

calimbrasti94 commented Mar 4, 2024 via email

@ECuiDev
Copy link
Owner

ECuiDev commented Mar 4, 2024

All I see is the CID (Content ID) instead of the actual image. Perhaps try attaching them through the GitHub website instead of replying to the notification email?

@calimbrasti94
Copy link
Author

calimbrasti94 commented Mar 4, 2024

sorry, here are the images sent earlier.

image

image

@ECuiDev
Copy link
Owner

ECuiDev commented Mar 4, 2024

Hmm, that's strange. When I try with a pretty long question my text wraps around just fine. It still works even after I translate it to Italian.

Could you show the raw text for your questions in source mode? The plugin is a bit picky with question formatting.

example
example2

@calimbrasti94
Copy link
Author

here is a video of the text from which he generated the answers, I hope I understand the request.

also, for more background, i use the "minimal" theme by kepano, i don't know if it can be useful information.

Registrazione.2024-03-04.125020.mp4

@ECuiDev
Copy link
Owner

ECuiDev commented Mar 4, 2024

Ah, I meant the text of the actual questions (you'll need to save the generated questions), not the text the questions were generated from.

For example, the text of the two questions I sent earlier (saved in callout format) is

> [!question] In the realm of artificial intelligence ethics, consider the development of autonomous weapon systems (AWS). Advocates argue that AWS can minimize human casualties in warfare, while critics express concerns about the lack of human control and potential ethical implications. Applying an ethical framework, which option aligns with a consequentialist perspective?
> a) Reject the use of AWS to preserve human control and uphold moral principles.
> b) Implement strict regulations and oversight to balance the benefits and risks of AWS.
> c) Embrace AWS deployment to reduce overall casualties and enhance military effectiveness.
> d) Encourage international collaboration to establish a global consensus on AWS usage.
>> [!success]- Answer
>> c) Embrace AWS deployment to reduce overall casualties and enhance military effectiveness.

> [!question] Nel campo dell'etica dell'intelligenza artificiale, consideriamo lo sviluppo di sistemi d'arma autonomi (AWS). I sostenitori sostengono che AWS può ridurre al minimo le vittime umane in guerra, mentre i critici esprimono preoccupazione per la mancanza di controllo umano e le potenziali implicazioni etiche. Applicando un quadro etico, quale opzione si allinea con una prospettiva consequenzialista?
> a) Rifiutare l'uso di AWS per preservare il controllo umano e sostenere i principi morali.
> b) Implementare normative e controlli rigorosi per bilanciare i vantaggi e i rischi di AWS.
> c) Adottare l'implementazione di AWS per ridurre le vittime complessive e migliorare l'efficacia militare.
> d) Incoraggiare la collaborazione internazionale per stabilire un consenso globale sull'utilizzo di AWS.
>> [!success]- Risposta
>> c) Adottare l'implementazione di AWS per ridurre le vittime complessive e migliorare l'efficacia militare.

@calimbrasti94
Copy link
Author

calimbrasti94 commented Mar 4, 2024

ahah, i knew i was doing it wrong, sorry. here is the raw text generated in callout format.

more info: at the time of generation i had simultaneously activated both the option to save questions in spaced repetition format and in callout. in the text pasted below i selected only the callout format, but for spaced it was same text with different organization (obviously).


> [!question] Cosa indica il termine 'biodisponibilità' nei farmaci?
> a) La quantità di farmaco eliminato attraverso la bile
> b) La frazione inalterata di farmaco presente nella circolazione sanguigna
> c) La capacità di un farmaco di alterare l'appetito
> d) La velocità con cui un farmaco è assorbito dal tratto gastrointestinale
>> [!success]- Answer
>> b) La frazione inalterata di farmaco presente nella circolazione sanguigna

> [!question] Cosa accade a livello molecolare quando il succo di pompelmo interagisce con certi farmaci?
>> [!success]- Answer
>> Il succo di pompelmo inibisce in maniera selettiva una specifica isoforma del citocromo P450 del tratto gastrointestinale, aumentando così la biodisponibilità di alcuni farmaci metabolizzati da questa isoforma.

> [!question] Il succo di pompelmo può inattivare un'isoforma del citocromo P450.
> True or false?
>> [!success]- Answer
>> True

> [!question] Qual è l'effetto del consumo di alimenti contenenti tiramina in pazienti che assumono MAOI?
>> [!success]- Answer
>> Il consumo di alimenti contenenti tiramina in pazienti che assumono MAOI può portare a un accumulo di tiramina, che promuove il rilascio di grandi quantità di catecolamine e può causare una crisi ipertensiva.

@ECuiDev
Copy link
Owner

ECuiDev commented Mar 4, 2024

Hmm, that's weird. I pasted your questions into a new note and they get displayed properly.

Example2
Example1

@calimbrasti94
Copy link
Author

could it be a theme compatibility issue? i have modified several things in the theme granularly, i don't know if it could adversely affect the UI of your plugin.

@ECuiDev
Copy link
Owner

ECuiDev commented Mar 4, 2024

Yup, that was it. I just installed Minimal and now my question text isn't wrapping either. Some of my CSS styles are probably being overridden by Minimal somewhere. I'll see if I can find a fix.

@calimbrasti94
Copy link
Author

Is always a compatibility issue with the theme. 😅

thanks for the support, I will use the plugin in another vault for the time being.

anyway, congratulations again and looking forward to try the other features coming soon.

thank you very much!

@ECuiDev ECuiDev closed this as completed in 104345a Jun 3, 2024
@ECuiDev
Copy link
Owner

ECuiDev commented Jun 3, 2024

This bug has been fixed as part of the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants