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

create llama@latest community template nextjs-llama3 #78

Open
jozemario opened this issue May 9, 2024 · 3 comments
Open

create llama@latest community template nextjs-llama3 #78

jozemario opened this issue May 9, 2024 · 3 comments

Comments

@jozemario
Copy link

jozemario commented May 9, 2024

using create-llama@0.1.1

1 week before it was working now i received errors when calling replicate api, no changes to template just adding api keys and running
using "llamaindex": "0.3.8"
Screenshot 2024-05-08 at 23 32 38

using llamaindex 0.2.10

Screenshot 2024-05-08 at 23 34 18
@marcusschiesser
Copy link
Collaborator

@jozemario great catch.

The version 0.2.10 is fixed in the https://github.com/run-llama/create_llama_projects/blob/0f8af6c8a75bb9bba2bbb6824dcb3ae93434abb4/nextjs-llama3/package.json#L20 so it should always use that version.

Streaming was updated in 0.3.x so this template needs to updated to work with 0.3.x.

@jte0711
Copy link

jte0711 commented May 19, 2024

Had same problem with other class SimpleDirectoryReader.

Attempted import error: 'SimpleDirectoryReader' is not exported from 'llamaindex' (imported as 'SimpleDirectoryReader').

Did i do something wrong with the import? I tried these but same results:

import { SimpleDirectoryReader } from "llamaindex/readers/SimpleDirectoryReader";
import { SimpleDocumentStore, VectorStoreIndex ,SimpleDirectoryReader} from "llamaindex";

@marcusschiesser
Copy link
Collaborator

@jte0711 This is happening with llamaindex 0.2.10?

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

3 participants