@@ -1,9 +1,6 @@
|
||||
namespace Api.Services.Rag;
|
||||
using Api.Services.Contracts.Rag;
|
||||
|
||||
public interface ITextChunker
|
||||
{
|
||||
IReadOnlyList<string> Chunk(string text, int chunkSize, int overlap);
|
||||
}
|
||||
namespace Api.Services.Rag;
|
||||
|
||||
public sealed class TextChunker : ITextChunker
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user