MCPcopy Create free account
hub / github.com/acking-you/static_flow / comment_ai_chunks_schema

Function comment_ai_chunks_schema

crates/store/src/comments_store.rs:959–969  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

957}
958
959pub fn comment_ai_chunks_schema() -> Arc<Schema> {
960 Arc::new(Schema::new(vec![
961 Field::new("chunk_id", DataType::Utf8, false),
962 Field::new("run_id", DataType::Utf8, false),
963 Field::new("task_id", DataType::Utf8, false),
964 low_cardinality_utf8_field("stream", false),
965 Field::new("batch_index", DataType::Int32, false),
966 compressed_utf8_field("content", false),
967 Field::new("created_at", DataType::Timestamp(TimeUnit::Millisecond, None), false),
968 ]))
969}
970
971fn build_comment_task_batch(record: &CommentTaskRecord) -> Result<RecordBatch> {
972 let mut task_id = StringBuilder::new();

Calls

no outgoing calls