Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/refactor abstract modules #66

Closed

Conversation

aeSouid
Copy link

@aeSouid aeSouid commented Jan 10, 2025

Refactor project structure to a multi-module artifact:
plugin-langchain4j as tha abstract module

* feat(Text completion):
create the langChain text compltetion task
create the lang chain text compltetion unit test with the mock

* feat Image generation OPENAI:
- Create new task for image genration with openai
- Create unit test with wiremock to mock openai call when prompt to image generation

* feat chatMemory:
- Create task chat memory with chatMemory obj store
- Create unit test to test disscusion with openai gpt-4-mini

* feat Classification:
- Create task classification that accept classes and the prompt
- Create unit test to test with the given classes

* feat Json Structured Extraction:
- Create task Json Open AI structured extraction v1
- Create unit test to test with the given list of fiels to be extracted

* refactoring:
- In chat memory tas, pass always the full list of message
- Create the langchain4j abstract module
- Add the ollama, openAi, google gemini sub modules
- Create the TextCompletion task for all those modules
@aeSouid aeSouid requested a review from loicmathieu January 10, 2025 14:44
@aeSouid aeSouid closed this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant