feat(ee): Add Captain features (#10665)
Migration Guide: https://chwt.app/v4/migration This PR imports all the work related to Captain into the EE codebase. Captain represents the AI-based features in Chatwoot and includes the following key components: - Assistant: An assistant has a persona, the product it would be trained on. At the moment, the data at which it is trained is from websites. Future integrations on Notion documents, PDF etc. This PR enables connecting an assistant to an inbox. The assistant would run the conversation every time before transferring it to an agent. - Copilot for Agents: When an agent is supporting a customer, we will be able to offer additional help to lookup some data or fetch information from integrations etc via copilot. - Conversation FAQ generator: When a conversation is resolved, the Captain integration would identify questions which were not in the knowledge base. - CRM memory: Learns from the conversations and identifies important information about the contact. --------- Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com> Co-authored-by: Sojan <sojan@pepalo.com> Co-authored-by: iamsivin <iamsivin@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
@@ -18,14 +18,4 @@ RSpec.configure do |config|
|
||||
def with_modified_env(options, &)
|
||||
ClimateControl.modify(options, &)
|
||||
end
|
||||
|
||||
def skip_unless_response_bot_enabled_test_environment
|
||||
# Tests skipped using this method should be added to .github/workflows/run_response_bot_spec.yml
|
||||
# Manage response bot tests in your local environment using the following commands:
|
||||
# Enable response bot for tests
|
||||
# RAILS_ENV=test bundle exec rails runner "Features::ResponseBotService.new.enable_in_installation"
|
||||
# Disable response bot for tests
|
||||
# RAILS_ENV=test bundle exec rails runner "Features::ResponseBotService.new.disable_in_installation"
|
||||
skip('Skipping since vector is not enabled in this environment') unless Features::ResponseBotService.new.vector_extension_enabled?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user