Merge branch 'develop' into release/v0.2.7
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
* @Author: ZhaoYing
|
||||
* @Date: 2026-02-03 14:00:06
|
||||
* @Last Modified by: ZhaoYing
|
||||
* @Last Modified time: 2026-03-12 18:25:06
|
||||
* @Last Modified time: 2026-03-13 10:48:41
|
||||
*/
|
||||
import { request } from '@/utils/request'
|
||||
import type { AxiosRequestConfig } from 'axios'
|
||||
import type {
|
||||
MemoryFormData,
|
||||
} from '@/views/MemoryManagement/types'
|
||||
@@ -94,8 +95,12 @@ export const updatedEndUserProfile = (values: EndUser) => {
|
||||
return request.post(`/memory-storage/updated_end_user/profile`, values)
|
||||
}
|
||||
// User Memory - Relationship network
|
||||
export const getMemorySearchEdges = (end_user_id: string) => {
|
||||
return request.get(`/memory-storage/analytics/graph_data`, { end_user_id })
|
||||
export const getMemorySearchEdges = (end_user_id: string, config?: AxiosRequestConfig) => {
|
||||
return request.get(`/memory-storage/analytics/graph_data`, { end_user_id }, config)
|
||||
}
|
||||
// User Memory - Community graph
|
||||
export const getMemoryCommunityGraph = (end_user_id: string, config?: AxiosRequestConfig) => {
|
||||
return request.get(`/memory-storage/analytics/community_graph`, { end_user_id }, config)
|
||||
}
|
||||
// User Memory - User interest distribution
|
||||
export const getInterestDistributionByUser = (end_user_id: string) => {
|
||||
|
||||
Reference in New Issue
Block a user