alnzng opened a new pull request, #150:
URL: https://github.com/apache/flink-agents/pull/150
<!--
* Thank you very much for contributing to Flink Agents.
* Please add the relevant components in the PR title. E.g., [api],
[runtime], [java], [python], [hotfix], etc.
-->
<!-- Please link the PR to the relevant issue(s). Hotfix doesn't need this.
-->
Linked issue: #149
### Purpose of change
<!-- What is the purpose of this change? -->
This PR adds embedding model support to Flink Agents by defining base
abstractions for embedding model connections and setups, along with a complete
Ollama embedding model implementation for local development and testing.
### Tests
<!-- How is this change verified? -->
Unit tests
### API
<!-- Does this change touches any public APIs? -->
New Base Classes:
- BaseEmbeddingModelConnection - Abstract base for embedding model
connections
- BaseEmbeddingModelSetup - Abstract base for embedding model setups
New Resource Types:
- ResourceType.EMBEDDING_MODEL_CONNECTION
- ResourceType.EMBEDDING_MODEL
New Decorators:
- @embedding_model_connection - For declaring embedding model connections
in agents
- @embedding_model_setup - For declaring embedding model setups in agents
New Concrete Implementations:
- OllamaEmbeddingModelConnection - Ollama-specific connection
implementation
- OllamaEmbeddingModelSetup - Ollama-specific setup implementation
### Documentation
<!-- Should this change be covered by the user documentation?-->
[Vector Store and Embedding Model Integration for Flink
Agents](https://github.com/apache/flink-agents/discussions/143)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]