All checks were successful
Build and Release / release (push) Successful in 2m13s
18 lines
439 B
Go
18 lines
439 B
Go
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type RagChunk struct {
|
|
ID string `json:"id"`
|
|
SourceType string `json:"source_type"`
|
|
SourceID string `json:"source_id"`
|
|
ProjectID string `json:"project_id"`
|
|
ChunkIndex int32 `json:"chunk_index"`
|
|
Content string `json:"content"`
|
|
Similarity float64 `json:"similarity,omitempty"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|