Commit Graph

1453 Commits

Author SHA1 Message Date
Mark Pollack
8b0ad1a183 add getting started 2023-08-20 21:49:47 -07:00
Mark Pollack
a5c0ede2d5 add concepts docs 2023-08-20 21:05:18 -07:00
Mark Pollack
f1bd67b332 Add devcontainer 2023-08-19 22:01:02 -04:00
Mark Pollack
e9a6ae70e1 Add support for Embedding an Azure OpenAI
* add some logging
* improve integration tests with evaluators
2023-08-19 21:57:38 -04:00
Mark Pollack
f2f81cd963 Change JsonOutputParser to MapOutputParser 2023-08-19 15:28:34 -04:00
Mark Pollack
8e276cae6d improve acme bike use case and evaluation tests 2023-08-19 12:31:48 -04:00
Mark Pollack
2b10843537 use AiInput/AiOuput in chain instead of raw hashmaps 2023-08-18 17:40:52 -04:00
Mark Pollack
b229bf898e Add JsonOutputParser 2023-08-18 17:13:58 -04:00
Mark Pollack
36f3e96745 Add OutputParser 2023-08-18 16:37:34 -04:00
Mark Pollack
678690aeca fix java formatting 2023-08-18 13:02:58 -04:00
Mark Pollack
bfafa8bde3 Reactor PromptTemplateActions
* PromptTemplateActions contains Prompt create() methods
* PromptTemplateStringActions contains String render() methods
* PromptTemplateMessageActions contains Message createMessage() methods
* PromptTemplateChatActions contains List<Message> createMessages() actions
* Message classes can accept a Spring resource in their constructors
* AiClient implementations package name change llm->client
* Add toString() to Generation
* Add -PintegrationTest profile, disabled by default.
* Add integration test for OpenAi Client and 'evaluation'
* Add Question and Answer Prompts for evaluation of AiClient responses
2023-08-18 13:01:39 -04:00
Mark Pollack
236393ef5d PromptTemplates can create messages 2023-08-18 01:23:15 -04:00
Janne Valkealahti
f3840e3651 Add antora workflow 2023-08-16 18:27:59 +03:00
Janne Valkealahti
d7610b774e Fix resources dir 2023-08-16 17:25:03 +03:00
Janne Valkealahti
7e38e285b3 Add missing antora resources file 2023-08-16 17:19:05 +03:00
Janne Valkealahti
05a0520596 Initial antora docs structure 2023-08-16 07:42:19 +01:00
Mark Pollack
d4b9d071ba Add toString to Message classes, and allow Resource to be used in PromptTemplate 2023-08-15 23:22:32 -04:00
Mark Pollack
811ff1ed2b change embeddingclient method names 2023-08-15 19:27:27 -04:00
Mark Pollack
cc3f1ebfbf Add OPENAI_API_KEY to ci action file 2023-08-15 19:00:21 -04:00
Mark Pollack
b18bae2936 trigger again... 2023-08-15 18:55:28 -04:00
Mark Pollack
6eb0bf7b6f trigger build after adding actions secret 2023-08-15 18:54:19 -04:00
Mark Pollack
2682e0e622 remove 'core' package. rename llm package to client 2023-08-15 18:48:29 -04:00
Mark Pollack
0e0c4b9ba7 client refactoring 2023-08-15 17:46:59 -04:00
Mark Pollack
1c41e648f4 update comment in Test to reflect expected use of chain 2023-08-14 00:59:31 -04:00
Mark Pollack
049ac8afb5 Added VectorStore, Retriever with implementations
* Removed some classes out of loader to their own packages
2023-08-14 00:50:22 -04:00
Mark Pollack
b83b19085b Add Loader with JsonLoader impl. Add TextSplitter with TokenTextSplitter impl. 2023-08-13 17:55:37 -04:00
Mark Pollack
a0ab7c3110 Rename return types to use 'Response' suffix. Change LLMClient signature not to accept varargs for Prompts 2023-08-13 14:25:36 -04:00
Mark Pollack
abb29137c3 Add EmbeddingClient and OpenAI implementation 2023-08-12 17:58:58 -04:00
Mark Pollack
2608c95894 Adding initial Chain feature
* Add Chain interface
* Add OuputParser interface
* Add Memory interface
* Rework core prompt OO models
* Change to use PromptTemplateActions as the interface for PromptTemplate
2023-08-12 12:59:40 -04:00
Mark Pollack
ca26c305ab change to 0.2.0-SNAPSHOT 2023-08-12 10:16:32 -04:00
Mark Pollack
e1b4bc2fff change to version 0.1.0-SNAPSHOT 2023-08-12 09:51:58 -04:00
Mark Pollack
0f268194cc remove unused fields in Message classes 2023-08-10 15:58:11 -04:00
Mark Pollack
8189459e5b fix more typos 2023-08-10 13:15:54 -04:00
Mark Pollack
1796ae84b4 fix typo 2023-08-10 13:11:31 -04:00
Mark Pollack
7d36e6bfee add readme text 2023-08-10 13:08:48 -04:00
Mark Pollack
867a8e6494 change default temperature to 0.7 2023-08-10 09:53:46 -04:00
Mark Pollack
47cbb07a84 Implement LLMResult generate(Prompt... prompts) for Azure OpenAI 2023-08-06 20:21:18 -04:00
Mark Pollack
628e697a84 add build badge to README.md 2023-08-05 17:53:32 -04:00
Mark Pollack
67f8e391cd update another starter relative path in pom 2023-08-05 17:44:52 -04:00
Mark Pollack
fd9c7cabd2 update relative path in starter pom 2023-08-05 17:43:05 -04:00
Mark Pollack
81f524ac17 update readme 2023-08-05 17:32:31 -04:00
Mark Pollack
2c73507dc6 change branch name for CI builds 2023-08-05 17:25:22 -04:00
Mark Pollack
a105548a27 Add Azure OpenAI support 2023-08-05 17:15:30 -04:00
Mark Pollack
e042a8e604 OpenAI implementation with autoconfig and starters 2023-08-05 11:13:42 -04:00
Mark Pollack
554f584d08 initial interfaces 2023-08-04 11:56:32 -04:00
Mark Pollack
0ee86b5b5d add github actions 2023-08-04 11:54:13 -04:00
Mark Pollack
f2b299f3da prompt reworking 2023-07-28 21:17:07 -04:00
Mark Pollack
4159758fa3 prompt reworking 2023-07-28 21:16:26 -04:00
Mark Pollack
1b3d6a55dd Improve Prompt package design 2023-07-28 14:41:43 -04:00
Mark Pollack
62704e0bd5 oo refactoring 2023-07-27 01:50:46 -04:00