Skip to content

FileNotFounException when running langchain4j example #169

Open
@wackmich

Description

@wackmich

Not sure what I doing wrong. I cloned the jlama-examples from the langchain4j repository and adjusted the jvm arguments as described for the preview release.
I then tried to run the streaming example and this is what I get as error:

INFO  c.g.t.j.t.o.TensorOperationsProvider - Using Native SIMD Operations (OffHeap)
INFO  c.g.tjake.jlama.model.AbstractModel - Model type = Q4, Working memory type = F32, Quantized memory type = I8
Exception in thread "main" java.util.concurrent.CompletionException: java.io.IOError: java.io.FileNotFoundException: C:\Users\aiuser\AppData\Local\Temp\9524283943613415699\880850da-a396-4fb6-8512-d74882e7ece4-L0C0.page (Access denied)
        at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:413)
        at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2118)
        at JlamaStreamingChatModelExamples$Simple_Streaming_Prompt.main(JlamaStreamingChatModelExamples.java:46)

I am at a loss right now.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions