Commit graph

182 commits

Author SHA1 Message Date
Cyber MacGeddon
63e285c815 Phase 3: Memory 2025-09-03 17:50:58 +01:00
Cyber MacGeddon
91b646cf66 Phase 2: Confidence 2025-09-03 17:50:48 +01:00
Cyber MacGeddon
91dba9802e Phase 1: schema 2025-09-03 17:49:24 +01:00
cybermaggedon
5139c6ad5d
Bump pyproject.toml constraints (#477) 2025-08-28 13:45:58 +01:00
cybermaggedon
96c2b73457
Fix import export graceful shutdown (#476)
* Tech spec for graceful shutdown

* Graceful shutdown of importers/exporters

* Update socket to include graceful shutdown orchestration

* Adding tests for conditions tracked in this PR
2025-08-28 13:39:28 +01:00
cybermaggedon
3e5d6ed3e4
Use collection field from request when loading a knowledge core (#472)
* Use collection field from request when loading a knowledge core

* Test core collection
2025-08-27 09:08:06 +01:00
cybermaggedon
e5b9b4976a
Fix agent knowledge query initialisation failure (#469)
* Back out agent change

* Fixed broken tests
2025-08-26 19:41:04 +01:00
cybermaggedon
6e9e2a11b1
Fix knowledge query ignoring the collection (#467)
* Fix knowledge query ignoring the collection

* Updated the agent_manager.py to properly pass config parameters when instantiating tool implementations

* Added tests for agent collection parameter
2025-08-26 19:05:48 +01:00
cybermaggedon
5e71d0cadb
Object extraction schema validation (#465)
* Object schema validation in kg-extract-objects, prevents invalid data appearing in Pulsar messages

* Added tests for the above
2025-08-22 12:30:05 +01:00
cybermaggedon
865bb47349
Feature/mcp tool arguments (#462)
* Tech spec for MCP arguments

* Agent support for MCP tool arguments

* Extra tests for MCP arguments

* Fix tg-set-tool help and docs
2025-08-21 14:46:10 +01:00
cybermaggedon
79e16e65f6
Fix/agent tool resilience (#461)
* Fix incorrect tool initialisation in agent service

* Make Action: parsing more resient.  If there are quotation marks, strip them off.

* Added test case for this change
2025-08-21 13:00:33 +01:00
cybermaggedon
a7de175b33
Fix token chunker, broken API invocation (#454) 2025-08-08 14:41:24 +01:00
cybermaggedon
6c681967ab
Validate librarian collection (#453) 2025-08-07 21:36:24 +01:00
cybermaggedon
83f0c1e7f3
Structure data mvp (#452)
* Structured data tech spec

* Architecture principles

* New schemas

* Updated schemas and specs

* Object extractor

* Add .coveragerc

* New tests

* Cassandra object storage

* Trying to object extraction working, issues exist
2025-08-07 20:47:20 +01:00
cybermaggedon
f4733021c5
Fix Mistral OCR ident to be standard pdf-decoder (#450)
* Fix Mistral OCR ident to be standard pdf-decoder

* Correct test
2025-08-04 14:01:36 +01:00
cybermaggedon
7e0d831026
Fixed Mistral OCR to use current API (#448)
* Fixed Mistral OCR to use current API

* Added PDF decoder tests
2025-08-04 10:08:16 +01:00
cybermaggedon
444d205251
Fix/startup failure (#445)
* Fix loggin startup problems
2025-07-30 23:42:11 +01:00
cybermaggedon
dd70aade11
Implement logging strategy (#444)
* Logging strategy and convert all prints() to logging invocations
2025-07-30 23:18:38 +01:00
cybermaggedon
98022d6af4
Migrate from setup.py to pyproject.toml (#440)
* Converted setup.py to pyproject.toml

* Modern package infrastructure as recommended by py docs
2025-07-23 21:22:08 +01:00
cybermaggedon
d83e4e3d59
Update to enable knowledge extraction using the agent framework (#439)
* Implement KG extraction agent (kg-extract-agent)

* Using ReAct framework (agent-manager-react)
 
* ReAct manager had an issue when emitting JSON, which conflicts which ReAct manager's own JSON messages, so refactored ReAct manager to use traditional ReAct messages, non-JSON structure.
 
* Minor refactor to take the prompt template client out of prompt-template so it can be more readily used by other modules. kg-extract-agent uses this framework.
2025-07-21 14:31:57 +01:00
Cyber MacGeddon
1fe4ed5226 Update Python deps to 1.2 2025-07-17 19:26:19 +01:00
cybermaggedon
81c7c1181b
Updated CLI invocation and config model for tools and mcp (#438)
* Updated CLI invocation and config model for tools and mcp

* CLI anomalies

* Tweaked the MCP tool implementation for new model

* Update agent implementation to match the new model

* Fix agent tools, now all tested

* Fixed integration tests

* Fix MCP delete tool params
2025-07-16 23:09:32 +01:00
cybermaggedon
f37decea2b
Increase storage test coverage (#435)
* Fixing storage and adding tests

* PR pipeline only runs quick tests
2025-07-15 09:33:35 +01:00
cybermaggedon
4daa54abaf
Extending test coverage (#434)
* Contract tests

* Testing embeedings

* Agent unit tests

* Knowledge pipeline tests

* Turn on contract tests
2025-07-14 17:54:04 +01:00
cybermaggedon
9c7a070681
Feature/react call mcp (#428)
Key Features

  - MCP Tool Integration: Added core MCP tool support with ToolClientSpec and ToolClient classes
  - API Enhancement: New mcp_tool method for flow-specific tool invocation
  - CLI Tooling: New tg-invoke-mcp-tool command for testing MCP integration
  - React Agent Enhancement: Fixed and improved multi-tool invocation capabilities
  - Tool Management: Enhanced CLI for tool configuration and management

Changes

  - Added MCP tool invocation to API with flow-specific integration
  - Implemented ToolClientSpec and ToolClient for tool call handling
  - Updated agent-manager-react to invoke MCP tools with configurable types
  - Enhanced CLI with new commands and improved help text
  - Added comprehensive documentation for new CLI commands
  - Improved tool configuration management

Testing

  - Added tg-invoke-mcp-tool CLI command for isolated MCP integration testing
  - Enhanced agent capability to invoke multiple tools simultaneously
2025-07-08 16:19:19 +01:00
cybermaggedon
e56186054a
MCP client support (#427)
- MCP client service
- Tool request/response schema
- API gateway support for mcp-tool
- Message translation for tool request & response
- Make mcp-tool using configuration service for information
  about where the MCP services are.
2025-07-07 23:52:23 +01:00
Cyber MacGeddon
f0b2752abf Bump setup.py versions for 1.1 2025-07-02 16:40:13 +01:00
cybermaggedon
b1a546e4d2
Fix missing script (#418) 2025-06-24 11:32:50 +01:00
cybermaggedon
bab9ac4bd5
Fix command line args (#417) 2025-06-24 11:21:15 +01:00
cybermaggedon
f08e3c1b27
Feature/reverse gateway (#416)
* Created reverse gateway

* Dispatched invoke message translations

* Added config receiver

* Provide a script to start rev-gateway
2025-06-24 11:19:20 +01:00
cybermaggedon
a4e2f67cb1
Feature/translator classes (#414)
Pull the JSON/Pulsar message translation into a separate module, will be useful for other comms channels
2025-06-20 16:59:55 +01:00
cybermaggedon
35b0d80013
Added vLLM support, untested (#410)
* Added vLLM support
2025-06-10 15:37:37 +01:00
cybermaggedon
5364b1fad5
Concurrency implemented in more services (#409) 2025-06-04 11:45:21 +01:00
cybermaggedon
8fc8880d51
Update kg core endpoint methods (#406) 2025-06-02 13:49:29 +01:00
cybermaggedon
2e577e900a
KG core upload/download uses query params (#405) 2025-05-29 19:56:04 +01:00
cybermaggedon
6f964e478e
Core stream in/out (#404) 2025-05-29 16:33:21 +01:00
cybermaggedon
8120cfa803
Remove log cruft (#398) 2025-05-27 23:12:06 +01:00
cybermaggedon
c05ec25e39
Added support for HuggingFace TGI LLM (#396) 2025-05-27 16:44:13 +01:00
cybermaggedon
3ed9274d84
Remove much logging output in gateway (#393) 2025-05-24 12:10:05 +01:00
cybermaggedon
448819ed47
Updates to Google AI: (#394)
- Changed GoogleAIStudio LLM code to match latest documentation
- Very minor tweak to vertexai LLM code - just matching what's in SDK docs
  no actual change to implementation.
- Tweaked VertexAI container build to speed up in dev
- Comments in LLM code to mention which docs it was built from.  Google
  SDKs are confusing ATM.
2025-05-24 12:09:43 +01:00
Cyber MacGeddon
33abc1fa59 Merge branch 'fix/openai-base-url' into release/v1.0 2025-05-22 19:04:50 +01:00
Cyber MacGeddon
127079f085 Make sure text-completion-openai works with empty base URL string 2025-05-22 18:58:10 +01:00
cybermaggedon
1c4d881274
Merge pull request #383 from trustgraph-ai/feature/entity-contexts-import-export
Entity contexts import/export
2025-05-17 13:26:05 +01:00
Cyber MacGeddon
0507f10373 Entity contexts import/export 2025-05-17 13:25:09 +01:00
cybermaggedon
6dc7b4cbfc
Merge pull request #382 from trustgraph-ai/fix/import-queues-not-working
Fix/import queues not working
2025-05-17 13:02:58 +01:00
Cyber MacGeddon
410636b409 Fix missing queue initialisation 2025-05-17 13:01:52 +01:00
cybermaggedon
9f4a718dd8
Fix LLM launch bugs (#378) 2025-05-09 09:25:59 +01:00
cybermaggedon
1e861dc984
Fix LLM launch bugs (#377) 2025-05-09 09:25:56 +01:00
Cyber MacGeddon
6dadf30c66 Bump package versions 2025-05-08 22:06:58 +01:00
cybermaggedon
31b7ade44d
Feature/knowledge load (#372)
* Switch off retry in Cassandra until we can differentiate retryable errors

* Fix config getvalues

* Loading knowledge cores works
2025-05-08 00:41:45 +01:00