- Introduce BeginAt and EndAt fields in Message struct to track message timing. - Update NewText and NewType methods in Contents to accept Extra struct for better metadata handling. - Modify ScanTokens function to manage token IDs and beginning timestamps, improving token processing accuracy. - Refactor GenerateWithAI and streamChat methods to utilize new timestamp features, enhancing message context and flow. |
||
|---|---|---|
| .. | ||
| assistant | ||
| context | ||
| message | ||
| rag | ||
| store | ||
| vision | ||
| api.go | ||
| api_test.go | ||
| hooks.go | ||
| load.go | ||
| load_test.go | ||
| neo.go | ||
| neo_test.go | ||
| process.go | ||
| process_test.go | ||
| types.go | ||