feat: chat session 的实现

11111
winter 1 year ago
parent fee64cb1ac
commit ccbd59f18f

@ -0,0 +1,19 @@
package cn.teammodel.dao;
import cn.teammodel.model.entity.school.Teacher;
import com.azure.spring.data.cosmos.repository.CosmosRepository;
import com.azure.spring.data.cosmos.repository.Query;
import org.springframework.stereotype.Repository;
import java.util.Collection;
import java.util.List;
/**
* @author winter
* @create 2023-11-28 17:39
*/
@Repository
public interface TeacherRepository extends CosmosRepository<Teacher, String> {
@Query("select c.id, c.name from Teacher as c where c.code = @code and c.id in (@ids)")
List<Teacher> findAllByCodeAndIdIn(String code, Collection<String> ids);
}

@ -0,0 +1,5 @@
package cn.teammodel.model.dto.ai;/**
@author winter
@create 2023-12-19 15:42
*/public class UpdateSessionDto {
}

@ -0,0 +1,5 @@
package cn.teammodel.model.entity.ai;/**
@author winter
@create 2023-12-19 15:09
*/public class ChatSession {
}

@ -0,0 +1,5 @@
package cn.teammodel.service;/**
@author winter
@create 2023-12-19 15:30
*/public interface ChatSessionService {
}

@ -0,0 +1,5 @@
package cn.teammodel.service.impl;/**
@author winter
@create 2023-12-19 15:31
*/public class ChatSessionServiceImpl {
}
Loading…
Cancel
Save