(settings: ConfigVar, vec_store: VectorStore)
| 19 | |
| 20 | impl Processor { |
| 21 | pub fn new(settings: ConfigVar, vec_store: VectorStore) -> Self { |
| 22 | Self { |
| 23 | settings, |
| 24 | vec_store, |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | // process_file splits the text into chunks so to generate the embeddings |
| 29 | // for proper context length and saves them to the db |
nothing calls this directly
no outgoing calls
no test coverage detected