Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: adds BackendRef into LLMBackendSpec #40

Merged
merged 4 commits into from
Dec 12, 2024
Merged

api: adds BackendRef into LLMBackendSpec #40

merged 4 commits into from
Dec 12, 2024

Conversation

mathetake
Copy link
Member

@mathetake mathetake commented Dec 11, 2024

This adds backendRef to LLMBackendSpec which specifies
the "backend" either Service or Backend resource of Envoy Gateway.

The choice of not embedding is intentional - A backend can be a target
of routing in HTTPRoute and can be either of these two types. Hence
this is not suitable for embedding. In addition, in the implementation,
we won't directly use or reference them, but just simply attach the
necessary logic by the names, so basically no benefit by doing so.

Signed-off-by: Takeshi Yoneda <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
@Krishanx92
Copy link

LGTM

@@ -6,3 +6,7 @@ metadata:
spec:
outputSchema:
schema: AWSBedrock
backendRef:
name: dog-service
Copy link

Choose a reason for hiding this comment

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

Nit

Signed-off-by: Takeshi Yoneda <[email protected]>
@mathetake mathetake merged commit cd38875 into main Dec 12, 2024
6 checks passed
@mathetake mathetake deleted the backendref branch December 12, 2024 17:50
aabchoo pushed a commit that referenced this pull request Dec 12, 2024
This adds `backendRef` to LLMBackendSpec which specifies
the "backend" either Service or Backend resource of Envoy Gateway.

The choice of not embedding is intentional - A backend can be a target
of routing in HTTPRoute and can be either of these two types. Hence
this is not suitable for embedding. In addition, in the implementation, 
we won't directly use or reference them, but just simply attach the 
necessary logic by the names, so basically no benefit by doing so.

---------

Signed-off-by: Takeshi Yoneda <[email protected]>
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.

3 participants