mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-01 23:38:21 +00:00
Merge pull request #12966 from nocodb/nc-web-search-took
feat: web search for ai nodes
This commit is contained in:
@@ -81,6 +81,7 @@ export interface AiGenerateObjectArgs {
|
||||
messages: ModelMessage[];
|
||||
schema: any;
|
||||
customModel?: string;
|
||||
websearch?: boolean;
|
||||
}
|
||||
|
||||
interface AiGenerateObjectResponse<T> {
|
||||
@@ -91,6 +92,7 @@ interface AiGenerateObjectResponse<T> {
|
||||
export type AiGenerateTextArgs = {
|
||||
system: string
|
||||
customModel?: string;
|
||||
websearch?: boolean;
|
||||
} & ({ prompt: string } | { messages: ModelMessage[] })
|
||||
|
||||
interface AiGenerateTextResponse {
|
||||
|
||||
Reference in New Issue
Block a user