Initial commit of akmon project
This commit is contained in:
7
components/supadb/raginstance.uts
Normal file
7
components/supadb/raginstance.uts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { RagReq,RagReqConfig } from '@/uni_modules/rag-req/rag-req.uts'
|
||||
import { RAG_BASE_URL, RAG_API_KEY } from '@/ak/config.uts'
|
||||
|
||||
const ragconfig = { baseUrl: RAG_BASE_URL, apiKey: RAG_API_KEY } as RagReqConfig
|
||||
const rag = new RagReq(ragconfig)
|
||||
|
||||
export default rag
|
||||
Reference in New Issue
Block a user