Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 9 months ago
0
Follow
Course
Course
Inactive
0
Follow
D
DaPobbat
9 months ago
Β·
Hey all - setup question. I'm trying to follow along this course by Laurie Voss:
https://learn.deeplearning.ai/courses/javascript-rag-web-apps-with-llamaindex/lesson/2/getting-started-with-rag
In the step with this code:
import {
Document,
VectorStoreIndex,
SimpleDirectoryReader
} from "npm:llamaindex@0.1.8"
I get this syntax error for { after import.
Am I missing something in the setup?
Thanks
Attachment
L
D
3 comments
Share
Open in Discord
L
Logan M
9 months ago
Oh, you are running typescript code with python
L
Logan M
9 months ago
You'll want to run using typescript and a ts node compiler thingy
D
DaPobbat
9 months ago
Thank you. not too familiar with typescript. Will look it up. If you have any tutorial link handy, I'd appreciate getting it.
Add a reply
Sign up and join the conversation on Discord
Join on Discord