Skip to content

Conversation

OskarStark
Copy link
Contributor

Q A
Bug fix? no
New feature? no
Docs? no
Issues --
License MIT

Use TEXT_ADA_002 for query embeddings to match the vectorizer configuration, ensuring consistent embedding models between indexing and querying for better similarity search results.

Use TEXT_ADA_002 for query embeddings to match the vectorizer configuration,
ensuring consistent embedding models between indexing and querying for better
similarity search results.
@OskarStark OskarStark self-assigned this Sep 17, 2025
@carsonbot carsonbot added Demo Issues & PRs about the demo application Status: Needs Review labels Sep 17, 2025
OskarStark added a commit that referenced this pull request Sep 17, 2025
This PR was squashed before being merged into the main branch.

Discussion
----------

[Demo] Leverage `Vectorizer` in `QueryCommand`

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Docs?         | no
| Issues        | Replaces #619
| License       | MIT

Replace direct platform usage with `VectorizerInterface` injection using the `#[Autowire]` attribute for cleaner dependency management and better separation of concerns.

Commits
-------

981ee06 [Demo] Leverage `Vectorizer` in `QueryCommand`
@OskarStark
Copy link
Contributor Author

Replaced by #620

@OskarStark OskarStark closed this Sep 17, 2025
OskarStark added a commit to OskarStark/ai that referenced this pull request Sep 17, 2025
- Remove redundant `?? []` in AiBundle since config schema has defaults
- Use `::class` constants instead of string literals in tests
- Remove unnecessary echo from filter example

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
OskarStark added a commit to OskarStark/ai that referenced this pull request Sep 17, 2025
- Remove redundant `?? []` in AiBundle since config schema has defaults
- Use `::class` constants instead of string literals in tests
- Remove unnecessary echo from filter example

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
OskarStark added a commit to OskarStark/ai that referenced this pull request Sep 17, 2025
- Remove redundant `?? []` in AiBundle since config schema has defaults
- Use `::class` constants instead of string literals in tests
- Remove unnecessary echo from filter example

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Demo Issues & PRs about the demo application Status: Reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants