Documentation
¶
Index ¶
- func ConvertGeminiRequestToInteractions(modelName string, inputRawJSON []byte, stream bool) []byte
- func ConvertGeminiResponseToInteractions(ctx context.Context, modelName string, ...) [][]byte
- func ConvertGeminiResponseToInteractionsNonStream(_ context.Context, modelName string, ...) []byte
- func ConvertGeminiResponseToInteractionsStream(ctx context.Context, modelName string, ...) [][]byte
- func ConvertInteractionsRequestToGemini(modelName string, inputRawJSON []byte, stream bool) []byte
- func ConvertInteractionsRequestToInteractions(modelName string, inputRawJSON []byte, stream bool) []byte
- func ConvertInteractionsResponsePassthrough(_ context.Context, _ string, _, _, rawJSON []byte, _ *any) [][]byte
- func ConvertInteractionsResponsePassthroughNonStream(_ context.Context, _ string, _, _, rawJSON []byte, _ *any) []byte
- func ConvertInteractionsResponseToGemini(_ context.Context, modelName string, _, _, rawJSON []byte, param *any) [][]byte
- func ConvertInteractionsResponseToGeminiNonStream(_ context.Context, modelName string, _, _, rawJSON []byte, _ *any) []byte
- type StreamState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.