Skip to content

api: adds BackendRef into LLMBackendSpec#40

Merged
mathetake merged 4 commits intomainfrom
backendref
Dec 12, 2024
Merged

api: adds BackendRef into LLMBackendSpec#40
mathetake merged 4 commits intomainfrom
backendref

Conversation

@mathetake
Copy link
Copy Markdown
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
Copy Markdown
Contributor

LGTM

outputSchema:
schema: AWSBedrock
backendRef:
name: dog-service
Copy link
Copy Markdown
Contributor

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
@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