Documentation ¶
Index ¶
- type BedrockProxy
- func (e *BedrockProxy) HandleChatCompletionRequest(ctx context.Context, transformedBody []byte, stream bool) (*http.Response, error)
- func (e *BedrockProxy) SendChatCompletionResponse(bedrockResp *http.Response, w http.ResponseWriter, stream bool) error
- func (e *BedrockProxy) TransformChatCompletionRequest(reqBody openai_types.IncomingChatCompletionRequest) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BedrockProxy ¶
type BedrockProxy struct {
*bedrock.BedrockEngine
}
func (*BedrockProxy) HandleChatCompletionRequest ¶
func (*BedrockProxy) SendChatCompletionResponse ¶
func (e *BedrockProxy) SendChatCompletionResponse(bedrockResp *http.Response, w http.ResponseWriter, stream bool) error
func (*BedrockProxy) TransformChatCompletionRequest ¶
func (e *BedrockProxy) TransformChatCompletionRequest(reqBody openai_types.IncomingChatCompletionRequest) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.