Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fathym_common/src/utils/http.helpers.ts>aiRAGChatRequest

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Go to Latest
function aiRAGChatRequest
import { aiRAGChatRequest } from "https://deno.land/x/fathym_common@v0.0.141/src/utils/http.helpers.ts";

Parameters

req: Request
endpoint: string
apiKey: string
deploymentName: string
modelName: string
useSSEFormat: boolean
optional
inputParams: Partial<OpenAIBaseInput>
optional
embeddingDeploymentName: string
optional
searchEndpoint: string
optional
searchApiKey: string