Commit Graph

39 Commits

Author SHA1 Message Date
Adam Wilson
cb1be6746f support testing malicious prompts with no guidelines 2025-06-28 12:18:35 -06:00
Adam Wilson
a530e78399 refactoring 2025-06-25 14:54:12 -06:00
Adam Wilson
9b8b6b7105 add/update services, constants 2025-06-25 12:53:24 -06:00
Adam Wilson
9057b0e977 refactor to use services instead of language model objects directly 2025-06-25 06:28:05 -06:00
Adam Wilson
b1cd2a02b8 adjust model config args 2025-06-24 14:23:08 -06:00
Adam Wilson
f867a4fdc9 special tokens in prompt template 2025-06-24 14:22:35 -06:00
Adam Wilson
d4b3d39cf6 fix AttributeError: 'EmbeddingModel' object has no attribute 'embed_documents' 2025-06-24 14:17:55 -06:00
Adam Wilson
f74f8274af update DI container 2025-06-24 14:16:57 -06:00
Adam Wilson
92e00b9eb2 integration tests 2025-06-24 10:57:44 -06:00
Adam Wilson
34ab1858c5 dependency injection container 2025-06-16 21:46:56 -06:00
Adam Wilson
434358e8fa call services from API instead of adapters 2025-06-12 20:43:11 -06:00
Adam Wilson
3aca7df000 refactoring LLM adapters and service layer 2025-06-12 20:25:18 -06:00
Adam Wilson
0cdce03879 abstracts and fakes 2025-06-12 20:23:31 -06:00
Adam Wilson
0b6b7b79b9 service layer tests 2025-06-12 20:22:39 -06:00
Adam Wilson
7a32008728 logging services 2025-05-30 12:09:48 -06:00
Adam Wilson
19910c4e53 logging services 2025-05-30 12:03:11 -06:00
Adam Wilson
e2f552a1c5 initial pass at logging service 2025-05-30 08:40:38 -06:00
Adam Wilson
3647e188e9 use DAN against RAG 2025-05-29 15:39:48 -06:00
Adam Wilson
6d6082cf00 fix garak config paths 2025-05-28 05:57:23 -06:00
Adam Wilson
39c779058d start splitting into classes; use env vars for foundation model file dependencies 2025-05-26 18:27:23 -06:00
Adam Wilson
8bb4a473ca restructure as domain-driven design architecture 2025-05-23 13:48:29 -06:00
Adam Wilson
ff429365ac remove unused files, imports 2025-05-21 14:00:19 -06:00
Adam Wilson
7960d225c6 reduce max tokens; refresh requirements.txt 2025-05-21 10:25:11 -06:00
Adam Wilson
ffacc738b7 single instance of LLM service objects 2025-05-20 20:06:07 -06:00
Adam Wilson
eef8d73f7f API: add POST method w/ service; test action 2025-05-20 11:21:37 -06:00
Adam Wilson
1e7890b007 API: model name updates and str response for health check 2025-05-20 10:13:14 -06:00
Adam Wilson
8cb01137ff + FastAPI PoC 2025-05-20 10:11:48 -06:00
Adam Wilson
d1c87d4cdf use raw controller 2025-05-19 21:41:14 -06:00
Adam Wilson
2024da156c add logging 2025-05-19 13:26:24 -06:00
Adam Wilson
51405fa5ae remove unnecessary logging 2025-05-19 12:59:42 -06:00
Adam Wilson
48c0abaae2 try to fix model path bug 2025-05-19 12:42:43 -06:00
Adam Wilson
0c6bc7c78f try to fix model path bug 2025-05-19 12:32:52 -06:00
Adam Wilson
2c153206c3 try to fix model path bug 2025-05-19 12:25:23 -06:00
Adam Wilson
505515411c try to fix model path bug 2025-05-19 12:11:41 -06:00
Adam Wilson
b3a18a5a3c test and debug response 2025-05-19 07:07:07 -06:00
Adam Wilson
32bfc1d1e2 fix port 2025-05-19 07:00:25 -06:00
Adam Wilson
a470f43667 Flask API 2025-05-18 15:35:12 -06:00
Adam Wilson
bb2f61641c Flask API 2025-05-18 15:21:51 -06:00
Adam Wilson
8679f9ad8d Flask API 2025-05-18 14:48:59 -06:00