mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
Fix docstring breakage in type hint change (#817)
This commit is contained in:
parent
706e62b7c2
commit
95e4839da7
11 changed files with 44 additions and 44 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Agent manager service completion base class
|
Agent manager service completion base class
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import logging
|
import logging
|
||||||
from prometheus_client import Histogram
|
from prometheus_client import Histogram
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Document embeddings query service. Input is vectors. Output is list of
|
Document embeddings query service. Input is vectors. Output is list of
|
||||||
embeddings.
|
embeddings.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from .. schema import DocumentEmbeddingsRequest, DocumentEmbeddingsResponse
|
from .. schema import DocumentEmbeddingsRequest, DocumentEmbeddingsResponse
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Document embeddings store base class
|
Document embeddings store base class
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from .. schema import DocumentEmbeddings
|
from .. schema import DocumentEmbeddings
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Base class for dynamically pluggable tool services.
|
Base class for dynamically pluggable tool services.
|
||||||
|
|
||||||
|
|
@ -14,6 +10,10 @@ Uses direct Pulsar topics (no flow configuration required):
|
||||||
- Response: non-persistent://tg/response/{topic}
|
- Response: non-persistent://tg/response/{topic}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Embeddings resolution base class
|
Embeddings resolution base class
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import logging
|
import logging
|
||||||
from prometheus_client import Histogram
|
from prometheus_client import Histogram
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Graph embeddings query service. Input is vectors. Output is list of
|
Graph embeddings query service. Input is vectors. Output is list of
|
||||||
embeddings.
|
embeddings.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from .. schema import GraphEmbeddingsRequest, GraphEmbeddingsResponse
|
from .. schema import GraphEmbeddingsRequest, GraphEmbeddingsResponse
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Graph embeddings store base class
|
Graph embeddings store base class
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from .. schema import GraphEmbeddings
|
from .. schema import GraphEmbeddings
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
LLM text completion base class
|
LLM text completion base class
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import logging
|
import logging
|
||||||
from prometheus_client import Histogram, Info
|
from prometheus_client import Histogram, Info
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Tool invocation base class
|
Tool invocation base class
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
from prometheus_client import Counter
|
from prometheus_client import Counter
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Triples query service. Input is a (s, p, o) triple, some values may be
|
Triples query service. Input is a (s, p, o) triple, some values may be
|
||||||
null. Output is a list of triples.
|
null. Output is a list of triples.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from .. schema import TriplesQueryRequest, TriplesQueryResponse, Error
|
from .. schema import TriplesQueryRequest, TriplesQueryResponse, Error
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Triples store base class
|
Triples store base class
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from .. schema import Triples
|
from .. schema import Triples
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue