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

Familiarise yourself with the OpenAI API #7

Open
DomVinyard opened this issue Feb 19, 2023 · 4 comments
Open

Familiarise yourself with the OpenAI API #7

DomVinyard opened this issue Feb 19, 2023 · 4 comments

Comments

@DomVinyard
Copy link
Collaborator

DomVinyard commented Feb 19, 2023

Acceptance criteria

  • A screenshot of an OpenAI request and response, triggered from code. Paste a screenshot below this ticket

Tasks

Key for testing

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

⚠️ Note from Dom: this key is tied to my personal account, do not share it

@mdapim
Copy link
Collaborator

mdapim commented Feb 21, 2023

Had to install and import dotenv for the environmental variable using the usage script given

Image

@MariamM110
Copy link
Collaborator

We asked openAi "How awesome do you think sigma labs is"
We reused the github code provided and changed around some of the code:

  • max_tokens = roughly a measurement how long the generated answer is
  • temperature = how creative the answer will be (the higher the number, the more creative the answer will be)
  • prompt = the question asked (no limiting scope on this question, can ask the openAi anything)

Image

@bp289
Copy link
Collaborator

bp289 commented Feb 21, 2023

Image

@yuna-iwata
Copy link
Collaborator

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants