Class AgenticRagExtensions
- Namespace
- Mythosia.AI.Rag
- Assembly
- Mythosia.AI.Rag.dll
public static class AgenticRagExtensions
- Inheritance
-
AgenticRagExtensions
- Inherited Members
-
Methods
WithAgenticRagTracing<TService>(TService, Action<AgenticRagSearchTrace>, string)
public static TService WithAgenticRagTracing<TService>(this TService service, Action<AgenticRagSearchTrace> onTrace, string toolName = "search_documents") where TService : IAIService, IFunctionRegisterable
Parameters
service TService
onTrace Action<AgenticRagSearchTrace>
toolName string
Returns
- TService
Type Parameters
TService
WithAgenticRag<TService>(TService, RagStore, Func<AgenticRagQueryContext, RagQueryOptions?>, string, string?)
public static TService WithAgenticRag<TService>(this TService service, RagStore ragStore, Func<AgenticRagQueryContext, RagQueryOptions?> queryOptions, string toolName = "search_documents", string? toolDescription = null) where TService : IAIService, IFunctionRegisterable
Parameters
service TService
ragStore RagStore
queryOptions Func<AgenticRagQueryContext, RagQueryOptions>
toolName string
toolDescription string
Returns
- TService
Type Parameters
TService
WithAgenticRag<TService>(TService, RagStore, string, string?)
public static TService WithAgenticRag<TService>(this TService service, RagStore ragStore, string toolName = "search_documents", string? toolDescription = null) where TService : IAIService, IFunctionRegisterable
Parameters
service TService
ragStore RagStore
toolName string
toolDescription string
Returns
- TService
Type Parameters
TService