Skip to content

Conversation

@krishna-yb
Copy link

  • Add four comprehensive examples demonstrating YugabyteDB integration:

    • Basic embedding store with similarity search
    • Metadata filtering with JSONB storage
    • PostgreSQL JDBC driver usage (recommended)
    • YugabyteDB Smart Driver for distributed deployments
  • Include helper scripts for easy execution:

    • run-example.sh: Run individual examples
    • run-all-examples.sh: Run all examples sequentially
  • Use Testcontainers for isolated testing environment

  • Implement proper resource cleanup to avoid thread warnings

  • Configure containers matching langchain4j-community test standards

@krishna-yb krishna-yb force-pushed the feat/yugabytedb-embedding-store-examples branch from 1618b2f to 264cdcf Compare October 10, 2025 06:46
- Add four comprehensive examples demonstrating YugabyteDB integration:
  * Basic embedding store with similarity search
  * Metadata filtering with JSONB storage
  * PostgreSQL JDBC driver usage (recommended)
  * YugabyteDB Smart Driver for distributed deployments

- Include helper script (run-example.sh) for easy execution

- Use Testcontainers for isolated testing environment
- Implement proper resource cleanup to avoid thread warnings
- Configure containers matching langchain4j-community test standards
@krishna-yb krishna-yb force-pushed the feat/yugabytedb-embedding-store-examples branch from 264cdcf to df2e889 Compare October 10, 2025 06:49
@krishna-yb krishna-yb marked this pull request as ready for review October 10, 2025 12:09
@krishna-yb
Copy link
Author

Hey @mariofusco and @dliubarskyi please take a look

<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-community-yugabytedb</artifactId>
<version>1.8.0-beta15-SNAPSHOT</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update the version to the non-SNAPSHOT one. If it is not released yet, then this PR will be merged after the release

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I've created yugabyteDB as embedding store in community repo.

Link: yugabyte/langchain4j-community@90c2f0f

Here I've used this version: 1.8.0-beta15-SNAPSHOT

What should I do to progress from this point?

Thanks

dliubarskyi pushed a commit to langchain4j/langchain4j that referenced this pull request Oct 15, 2025
- Remove example links from yugabyte docs that are not yet available
- Add note that examples will be added soon

Removes example links from YugabyteDB embedding store documentation.

Since the version is currently `1.8.0-beta15-SNAPSHOT` (not yet
released), the examples repository doesn't have these examples available
yet.

Current link:
yugabyte/langchain4j-community@90c2f0f

Examples PR currently under review, it will be merged once the version
is officially released.
Link: langchain4j/langchain4j-examples#175
kiu345 pushed a commit to kiu345/langchain4j that referenced this pull request Oct 21, 2025
- Remove example links from yugabyte docs that are not yet available
- Add note that examples will be added soon

Removes example links from YugabyteDB embedding store documentation.

Since the version is currently `1.8.0-beta15-SNAPSHOT` (not yet
released), the examples repository doesn't have these examples available
yet.

Current link:
yugabyte/langchain4j-community@90c2f0f

Examples PR currently under review, it will be merged once the version
is officially released.
Link: langchain4j/langchain4j-examples#175
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

Successfully merging this pull request may close these issues.

2 participants