langchain4j-examples icon indicating copy to clipboard operation
langchain4j-examples copied to clipboard

Results 31 langchain4j-examples issues
Sort by recently updated
recently updated
newest added

Caused by: java.net.SocketException: Broken pipe (Write failed) at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111) at java.net.SocketOutputStream.write(SocketOutputStream.java:155) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:457) at java.net.Socket.connect(Socket.java:589) at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295) at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207) at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)...

Hello, I see many examples in this codebase that use static inner classes. E.g. here: https://github.com/langchain4j/langchain4j-examples/blob/main/other-examples/src/main/java/embedding/classification/EmbeddingModelTextClassifierExample.java How can I e.g., run the main method inside Pre_Packaged_In_Process_Embedding_Model_Example? I tried ``` mvn...

In [ChatWithDocumentsExamples](https://github.com/langchain4j/langchain4j-examples/blob/main/other-examples/src/main/java/ChatWithDocumentsExamples.java), it's shown how to embed files. But in my case, I'm processing multiple files at different times, which means that I have `embedding_file_1.json`, `embedding_file_2.json`, and so on. How...

I am running the examples from this repo, when using the `demo` API key with not streaming examples, it works perfectly, when I executed the streaming examples I got: ```...

## AstraDB - Requiring an environment variable (`ASTRA_DB_APPLICATION_TOKEN`) with `Organization Administrator` ([doc](https://awesome-astra.github.io/docs/pages/astra/create-token/#c-procedure)) permissions - Database will be created if not exist - Collection will be created if not exists -...

Add metadata filtering example for pgvector. Should wait [#851](https://github.com/langchain4j/langchain4j/pull/851)

## Issue https://github.com/langchain4j/langchain4j/issues/996 ## change add example for LocalAi

Issue: https://github.com/langchain4j/langchain4j/issues/1481 Change: Adds example code on how to use Couchbase embedding store.