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

added: multiple random questions generating router #221

Merged
merged 7 commits into from
Dec 4, 2023

Conversation

3LL4N
Copy link
Collaborator

@3LL4N 3LL4N commented Dec 4, 2023

Description

Added router to generate random questions from gpt api

Code Snippets

const sample = trpc.gptApi.generateMultipleRandomQuestions.useMutation();
 
const response = sample.mutateAsync({ message: "About solar system", numOfQuestions: 10 });

Returns a list of assorted question types

@3LL4N 3LL4N added the enhancement New feature or request label Dec 4, 2023
Copy link

vercel bot commented Dec 4, 2023

@3LL4N is attempting to deploy a commit to the DADILI - TestTrek Team on Vercel.

A member of the Team first needs to authorize it.

@HansGabriel HansGabriel merged commit cfaae35 into HansGabriel:main Dec 4, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants