trustgraph-base 0.14.8__tar.gz → 0.14.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/PKG-INFO +2 -2
  2. trustgraph-base-0.14.10/trustgraph/base_version.py +1 -0
  3. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/clients/llm_client.py +4 -2
  4. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/schema/models.py +1 -0
  5. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph_base.egg-info/PKG-INFO +2 -2
  6. trustgraph-base-0.14.8/trustgraph/base_version.py +0 -1
  7. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/README.md +0 -0
  8. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/setup.cfg +0 -0
  9. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/setup.py +0 -0
  10. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/base/__init__.py +0 -0
  11. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/base/base_processor.py +0 -0
  12. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/base/consumer.py +0 -0
  13. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/base/consumer_producer.py +0 -0
  14. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/base/producer.py +0 -0
  15. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/clients/__init__.py +0 -0
  16. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/clients/base.py +0 -0
  17. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/clients/document_embeddings_client.py +0 -0
  18. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/clients/document_rag_client.py +0 -0
  19. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/clients/embeddings_client.py +0 -0
  20. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/clients/graph_embeddings_client.py +0 -0
  21. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/clients/graph_rag_client.py +0 -0
  22. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/clients/prompt_client.py +0 -0
  23. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/clients/triples_query_client.py +0 -0
  24. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/exceptions.py +0 -0
  25. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/knowledge/__init__.py +0 -0
  26. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/knowledge/defs.py +0 -0
  27. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/knowledge/document.py +0 -0
  28. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/knowledge/identifier.py +0 -0
  29. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/knowledge/organization.py +0 -0
  30. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/knowledge/publication.py +0 -0
  31. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/log_level.py +0 -0
  32. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/objects/__init__.py +0 -0
  33. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/objects/field.py +0 -0
  34. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/objects/object.py +0 -0
  35. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/rdf.py +0 -0
  36. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/schema/__init__.py +0 -0
  37. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/schema/documents.py +0 -0
  38. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/schema/graph.py +0 -0
  39. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/schema/metadata.py +0 -0
  40. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/schema/object.py +0 -0
  41. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/schema/prompt.py +0 -0
  42. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/schema/retrieval.py +0 -0
  43. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/schema/topic.py +0 -0
  44. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph/schema/types.py +0 -0
  45. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph_base.egg-info/SOURCES.txt +0 -0
  46. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph_base.egg-info/dependency_links.txt +0 -0
  47. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph_base.egg-info/requires.txt +0 -0
  48. {trustgraph-base-0.14.8 → trustgraph-base-0.14.10}/trustgraph_base.egg-info/top_level.txt +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trustgraph-base
3
- Version: 0.14.8
3
+ Version: 0.14.10
4
4
  Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
5
5
  Home-page: https://github.com/trustgraph-ai/trustgraph
6
6
  Author: trustgraph.ai
7
7
  Author-email: security@trustgraph.ai
8
8
  License: UNKNOWN
9
- Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.14.8.tar.gz
9
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.14.10.tar.gz
10
10
  Platform: UNKNOWN
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
@@ -0,0 +1 @@
1
+ __version__ = "0.14.10"
@@ -35,6 +35,8 @@ class LlmClient(BaseClient):
35
35
  output_schema=TextCompletionResponse,
36
36
  )
37
37
 
38
- def request(self, prompt, timeout=300):
39
- return self.call(prompt=prompt, timeout=timeout).response
38
+ def request(self, system, prompt, timeout=300):
39
+ return self.call(
40
+ system=system, prompt=prompt, timeout=timeout
41
+ ).response
40
42
 
@@ -9,6 +9,7 @@ from . types import Error
9
9
  # LLM text completion
10
10
 
11
11
  class TextCompletionRequest(Record):
12
+ system = String()
12
13
  prompt = String()
13
14
 
14
15
  class TextCompletionResponse(Record):
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trustgraph-base
3
- Version: 0.14.8
3
+ Version: 0.14.10
4
4
  Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
5
5
  Home-page: https://github.com/trustgraph-ai/trustgraph
6
6
  Author: trustgraph.ai
7
7
  Author-email: security@trustgraph.ai
8
8
  License: UNKNOWN
9
- Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.14.8.tar.gz
9
+ Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v0.14.10.tar.gz
10
10
  Platform: UNKNOWN
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
@@ -1 +0,0 @@
1
- __version__ = "0.14.8"