Skip to content

Commit

Permalink
fixed package.json to export firebase modules correctly (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav-kural authored Jul 9, 2024
1 parent 056bd87 commit 47ad020
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oconva/qvikchat",
"version": "1.0.4",
"version": "1.0.5",
"repository": {
"type": "git",
"url": "https://github.com/oconva/qvikchat.git"
Expand Down Expand Up @@ -98,10 +98,10 @@
"default": "./lib/history/chat-history-store.js"
},
"./firebase": {
"types": "./lib/integrations/firebase.d.ts",
"import": "./lib/integrations/firebase.js",
"require": "./lib/integrations/firebase.js",
"default": "./lib/integrations/firebase.js"
"types": "./lib/integrations/firebase/firebase.d.ts",
"import": "./lib/integrations/firebase/firebase.js",
"require": "./lib/integrations/firebase/firebase.js",
"default": "./lib/integrations/firebase/firebase.js"
},
"./models": {
"types": "./lib/models/models.d.ts",
Expand Down
4 changes: 3 additions & 1 deletion src/endpoints/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,10 @@ export type DefineChatEndpointConfig = {

/**
* Method to define a chat endpoint using the provided chat agent and endpoint, with support for chat history.
* @param chatAgent Chat Agent instance to use for this endpoint.
* @param chatAgentConfig Configurations for the chat agent, like LLM model, system prompt, chat prompt, and tools.
* @param endpoint Server endpoint to which queries should be sent to run this chat flow.
* @param agentType Type of chat agent to use for this endpoint. Can be "open-ended" or "close-ended".
* @param topic Topic for the close-ended or RAG chat agent. Required if agentType is "close-ended" or if RAG is enabled.
* @param enableChatHistory Enable chat history for this endpoint. If chat ID is provided, chat history will be fetched and used to generate response. If no chat ID is provided, a new chat ID will be generated to store chat history, and will be returned in the response.
* @param chatHistoryStore Chat History Store instance to use for this endpoint.
* @param enableAuth Enable authentication for this endpoint. Must provide an API Key Store instance if set to true.
Expand Down

0 comments on commit 47ad020

Please sign in to comment.