vector store by user

This commit is contained in:
2026-02-22 02:55:54 +01:00
parent 3b9f80b46c
commit 6ea0c5fa5e

View File

@@ -35,7 +35,7 @@ public class ChatEntryServiceImpl implements ChatEntryService {
@Override
@Transactional
public ChatEntry addUserEntry(Long chatId, String content, boolean onlyContext, double topP) {
public ChatEntry addUserEntry(Long chatId, String content, boolean onlyContext, double topP, Long userId) {
Chat chat = chatRepository.findById(chatId)
.orElseThrow(() -> new EntityNotFoundException("Chat not found with id: " + chatId));