Skip to content

Hi I wanted to have Chat chpt in my alexa Skill. I copyed the files with the codes. I dónt know where to put my key from Open AI. Is it in the index. Here ? headers: { #5

@ernestowcfg

Description

@ernestowcfg
          Hi I wanted to have Chat chpt in my alexa Skill. I copyed the files with the codes. I dónt know where to put my key from Open AI. Is it in the index. Here ?  headers: {
    "Content-Type": "application/json",
    Authorization: `Bearer ${process.env.OPENAI_API_KEY}}`, . Where exactly? Thank you!

Originally posted by @Chukyl1979 in #3 (comment)

To correctly index the API key, you must ensure that you correctly replace the value of 'process.env.OPENAI_API_KEY' with your own OpenAI API key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions