Logo
Explore Help
Sign In
iod/page-assist
10
0
Fork 0
You've already forked page-assist
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
b39d60fc3cbfe673d06e0a1c99b9f2fcb94cdaf4
page-assist/src/types/message.ts

20 lines
343 B
TypeScript
Raw Normal View History

Add localization for manage search feature
2024-03-31 00:36:12 +05:30
type WebSearch = {
feat: Add generation info to messages This commit introduces a new feature that displays generation information for each message in the chat. The generation info is displayed in a popover and includes details about the model used, the prompt, and other relevant information. This helps users understand how their messages were generated and troubleshoot any issues that may arise. The generation info is retrieved from the LLM response and is stored in the database alongside other message details. This commit also includes translations for the generation info label in all supported languages.
2024-11-09 15:17:59 +05:30
search_engine: string
search_url: string
search_query: string
search_results: {
title: string
link: string
}[]
}
export type Message = {
isBot: boolean
name: string
message: string
sources: any[]
images?: string[]
search?: WebSearch
messageType?: string
id?: string
generationInfo?: any
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 116ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API