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

Video explicativo #3

Open
linikerunk opened this issue Apr 11, 2023 · 4 comments
Open

Video explicativo #3

linikerunk opened this issue Apr 11, 2023 · 4 comments

Comments

@linikerunk
Copy link

linikerunk commented Apr 11, 2023

Olá boa noite, tentei criar uma skill da Alexa com a api do chatGPT passando o .env no arquivo, porém não entendi como vc fez para realizar a implementação, será que um video rápido não seria viável?

@Chukyl1979
Copy link

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!

@seksham
Copy link

seksham commented Apr 24, 2023

You can run export OPENAI_API_KEY="" in your terminal.
Or add this in your bash rc file located in - ~/.bashrc

@farithjhg
Copy link

Step by step is needed after you run ask init. I guess the logic of the skill is on the index.js, but how to connect the skill configuration with this implementation is needed.

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
@farithjhg @linikerunk @seksham @Chukyl1979 and others