Commit graph

634 commits

Author SHA1 Message Date
cybermaggedon
a759a1771e
Added CLI tg-set-prompt command, can be used to update prompts dynamically. (#338)
Added CLI tg-set-prompt command, can be used to update prompts dynamically. (#338)
2025-04-04 15:43:40 +01:00
cybermaggedon
298d09f388
Prompt and agent manager, dynamically load configuration from config-svc
- prompt-template takes config from the config-svc, dynamically reloads
  as new config appears.
- agent-react takes config from config-svc, dynamically reloads
- Fixed lack of data in config queue, needed to take the Earliest, not the
  Latest values.
- Changed text-completion and knowledge-query tool to both use 'query'
  as the argument.
- Prompt and agent no longer have command line args to supply
  configuration.
2025-04-02 16:37:08 +01:00
cybermaggedon
b08c7f03a6
Remove template dir, see github.com/trustgraph-ai/trustgraph-templates (#336) 2025-04-02 14:21:22 +01:00
cybermaggedon
1d222235d3
Configuration initialisation (#335)
* - Fixed error reporting in config
- Updated tg-init-pulsar to be able to load initial config to config-svc
- Tweaked API naming and added more config calls

* Tools to dump out prompts and agent tools
2025-04-02 13:52:33 +01:00
cybermaggedon
a2c64cad4a
Added config reload handler mechanism, calls a Python method on config (#334) 2025-04-02 00:23:30 +01:00
cybermaggedon
88eae0a9f0
Fix no version/config at startup (#333) 2025-04-01 20:54:59 +01:00
cybermaggedon
fa09dc319e
Feature/config service (#332)
Configuration service provides an API to change configuration. Complete configuration is pushed down a config queue so that users have a complete copy of config object.
2025-04-01 19:47:05 +01:00
Cyber MacGeddon
21bda863a7 Merge config-portal templates to here 2025-03-31 22:15:55 +01:00
Cyber MacGeddon
b1cefbe1f7 Update setup.py files to prep 0.22 branch 2025-03-31 22:14:38 +01:00
cybermaggedon
57663742e6
Fix bedrock: (#331)
- Fix missing await
- Fix missing error response
2025-03-27 15:17:08 +00:00
cybermaggedon
8efc3b281d
Fix missing openai symbol / allow specifying base URL (#330) 2025-03-25 21:12:34 +00:00
cybermaggedon
b1ab2938b0
Fix/minor issues (#329)
* Fix MistralAI, symbol error caused it to fail to start

* Update templates
2025-03-25 19:14:56 +00:00
cybermaggedon
222de268c7
LMStudio template support (#328) 2025-03-22 00:56:40 +00:00
cybermaggedon
6ceb926b69
Merge pull request #327 from trustgraph-ai/release/v0.21
0.21 to master
2025-03-22 00:45:02 +00:00
cybermaggedon
482592b976
Added Mistral OCR client (#326)
- Added Mistral OCR client
- Template updates for pdf-ocr
- Template updates for pdf-ocr-mistral
2025-03-22 00:27:20 +00:00
Tyler Oliver
fe422b2b95
Add support for Cassandra auth with SSL check (#318)
Following recommended approach in Datastax documenation I've added the necessary TLS/SSL check

https://docs.datastax.com/en/developer/python-driver/3.17/security/index.html
2025-03-20 22:25:23 +00:00
cybermaggedon
322725be04
Fix container build (#325) 2025-03-20 09:38:54 +00:00
cybermaggedon
c759d55734
Added module which does OCR for PDF, pdf-ocr in a separate package (#324)
(has a lot of dependencies).  Uses Tesseract.
2025-03-20 09:29:40 +00:00
cybermaggedon
cbfe37fec7
Integration with LM Studio LLM hosting (#323) 2025-03-19 19:07:56 +00:00
cybermaggedon
64e42bed6f
Fix/async send typos (#322) 2025-03-19 00:03:58 +00:00
cybermaggedon
1495666e65
Fix typo (#321) 2025-03-18 23:40:31 +00:00
cybermaggedon
dd4a119f49
Fix broken setup.py (#320) 2025-03-18 21:09:18 +00:00
cybermaggedon
6565adb1ec
Enable AKS integration of text-completion-azure-openai (#319)
Reconfigure so that AZURE_TOKEN, AZURE_MODEL and AZURE_ENDPOINT
can be used to set the token/model/endpoint parameters.  This allows it to
be deployed in K8s and use secrets to set these environment variables
2025-03-18 20:27:45 +00:00
cybermaggedon
a22bf0f04e
Azure AKS, experimenting with config (#317) 2025-03-15 12:41:46 +00:00
cybermaggedon
1db6dd5dfd
Support bedrock inference profiles (#314)
* Break out enums for different model types

* Add model detection for inference profiles in US and EU

* Encapsulate model handling, make it easier to manage
2025-03-15 12:39:15 +00:00
cybermaggedon
741d54cf72
Enable fastembed component (#316) 2025-03-15 12:38:57 +00:00
cybermaggedon
a922852017
Fix async/sync load issues with knowledge streaming APIs (#315) 2025-03-15 12:38:10 +00:00
Jack Colquitt
c08779ff3c
Merge pull request #313 from trustgraph-ai/feature/mistral-support
Added support for Mistral API
2025-03-14 18:18:03 -07:00
JackColquitt
a46de297c1 More Mistral pieces 2025-03-14 18:12:33 -07:00
JackColquitt
d676804107 Added Mistral jsonnet templates 2025-03-14 18:07:51 -07:00
JackColquitt
5f5cf8fd07 Added basic Mistral API support 2025-03-14 17:47:59 -07:00
Jack Colquitt
d1233e66dd
README changes for Config Builder and Test Suite 2025-03-12 18:20:18 -07:00
cybermaggedon
88768a791b
Tweak GraphRAG and DocRAG params, path hops == 2 (#312) 2025-03-13 00:44:25 +00:00
cybermaggedon
ef845d6c9b
Feature/rag parameters (#311)
* Change document-rag and graph-rag processing so that the user can
specify parameters.  Changes in Pulsar services, Pulsar message
schemas, gateway and command-line tools.  User-visible changes in
new parameters on command-line tools.

* Fix bugs, graph-rag working

* Get subgraph truncation in the right place

* Graph RAG and document RAG working and configurable

* Multi-hop path traversal GraphRAG

* Add safety valve for path_size set too high
2025-03-13 00:38:18 +00:00
cybermaggedon
f1559c5944
Feature/librarian (#310)
* Add fields to library schema

* Added list function, incomplete

* Librarian list operation
2025-03-11 16:52:59 +00:00
Jack Colquitt
ed3636c867
Fixed README typo 2025-03-08 12:09:03 -08:00
Jack Colquitt
707ce20fe2
README messaging overhaul 2025-03-06 12:19:22 -08:00
Jack Colquitt
a695916287
New horizon image for README 2025-03-06 11:37:49 -08:00
Jack Colquitt
68fb951122
Add files via upload 2025-03-06 11:37:16 -08:00
Jack Colquitt
28bcbf8a40
Added layer diagram to README 2025-03-06 11:29:34 -08:00
Jack Colquitt
f70cd202cb
Add files via upload 2025-03-06 11:28:54 -08:00
Jack Colquitt
6b85950e00
Added layer diagram 2025-03-06 11:25:15 -08:00
cybermaggedon
5575e885e5
Fix merge issues with api-key, conflicts with librarian changes (#309) 2025-02-15 12:25:26 +00:00
cybermaggedon
617eb7efd5
Feature/pulsar api key support (#308)
* Add pulsar API token check

* Added missing api_key references

---------

Co-authored-by: Tyler O <4535788+toliver38@users.noreply.github.com>
2025-02-15 11:22:48 +00:00
Jack Colquitt
6eb9235309
Update README tagline 2025-02-14 16:49:49 -08:00
cybermaggedon
f7df2df266
Feature/librarian (#307)
* Bring QDrant up-to-date

* Tables for data from queue outputs

- Pass single Pulsar client to everything in gateway & librarian
- Pulsar listener-name support in gateway
- PDF and text load working in librarian

* Complete Cassandra schema

* Add librarian support to templates
2025-02-12 23:39:24 +00:00
cybermaggedon
f350abb415
Maint/asyncio (#305)
* Move to asyncio services, even though everything is largely sync
2025-02-11 23:24:46 +00:00
cybermaggedon
a0bf2362f6
Librarian (#304) 2025-02-11 16:01:03 +00:00
Jack Colquitt
d0ae772fd6
Update README tagline 2025-02-09 15:53:29 -08:00
Tyler Oliver
e99c0ac238 Add support for Qdrant API Auth (#300)
Added the necessary changes to support API Key in Qdrant Client Query+Storage
- Doc Embeddings
- Graph Embeddings
2025-02-08 11:46:22 +00:00