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

Getting started issue #6

Open
aadityarajkumawat opened this issue Feb 21, 2023 · 4 comments
Open

Getting started issue #6

aadityarajkumawat opened this issue Feb 21, 2023 · 4 comments

Comments

@aadityarajkumawat
Copy link

# yarn ingest is not working
yarn ingest

Screenshot 2023-02-21 at 7 48 06 PM

@sambroe
Copy link

sambroe commented Feb 21, 2023

I'm experiencing the same thing. When I follow the suggestion to add "type":"module" I get a TypeError TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for ingest.ts

@aadityarajkumawat
Copy link
Author

Yes, I get the same error, I really want to use this, but not sure how to get this resolved.

@hwchase17
Copy link
Collaborator

can you try the instructions now?

@jackson-sandland
Copy link

jackson-sandland commented Feb 26, 2023

Related to getting started. I've created a .env file and added my API_KEY but I don't see a reference to it anywhere and I'm getting this error when running yarn && yarn ingest

    data: {
      error: {
        message: 'Incorrect API key provided: undefined. You can find your API key at https://platform.openai.com/account/api-keys.',
        type: 'invalid_request_error',
        param: null,
        code: 'invalid_api_key'
      }
    }

I just created a new key and I used it earlier today so I know it works. It appears that .env is not being loaded or referenced. I think the read_me would benefit from more explicit instructions.
I am still able to run the project locally and see it work by using yarn dev.

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

4 participants