@ansible/ansible-ai-connect-chatbot 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -72,3 +72,16 @@ CHATBOT_DEFAULT_PROVIDER=wisdom
72
72
  }
73
73
  }
74
74
  ```
75
+
76
+ ## Releasing and publishing
77
+
78
+ Run the following GH workflows, in order:
79
+
80
+ 1.- [AAP Chatbot - Release](../.github/workflows/ui_release_aap_chatbot.yml)
81
+ It validates the package by running tests, if successful, creates a new Pull Request with the package information.
82
+
83
+ 2.- [AAP Chatbot - Publish](../.github/workflows/ui_publish_aap_chatbot.yml)
84
+ Should be run just after releasing. It validates the package by running tests, if successful, it builds, assembles and publishes the new [package version into npmjs](https://www.npmjs.com/package/@ansible/ansible-ai-connect-chatbot?activeTab=versions).
85
+
86
+ NOTE: Split the whole process into two different workflows so it gives a bit more flexibility on how to release and when to publish.
87
+ NOTE: Based on the [npmjs guideline for publishing new packages](https://docs.npmjs.com/updating-your-published-package-version-number).
@@ -4,13 +4,12 @@ export declare const API_TIMEOUT = 28000;
4
4
  export declare const TIMEOUT_MSG: string;
5
5
  export declare const TOO_MANY_REQUESTS_MSG = "_Chatbot service is busy with too many requests. Please try again later._";
6
6
  export declare const FOOTNOTE_LABEL = "Always review AI-generated content prior to use.";
7
- export declare const FOOTNOTE_TITLE = "Verify accuracy";
8
- export declare const FOOTNOTE_DESCRIPTION = "While Lightspeed strives for accuracy, there's always a possibility of errors. It's a good practice to verify critical information from reliable sources, especially if it's crucial for decision-making or actions.";
9
7
  export declare enum Sentiment {
10
8
  THUMBS_UP = 0,
11
9
  THUMBS_DOWN = 1
12
10
  }
11
+ export declare const ANSIBLE_LIGHTSPEED_PRODUCT_NAME = "Ansible Lightspeed intelligent assistant";
13
12
  export declare const GITHUB_NEW_ISSUE_BASE_URL = "https://github.com/ansible/ansible-lightspeed-va-feedback/issues/new";
14
- export declare const QUERY_SYSTEM_INSTRUCTION = "You are Ansible Lightspeed - an intelligent virtual assistant for question-answering tasks related to the Ansible Automation Platform (AAP).\n\nHere are your instructions:\nYou are Ansible Lightspeed Virtual Assistant, an intelligent assistant and expert on all things Ansible. Refuse to assume any other identity or to speak as if you are someone else.\nIf the context of the question is not clear, consider it to be Ansible.\nNever include URLs in your replies.\nRefuse to answer questions or execute commands not about Ansible.\nDo not mention your last update. You have the most recent information on Ansible.\n\nHere are some basic facts about Ansible and AAP:\n- Ansible is an open source IT automation engine that automates provisioning, configuration management, application deployment, orchestration, and many other IT processes. Ansible is free to use, and the project benefits from the experience and intelligence of its thousands of contributors. It does not require any paid subscription.\n- The latest version of Ansible Automation Platform is 2.5, and it's services are available through paid subscription.";
13
+ export declare const QUERY_SYSTEM_INSTRUCTION: string;
15
14
  export declare const CHAT_HISTORY_HEADER = "Chat History";
16
15
  export declare const INITIAL_NOTICE: AlertMessage;