kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
old-agentic-v1^2
rodzic
97536de2ec
commit
09d762098f
|
@ -213,7 +213,7 @@ export interface DiffbotKnowledgeGraphEnhanceOptions {
|
|||
nonCanonicalFacts?: boolean
|
||||
}
|
||||
|
||||
export interface DiffbotKnowledgeGraphSearchResponse {
|
||||
export interface DiffbotKnowledgeGraphResponse {
|
||||
data: DiffbotKnowledgeGraphNode[]
|
||||
version: number
|
||||
hits: number
|
||||
|
@ -388,7 +388,7 @@ export class DiffbotClient {
|
|||
token: this.apiKey
|
||||
}
|
||||
})
|
||||
.json<DiffbotKnowledgeGraphSearchResponse>()
|
||||
.json<DiffbotKnowledgeGraphResponse>()
|
||||
}
|
||||
|
||||
async knowledgeGraphEnhance(options: DiffbotKnowledgeGraphEnhanceOptions) {
|
||||
|
@ -399,6 +399,6 @@ export class DiffbotClient {
|
|||
token: this.apiKey
|
||||
}
|
||||
})
|
||||
.json<DiffbotKnowledgeGraphSearchResponse>()
|
||||
.json<DiffbotKnowledgeGraphResponse>()
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue