vector store by user
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user