pub struct MySemanticEngine {
pub storage_path: String,
pub stores: Arc<DashMap<String, Arc<SynapseStore>>>,
pub auth: Arc<NamespaceAuth>,
pub audit: Arc<InferenceAudit>,
pub scenario_manager: Arc<ScenarioManager>,
}Fields§
§storage_path: String§stores: Arc<DashMap<String, Arc<SynapseStore>>>§auth: Arc<NamespaceAuth>§audit: Arc<InferenceAudit>§scenario_manager: Arc<ScenarioManager>Implementations§
Trait Implementations§
Source§impl Clone for MySemanticEngine
impl Clone for MySemanticEngine
Source§fn clone(&self) -> MySemanticEngine
fn clone(&self) -> MySemanticEngine
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl SemanticEngine for MySemanticEngine
impl SemanticEngine for MySemanticEngine
Source§fn ingest_triples<'life0, 'async_trait>(
&'life0 self,
request: Request<IngestRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<IngestResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ingest_triples<'life0, 'async_trait>(
&'life0 self,
request: Request<IngestRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<IngestResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Ingests a batch of triples
Source§fn ingest_file<'life0, 'async_trait>(
&'life0 self,
request: Request<IngestFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<IngestResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ingest_file<'life0, 'async_trait>(
&'life0 self,
request: Request<IngestFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<IngestResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Ingests a file (CSV, Markdown)
Source§fn get_neighbors<'life0, 'async_trait>(
&'life0 self,
request: Request<NodeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NeighborResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_neighbors<'life0, 'async_trait>(
&'life0 self,
request: Request<NodeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NeighborResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Queries the graph (Basic traversal for now)
Source§fn search<'life0, 'async_trait>(
&'life0 self,
request: Request<SearchRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SearchResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn search<'life0, 'async_trait>(
&'life0 self,
request: Request<SearchRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SearchResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Vector Search (Placeholder for hybrid query)
Source§fn resolve_id<'life0, 'async_trait>(
&'life0 self,
request: Request<ResolveRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ResolveResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn resolve_id<'life0, 'async_trait>(
&'life0 self,
request: Request<ResolveRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ResolveResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Resolves a string URI to a Node ID
Source§fn get_all_triples<'life0, 'async_trait>(
&'life0 self,
request: Request<EmptyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<TriplesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_all_triples<'life0, 'async_trait>(
&'life0 self,
request: Request<EmptyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<TriplesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get all stored triples (for graph visualization)
Source§fn query_sparql<'life0, 'async_trait>(
&'life0 self,
request: Request<SparqlRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SparqlResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_sparql<'life0, 'async_trait>(
&'life0 self,
request: Request<SparqlRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SparqlResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Executes a SPARQL query
Source§fn delete_namespace_data<'life0, 'async_trait>(
&'life0 self,
request: Request<EmptyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_namespace_data<'life0, 'async_trait>(
&'life0 self,
request: Request<EmptyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Deletes all data associated with a namespace
Source§fn hybrid_search<'life0, 'async_trait>(
&'life0 self,
request: Request<HybridSearchRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SearchResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn hybrid_search<'life0, 'async_trait>(
&'life0 self,
request: Request<HybridSearchRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SearchResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Hybrid search combining vector similarity and graph traversal
Source§fn apply_reasoning<'life0, 'async_trait>(
&'life0 self,
request: Request<ReasoningRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReasoningResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn apply_reasoning<'life0, 'async_trait>(
&'life0 self,
request: Request<ReasoningRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReasoningResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Applies automated reasoning to a namespace
Auto Trait Implementations§
impl Freeze for MySemanticEngine
impl !RefUnwindSafe for MySemanticEngine
impl Send for MySemanticEngine
impl Sync for MySemanticEngine
impl Unpin for MySemanticEngine
impl !UnwindSafe for MySemanticEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request