rasa-pro 3.13.1a18__py3-none-any.whl → 3.13.3__py3-none-any.whl
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.
Potentially problematic release.
This version of rasa-pro might be problematic. Click here for more details.
- rasa/cli/project_templates/defaults.py +25 -3
- rasa/cli/scaffold.py +3 -22
- rasa/core/actions/action.py +2 -4
- rasa/core/channels/studio_chat.py +10 -34
- rasa/core/channels/voice_stream/asr/asr_engine.py +5 -1
- rasa/core/channels/voice_stream/asr/deepgram.py +5 -0
- rasa/core/channels/voice_stream/audiocodes.py +9 -4
- rasa/core/channels/voice_stream/jambonz.py +1 -1
- rasa/core/channels/voice_stream/voice_channel.py +7 -0
- rasa/core/nlg/callback.py +1 -1
- rasa/core/policies/enterprise_search_policy.py +9 -8
- rasa/core/policies/flows/flow_executor.py +1 -8
- rasa/dialogue_understanding/commands/correct_slots_command.py +0 -10
- rasa/dialogue_understanding/generator/command_generator.py +5 -5
- rasa/dialogue_understanding/generator/flow_retrieval.py +9 -10
- rasa/dialogue_understanding/processor/command_processor.py +6 -1
- rasa/model_manager/model_api.py +3 -2
- rasa/model_manager/runner_service.py +1 -1
- rasa/model_manager/trainer_service.py +9 -12
- rasa/model_manager/utils.py +29 -1
- rasa/shared/core/domain.py +15 -62
- rasa/shared/core/flows/flow_step.py +1 -7
- rasa/shared/core/flows/yaml_flows_io.py +8 -16
- rasa/shared/core/slots.py +0 -4
- rasa/shared/importers/importer.py +0 -6
- rasa/shared/importers/utils.py +1 -77
- rasa/studio/upload.py +45 -10
- rasa/telemetry.py +1 -2
- rasa/utils/io.py +9 -27
- rasa/utils/json_utils.py +1 -6
- rasa/utils/log_utils.py +1 -5
- rasa/utils/plotting.py +1 -1
- rasa/validator.py +3 -7
- rasa/version.py +1 -1
- {rasa_pro-3.13.1a18.dist-info → rasa_pro-3.13.3.dist-info}/METADATA +8 -9
- {rasa_pro-3.13.1a18.dist-info → rasa_pro-3.13.3.dist-info}/RECORD +39 -261
- rasa/builder/README.md +0 -120
- rasa/builder/__init__.py +0 -0
- rasa/builder/config.py +0 -79
- rasa/builder/create_openai_vector_store.py +0 -228
- rasa/builder/exceptions.py +0 -55
- rasa/builder/inkeep-rag-response-schema.json +0 -64
- rasa/builder/inkeep_document_retrieval.py +0 -212
- rasa/builder/llm-helper-schema.json +0 -69
- rasa/builder/llm_context.py +0 -81
- rasa/builder/llm_helper_prompt.jinja2 +0 -245
- rasa/builder/llm_service.py +0 -317
- rasa/builder/logging_utils.py +0 -51
- rasa/builder/main.py +0 -147
- rasa/builder/models.py +0 -225
- rasa/builder/project_generator.py +0 -282
- rasa/builder/scrape_rasa_docs.py +0 -97
- rasa/builder/service.py +0 -742
- rasa/builder/skill_to_bot_prompt.jinja2 +0 -164
- rasa/builder/training_service.py +0 -132
- rasa/builder/validation_service.py +0 -93
- rasa/cli/project_templates/finance/actions/__init__.py +0 -0
- rasa/cli/project_templates/finance/actions/action_add_payee.py +0 -47
- rasa/cli/project_templates/finance/actions/action_ask_account.py +0 -50
- rasa/cli/project_templates/finance/actions/action_ask_account_from.py +0 -50
- rasa/cli/project_templates/finance/actions/action_ask_card.py +0 -47
- rasa/cli/project_templates/finance/actions/action_check_balance.py +0 -40
- rasa/cli/project_templates/finance/actions/action_check_card_existence.py +0 -35
- rasa/cli/project_templates/finance/actions/action_check_payee_existence.py +0 -40
- rasa/cli/project_templates/finance/actions/action_check_sufficient_funds.py +0 -41
- rasa/cli/project_templates/finance/actions/action_list_payees.py +0 -45
- rasa/cli/project_templates/finance/actions/action_process_immediate_payment.py +0 -18
- rasa/cli/project_templates/finance/actions/action_remove_payee.py +0 -49
- rasa/cli/project_templates/finance/actions/action_schedule_payment.py +0 -19
- rasa/cli/project_templates/finance/actions/action_session_start.py +0 -69
- rasa/cli/project_templates/finance/actions/action_update_card_status.py +0 -45
- rasa/cli/project_templates/finance/actions/action_validate_payment_date.py +0 -36
- rasa/cli/project_templates/finance/actions/database.py +0 -276
- rasa/cli/project_templates/finance/config.yml +0 -32
- rasa/cli/project_templates/finance/credentials.yml +0 -33
- rasa/cli/project_templates/finance/csvs/accounts.csv +0 -8
- rasa/cli/project_templates/finance/csvs/advisors.csv +0 -7
- rasa/cli/project_templates/finance/csvs/appointments.csv +0 -211
- rasa/cli/project_templates/finance/csvs/branches.csv +0 -10
- rasa/cli/project_templates/finance/csvs/cards.csv +0 -11
- rasa/cli/project_templates/finance/csvs/payees.csv +0 -10
- rasa/cli/project_templates/finance/csvs/transactions.csv +0 -71
- rasa/cli/project_templates/finance/csvs/users.csv +0 -4
- rasa/cli/project_templates/finance/data/flows/add_payee.yml +0 -29
- rasa/cli/project_templates/finance/data/flows/block_card.yml +0 -66
- rasa/cli/project_templates/finance/data/flows/check_balance.yml +0 -9
- rasa/cli/project_templates/finance/data/flows/list_payees.yml +0 -5
- rasa/cli/project_templates/finance/data/flows/remove_payee.yml +0 -21
- rasa/cli/project_templates/finance/data/flows/select_card.yml +0 -12
- rasa/cli/project_templates/finance/data/flows/transfer_money.yml +0 -67
- rasa/cli/project_templates/finance/data/flows/welcome.yml +0 -14
- rasa/cli/project_templates/finance/data/nlu.yml +0 -29
- rasa/cli/project_templates/finance/data/patterns/pattern_chitchat.yml +0 -7
- rasa/cli/project_templates/finance/data/patterns/pattern_completed.yml +0 -6
- rasa/cli/project_templates/finance/data/patterns/pattern_search.yml +0 -5
- rasa/cli/project_templates/finance/data/patterns/pattern_session_start.yml +0 -9
- rasa/cli/project_templates/finance/data/source/accounts.json +0 -51
- rasa/cli/project_templates/finance/data/source/advisors.json +0 -44
- rasa/cli/project_templates/finance/data/source/appointments.json +0 -1474
- rasa/cli/project_templates/finance/data/source/branches.json +0 -47
- rasa/cli/project_templates/finance/data/source/cards.json +0 -72
- rasa/cli/project_templates/finance/data/source/payees.json +0 -74
- rasa/cli/project_templates/finance/data/source/transactions.json +0 -492
- rasa/cli/project_templates/finance/data/source/users.json +0 -29
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/consequences_of_blocking_card.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/reasons_to_block_card.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/recovering_from_card_fraud.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/tips_for_card_security.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/what_to_do_if_card_is_lost.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/account_balance_security.txt +0 -7
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/common_balance_inquiries.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/methods_to_check_balance.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/understanding_balance_updates.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/what_to_do_if_balance_is_incorrect.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/benefits_of_authorised_payees.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/common_issues_with_payees.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/general_payee_information.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/payee_management_tips.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/understanding_payee_types.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/common_transfer_errors.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/fees_for_transfers.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/general_transfer_information.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/security_tips_for_transfers.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/transfer_processing_times.txt +0 -8
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part1.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part10.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part11.txt +0 -48
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part12.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part13.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part14.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part15.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part16.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part17.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part18.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part19.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part2.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part20.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part21.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part22.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part23.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part24.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part25.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part26.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part27.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part28.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part29.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part3.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part30.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part31.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part32.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part33.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part34.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part35.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part36.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part37.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part38.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part39.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part4.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part40.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part41.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part42.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part43.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part44.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part45.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part46.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part47.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part48.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part49.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part5.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part50.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part51.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part52.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part53.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part54.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part55.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part56.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part57.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part58.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part59.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part6.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part60.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part61.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part7.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part8.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part9.txt +0 -47
- rasa/cli/project_templates/finance/domain/add_payee.yml +0 -47
- rasa/cli/project_templates/finance/domain/block_card.yml +0 -101
- rasa/cli/project_templates/finance/domain/check_balance.yml +0 -9
- rasa/cli/project_templates/finance/domain/default_actions.yml +0 -16
- rasa/cli/project_templates/finance/domain/default_flows.yml +0 -33
- rasa/cli/project_templates/finance/domain/list_payees.yml +0 -4
- rasa/cli/project_templates/finance/domain/remove_payee.yml +0 -16
- rasa/cli/project_templates/finance/domain/select_card.yml +0 -12
- rasa/cli/project_templates/finance/domain/transfer_money.yml +0 -79
- rasa/cli/project_templates/finance/endpoints.yml +0 -62
- rasa/cli/project_templates/finance/prompts/command-generator.jinja2 +0 -57
- rasa/cli/project_templates/finance/prompts/rephraser_demo_personality_prompt.jinja2 +0 -19
- rasa/cli/project_templates/finance/tests/conversation_repair/cancellations.yml +0 -12
- rasa/cli/project_templates/finance/tests/conversation_repair/cannot_handle.yml +0 -7
- rasa/cli/project_templates/finance/tests/conversation_repair/chitchat.yml +0 -7
- rasa/cli/project_templates/finance/tests/conversation_repair/clarification.yml +0 -9
- rasa/cli/project_templates/finance/tests/conversation_repair/completion.yml +0 -18
- rasa/cli/project_templates/finance/tests/conversation_repair/corrections.yml +0 -17
- rasa/cli/project_templates/finance/tests/conversation_repair/digressions.yml +0 -32
- rasa/cli/project_templates/finance/tests/conversation_repair/human_handoff.yml +0 -21
- rasa/cli/project_templates/finance/tests/conversation_repair/skipping_collect_steps.yml +0 -16
- rasa/cli/project_templates/finance/tests/demo_scripts/main.yml +0 -16
- rasa/cli/project_templates/finance/tests/happy_paths/balance_verification.yml +0 -15
- rasa/cli/project_templates/finance/tests/happy_paths/banking_questions.yml +0 -12
- rasa/cli/project_templates/finance/tests/happy_paths/card_blocking.yml +0 -52
- rasa/cli/project_templates/finance/tests/happy_paths/money_transfer.yml +0 -136
- rasa/cli/project_templates/finance/tests/happy_paths/payee_management.yml +0 -27
- rasa/cli/project_templates/finance/tests/happy_paths/user_greeted.yml +0 -5
- rasa/cli/project_templates/plain/actions/__init__.py +0 -0
- rasa/cli/project_templates/plain/config.yml +0 -17
- rasa/cli/project_templates/plain/credentials.yml +0 -33
- rasa/cli/project_templates/plain/data/patterns/pattern_session_start.yml +0 -7
- rasa/cli/project_templates/plain/domain.yml +0 -5
- rasa/cli/project_templates/plain/endpoints.yml +0 -58
- rasa/cli/project_templates/telco/actions/__init__.py +0 -0
- rasa/cli/project_templates/telco/actions/actions_billing.py +0 -197
- rasa/cli/project_templates/telco/actions/actions_get_data_from_db.py +0 -43
- rasa/cli/project_templates/telco/actions/actions_run_diagnostics.py +0 -23
- rasa/cli/project_templates/telco/actions/actions_session_start.py +0 -13
- rasa/cli/project_templates/telco/config.yml +0 -25
- rasa/cli/project_templates/telco/credentials.yml +0 -33
- rasa/cli/project_templates/telco/csvs/billing.csv +0 -10
- rasa/cli/project_templates/telco/csvs/customers.csv +0 -5
- rasa/cli/project_templates/telco/data/flows/flow_global.yml +0 -5
- rasa/cli/project_templates/telco/data/flows/flow_reboot_router.yml +0 -8
- rasa/cli/project_templates/telco/data/flows/flow_reset_router.yml +0 -7
- rasa/cli/project_templates/telco/data/flows/flow_solve_internet_issue.yml +0 -73
- rasa/cli/project_templates/telco/data/flows/flow_undertand_bill.yml +0 -45
- rasa/cli/project_templates/telco/data/patterns/pattern_completed.yml +0 -7
- rasa/cli/project_templates/telco/data/patterns/pattern_human_handoff.yml +0 -6
- rasa/cli/project_templates/telco/data/patterns/pattern_search.yml +0 -7
- rasa/cli/project_templates/telco/data/patterns/pattern_session_start.yml +0 -9
- rasa/cli/project_templates/telco/docs/reset_vs_rboot_router.txt +0 -1
- rasa/cli/project_templates/telco/docs/restart_router.txt +0 -6
- rasa/cli/project_templates/telco/docs/run_speed_test.txt +0 -6
- rasa/cli/project_templates/telco/domain/domain_global.yml +0 -29
- rasa/cli/project_templates/telco/domain/domain_patterns.yml +0 -17
- rasa/cli/project_templates/telco/domain/domain_reboot_router.yml +0 -20
- rasa/cli/project_templates/telco/domain/domain_reset_router.yml +0 -11
- rasa/cli/project_templates/telco/domain/domain_run_speed_test.yml +0 -24
- rasa/cli/project_templates/telco/domain/domain_solve_internet_issue.yml +0 -74
- rasa/cli/project_templates/telco/domain/domain_undertand_bill.yml +0 -102
- rasa/cli/project_templates/telco/endpoints.yml +0 -60
- rasa/cli/project_templates/telco/prompts/command-generator.jinja2 +0 -57
- rasa/cli/project_templates/telco/tests/e2e_results_failed.yml +0 -62
- rasa/cli/project_templates/telco/tests/e2e_results_passed.yml +0 -130
- rasa/cli/project_templates/telco/tests/e2e_test_cases/billing_test_cases.yml +0 -68
- rasa/cli/project_templates/telco/tests/e2e_test_cases/global_test_cases.yml +0 -13
- rasa/cli/project_templates/telco/tests/e2e_test_cases/internet_slow_test_case.yml +0 -47
- rasa/cli/project_templates/telco/tests/e2e_test_cases/out_of_scope_test_case.yml +0 -21
- rasa/cli/project_templates/telco/tests/e2e_test_cases/patterns_test_cases.yml +0 -15
- rasa/shared/importers/static.py +0 -63
- rasa/utils/openapi.py +0 -144
- {rasa_pro-3.13.1a18.dist-info → rasa_pro-3.13.3.dist-info}/NOTICE +0 -0
- {rasa_pro-3.13.1a18.dist-info → rasa_pro-3.13.3.dist-info}/WHEEL +0 -0
- {rasa_pro-3.13.1a18.dist-info → rasa_pro-3.13.3.dist-info}/entry_points.txt +0 -0
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
117. Why are wire transfers and other financial services in Canada so much more expensive than in Europe?
|
|
2
|
-
I don't believe there is any particular structural or financial reason that outgoing wire transfers cost so much in Canada, their costs are no higher than other countries (and lower than many). Wires seem to be an area where the Canadian banks have decided people don't comparison shop, so it's not a competitive advantage to offer a better price. The rates you quoted are on the low side: $80 for a largish international wire is not unusual, and HSBC charges up to $150! There are several alternative ways to transfer money domestically in Canada. If the recipient banks at the same bank, it's possible to go into a branch and transfer money directly from your own account to their account (I've never been charged for this). The transfer is immediate. But it couldn't be done online, last time I checked. For transfers where you don't know the recipients bank account, you can pay online with Interac E-Transfers, offered by most Canadian banks. It's basically e-mailing money. It usually costs $1 to $1.50 per transfer, and has limits on how much you can send per day/week. Each of the banks also have a bill-pay service, but unlike similar services in the US (where they mail a paper check if the recipient isn't on their system), each Canadian bank has a limited number of possible payees (mostly utilities, governments, major stores).
|
|
3
|
-
|
|
4
|
-
118. Stochastic Oscillator for Financial Analysis
|
|
5
|
-
While trading in stochastic I've understood, one needs reference (SMA/EMA/Bolinger Band and even RSI) to verify trade prior entering it. Stochastic is nothing to do with price or volume it is about speed. Adjusting K% has ability to turn you from Day trader to -> swing trader to -> long term investor. So you adjust your k% according to chart time-frame. Stochastic setup for 1 min, 5 min ,15, 30, 60 min, daily, weekly, monthly, quarterly, half yearly and yearly are all different. If you try hopping from one time-frame to another just because it is below oversold or above overbought region with same K%, you may get confused. Worst you may not square-off your loss making trade. And rather not use excel; charts gives better visual for oscillators.
|
|
6
|
-
|
|
7
|
-
119. How to motivate young people to save money
|
|
8
|
-
I recommend pulling up a retirement calculator and having an honest conversation about how long term savings works, and the power of compound interest. Just by playing around with the sliders on an online calculator, you can demonstrate how the early years are the most important. Depending on how much they make now and are considering saving, delaying 5-10 years can easily leave 6-7 figures on the table. If it's specifically a child or close family member, I recommend pulling up your retirement account. Talk with them about how you managed it, and how much you were putting in. Perhaps show them how much is the principal and how much is interest. If you did well, tell them how. If you didn't do as well as you liked, tell them what you would have done differently. Finally, discuss a bit of psychology. Even if they don't have a professional job and are making minimum wage, getting into the habit of saving makes it easier when they eventually make more. A couple of dollars a month isn't much, but getting into the habit makes it easier to save a couple hundred dollars a month later on.
|
|
9
|
-
|
|
10
|
-
120. How quickly will the funds be available when depositing credit card checks?
|
|
11
|
-
For those who don't know, credit card checks are blank checks that your credit card company sends you. When you fill them out and spend them, you are taking a cash advance on your credit card account. You should be aware that taking a cash advance on your credit card normally has extra fees and finance charges above what you have with regular credit card transactions. That having been said, when you take one of these to your bank and try to deposit them, it is entirely up to bank policy how long they will make you wait to use these funds. They want to be sure that it is a legitimate check and that it will be honored. If your teller doesn't know the answer to that question, you'll need to find someone at the bank who does. If you don't like the answer they give you, you'll need to find another bank. I would think that if the credit card is from Chase, and you are trying to deposit a credit card check into a Chase checking account, they should be able to do that instantly. However, bank policy doesn't always make sense.
|
|
12
|
-
|
|
13
|
-
121. Self assessment expenses - billing date or payment date?
|
|
14
|
-
Unless you're running a self-employed business with a significant turnover (more than £150k), you are entitled to use cash basis accounting for your tax return, which means you would put the date of transactions as the payment date rather than the billing date or the date a debt is incurred. For payments which have a lag, e.g. a cheque that needs to be paid in or a bank transfer that takes a few days, you might also need to choose between multiple payment dates, e.g. when you initiated the payment or when it took effect. You can pick one as long as you're consistent: You can choose how you record when money is received or paid (eg the date the money enters your account or the date a cheque is written) but you must use the same method each tax year.
|
|
15
|
-
|
|
16
|
-
122. How much of my capital should I spend on subscribing to a stock research company?
|
|
17
|
-
To complement farnsy's answer, I want to warn people against market prediction scams. If they give uniformly distributed buy/sell predictions to 256 people, one of them will get eight correct predictions in a row. They are trading a few cents of Amazon server time for 3% of your capital.
|
|
18
|
-
|
|
19
|
-
123. Do “Instant Approved” credit card inquires appear on credit report?
|
|
20
|
-
It is not delayed and if it didn't show yet - will not show on that agency's credit report. However, you may find it on another agency's report. There are three major agencies, and creditors don't always check all of them (each inquiry costs them money).
|
|
21
|
-
|
|
22
|
-
124. How much lump sum investment in stocks would be needed to yield a target stable monthly income?
|
|
23
|
-
If your requirements are hard (must have $1000/month, must have the same or bigger in capital at the end), stocks are a poor choice of investment. However, in many cases, people are willing to tolerate some level of risk to achieve the expected returns. You also do not mention inflation, which can take quite a lot out of your portfolio over the course of ten years. If we make some simplifying assumptions, you want to generate $12,000 a year. You can realistically expect the (whole) stock market, long term (i.e. over time periods substantially longer than 10 years), to return approximately 4 - 5% after factoring in inflation. That means an investment of $240,000 - $300,000 (the math is simplified somewhat here). If you don't care about inflation, you can up the percentage rather somewhat. According to this article, the S&P 500 returned an average of 11.31% from 1928 through 2010 (not factoring in inflation), which would require an investment of approximately $106,100. But! This opens you up to substantial risk. The stock market may go down 30% this year! According to the above article, the S&P returned only 3.54% from 2001 to 2010. Long-term, it goes up, but your investment case is really unsuited to investing in an index to the entire stock market given your requirements. You may be better suited investing primarily in stable bonds, or perhaps a mix of bonds and stocks. Alternatively, you may want to consider even more stable investments such as treasury notes. Treasury notes are all but guaranteed, but with a lousy rate of return. Heck, you could consider a GIC (that may be Canada-only) or even a savings account. There's also the possibility of purchasing an annuity, though almost everyone will advise against such. Personally, I'd go for a mutual fund which invested approximately 70% bonds and the rest in stocks over such a time period. Something like ING Direct's Streetwise Balanced Income Portfolio, if you were in Canada. It substantially lowers your expected return but also lowers your risk. I can't honestly say what the expected return there is; at this point, it's returned 4% per year (before inflation), but has been around only since the beginning of 2008. And to be clear, this is absolutely not free of risk.
|
|
24
|
-
|
|
25
|
-
125. Starting off as an investor
|
|
26
|
-
You've asked eleven different questions here. Therefore, The first thing I'd recommend is this: Don't panic. Seek answers to your questions systematically, one at a time. Search this site (and others) to see if there are answers to some of them. You're in good shape if for no other reason than you're asking these when you're young. Investing and saving are great things to do, but you also have time going for you. I recommend that you use your "other eight hours per day" to build up other income streams. That potentially will get you far more than a 2% deposit. Any investment can be risky or safe. It depends on both your personal context and that of the larger economy. The best answers will come from your own research and from your advisors (since they will be able to see where you are financially, and in life).
|
|
27
|
-
|
|
28
|
-
126. As a 22-year-old, how risky should I be with my 401(k) investments?
|
|
29
|
-
At twenty-two, you can have anywhere between 100%-70% of your securities portfolio in equities. It is reasonable to start at 100% and reduce over time. The one thing that I would mention with that is that your target at retirement should be 70% stocks/30% bonds. You should NEVER have more than 30% bonds. Why? Because a 70/30 mix is both safer than 100% bonds and will give a higher return. Absent some market timing strategy (which as an amateur investor, you should absolutely avoid) or some complicated balancing scheme, there is never a reason to be at more than 30% bonds. A 50/50 mix of stocks and bonds or a 100% bonds ratio not only returns less than the 70/30 mix, it is actually riskier. Why? Because sometimes bonds fall. And when they do, stocks generally gain. And vice versa. Because of this behavior, the 70/30 mix is less likely to fall than 50% or 100% bonds. Does that mean that your stock percentage should never drop below 70%? No. If your portfolio contains things other than stocks and bonds, it is reasonable for stocks to fall below 70%. The problem is that when you drop stocks below 70%, you should drop bonds below 30% as well. So you keep the stock to bond ratio at 7:3. If you want to get a lower risk than a 70/30 mix, then you should move into cash equivalents. Cash equivalents are actually safer than stocks and bonds either individually or in combination. But at twenty-two, you don't really need more safety. At twenty-two, the first thing to do is to build your emergency fund. This should be able to handle six months of expenses without income. I recommend making it equal to six months of your income. The reason being that it is easy to calculate your income and difficult to be sure of expenses. Also, you can save six months of income at twenty-two. Are you going to stay where you are for the next five years? At twenty-two, the answer is almost certainly no. But the standard is the five year time frame. If you want a bigger place or one that is closer to work, then no. If you stay somewhere at least five years, then it is likely that the advantages to owning rather than renting will outweigh the costs of switching houses. Less than five years, the reverse is true. So you should probably rent now. You can max out your 401k and IRA now. Doing so even with a conservative strategy will produce big returns by sixty-seven. And perhaps more importantly, it helps keep your spending down. The less you do spend, the less you will feel that you need to spend. Once you fill your emergency fund, start building savings for a house. I would consider putting them in a Real Estate Investment Trust (REIT). A REIT will tend to track real estate. Since you want to buy real estate with the results, this is its own kind of safety. It fell in value? Houses are probably cheap. Houses increasing in price rapidly? A REIT is probably growing by leaps and bounds. You do this outside your retirement accounts, as you want to be able to access it without penalty.
|
|
30
|
-
|
|
31
|
-
127. How much should a new graduate with new job put towards a car?
|
|
32
|
-
In a very similar situation as yours, I bought a used motorcycle for $3000. It was still reasonably new, very reliable, and with California weather, you can use it year-round. It reduced my time in traffic, and it had very low fuel and maintenance costs. The biggest expense was tires. The biggest pitfall in buying a motorcycle is auto-insurance. Do your research and ask for quotes from your broker before even considering a particular model of bike. When I decided that my finances justified a new motorcycle, I was surprised that full collision coverage cost about $3000/year on a lower powered bike that had a bad accident record because it appealed to new riders. I got a much more powerful bike that appealed to more experienced riders and the premium was only $500/year. Is this answer not what you were looking for? Spend as little as you can on a 4-6 year old car. Drive it until you can save enough cash to buy the one you really want. I'm currently driving a 2007 Corolla, and I'm waiting until I can get a new civic turbo with a manual transmission to replace it. (They currently only offer them with a CVT, but next fall they'll have them with the MT, so I'm probably 2 1/2 years out from buying one used.)
|
|
33
|
-
|
|
34
|
-
128. Books, Videos, Tutorials to learn about different investment options in the financial domain
|
|
35
|
-
Those are some very broad questions and I don't think I can answer them completely, but I will add what I can. Barron's Finance and Investment Handbook is the best reference book I have found. It provides a basic description/definition for every type of investment available. It covers stocks, preferred stocks, various forms of bonds as well as mortgage pools and other exotic instruments. It has a comprehensive dictionary of finance terms as well. I would definitely recommend getting it. The question about how people invest today is a huge one. There are people who simply put a monthly amount into a mutual fund and simply do that until retirement on one side and professional day traders who move in and out of stocks or commodities on a daily basis on the other.
|
|
36
|
-
|
|
37
|
-
129. What tax advantage should I keep an eye for if I am going to relocate?
|
|
38
|
-
Depends. If you can choose where to relocate to, then I second the "no income tax" states. But even of these chose wisely, some have no income taxes at all, others have taxes on some kinds of income. Some don't have neither individual nor corporate taxes, some tax businesses in some ways. Some compensate with higher property taxes, others compensate with higher sales taxes. On the other hand, you might prefer states with income taxes but no sales taxes. It can happen if your current income is going to be low, but you'll be spending your savings. If you don't have a choice (for example, your employer wants you to move closer to their office), then you're more limited. Still, you can use the tax break on moving expenses (read the fine print, there are certain employment requirements), and play with the state taxes (if you're moving to a state with less/no taxes - move earlier, if its the other way - move later). Check out for cities that have income taxes. In some states it cannot happen by law (for example, in California only the state is allowed to collect income taxes), in others it is very common (Ohio comes to mind). Many things to consider in New York. New York City has its own income tax (as well as Yonkers, as far as I remember these are the only ones in the State of New York). So if you want to save on taxes in NYS but live close to the city, consider White Plains etc. If you work in NYC its moot, you're going to pay city taxes anyway. That is also true if you live in NJ but work in the city, so tax-wise it may be more efficient not to live across state lines from your place of work.
|
|
39
|
-
|
|
40
|
-
130. Why are there so many stock exchanges in the world?
|
|
41
|
-
Stock exchanges have been undergoing a period of consolidation for the past hundred years for the exact reasons you mentioned. The existence of digital trading, harmonized laws and regulations, and fewer relevant currencies have made it more practical for mergers and acquisitions between exchanges. Stock exchanges are most often times private companies that compete with other exchanges, so that also promotes the existence of many exchanges.
|
|
42
|
-
|
|
43
|
-
131. Why are daily rebalanced inverse/leveraged ETFs bad for long term investing?
|
|
44
|
-
Fund rebalancing typically refers to changing the investment mix to stay within the guidelines of the mutual fund objective. For example, lets say a fund is supposed to have at least 20% in bonds. Because of a dramatic increase in stock price and decrease in bond values it finds itself with only 19.9% in bonds at the end of the trading day. The fund manager would sell sufficient equities to reduce its equity holdings and buy more bonds. Rebalancing is not always preferential because it could cause capital gain distribution, typically once per year, without selling the fund. And really any trading within the fun could do the same. In the case you cite the verbiage is confusing. Often times I wonder if the author knows less then the reader. It might also be a bit of a rush to get the article out, and the author did not write correctly. I agree that the ETFs cited are suitable for short term traders. However, that is because, traditionaly, the market has increased in value over the long term. If you bet it will go down over the long term, you are almost certain to lose money. Like you, I cannot figure out how rebalancing makes this suitable only for short term traders. If the ETFs distribute capital gains events much more frequently then once per year, that is worth mentioning, but does not provide a case for short versus long term traders. Secondly, I don't think these funds are doing true rebalancing. They might change investments daily for the most likely profitable outcome, but that really isn't rebalancing. It seems the author is confused.
|
|
45
|
-
|
|
46
|
-
132. Should you keep your stocks if you are too late to sell?
|
|
47
|
-
The stock price is not only based on the general market trend and the stock's current profitability and prospects, but is also based on prediction of how the stock's prospects might change in the future. In almost every case, there are professional investors analysing the stock's future prospects and considering whether it's over or under values for its current price. However even professionals can be totally wrong. If you feel like you have a good grasp on whether the stock will have improving or declining prospects over time, then you might be (if you're right) equipped to make a sensible decision on whether to hold the stock or not. If you don't think you have a good understanding about the stock, then an understanding of the general market direction might at least make stock in general worth holding. Otherwise, you are simply taking a punt. If you know of another stock that has better prospects, then ask yourself why you would hold onto the stock that you think will perform worse. But also bear in mind that (in my understanding) research has shown that, on average, people who try to pick stocks rarely do better than a random selection, and more stock trades means more brokerage (which thanks to brokerage losses would mean you will end up doing worse than average unless you really do know better than the market).
|
|
48
|
-
|
|
49
|
-
133. Is This A Scam? Woman added me on LinkedIn first, then e-mailed offering me millions of dollars [duplicate]
|
|
50
|
-
Yes. If you reply back, they'll confirm that Uncle Alex did indeed leave you $7 million, and you just need to send them a few thousand dollars for taxes and estate fees and then they'll wire you the money. And then there'll be customs fees. And then more taxes. And of course, there will be separate import fees. And so on until you run out of money.
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
134. Tax rules for United States citizens living in the US but being paid from outside the US
|
|
2
|
-
You can and are supposed to report self-employment income on Schedule C (or C-EZ if eligible, which a programmer likely is) even when the payer isn't required to give you 1099-MISC (or 1099-K for a payment network now). From there, after deducting permitted expenses, it flows to 1040 (for income tax) and Schedule SE (for self-employment tax). See https://www.irs.gov/individuals/self-employed for some basics and lots of useful links. If this income is large enough your tax on it will be more than $1000, you may need to make quarterly estimated payments (OR if you also have a 'day job' have that employer increase your withholding) to avoid an underpayment penalty. But if this is the first year you have significant self-employment income (or other taxable but unwithheld income like realized capital gains) and your economic/tax situation is otherwise unchanged -- i.e. you have the same (or more) payroll income with the same (or more) withholding -- then there is a 'safe harbor': if your withholding plus estimated payments this year is too low to pay this year's tax but it is enough to pay last year's tax you escape the penalty. (You still need to pay the tax due, of course, so keep the funds available for that.) At the end of the first year when you prepare your return you will see how the numbers work out and can more easily do a good estimate for the following year(s). A single-member LLC or 'S' corp is usually disregarded for tax purposes, although you can elect otherwise, while a (traditional) 'C' corp is more complicated and AIUI out-of-scope for this Stack; see https://www.irs.gov/businesses/small-businesses-self-employed/business-structures for more.
|
|
3
|
-
|
|
4
|
-
135. What are my investment options in real estate?
|
|
5
|
-
I compared investing in real estate a few years ago to investing in stocks that paid double digit dividends (hard to find, however, managing and maintaining real estate is just as hard). After discussing with many in the real estate world, I counted the average and learned that most averaged about 6 - 8% on real estate after taxes. This does not include anything else like Dilip mentions (maintenance, insurance, etc). For those who want to avoid that route, you can buy some companies that invest in real estate or REIT funds like Dilip mentions. However, they are also susceptible to the problems mentioned above this. In terms of other investment opportunities like stocks or funds, think about businesses that will always be around and will always be needed. We won't outgrow our need for real estate, but we won't outgrow our need for food or tangible goods either. You can diversify into these companies along with real estate or buy a general mutual fund. Finally, one of your best investments is your career field - software. Do some extra work on the side and see if you can get an adviser position at a start-up (it's actually not that hard and it will help you build your skill set) or create a site which generates passive revenue (again, not that hard). One software engineer told me a few years ago that the stock market is a relic of the past and the new passive income would be generated by businesses that had tools which did all the work through automation (think of a smart phone application that you build once, yet continues to generate revenue). This was right before the crash, and after it, everyone talked about another "lost decade." While it does require extra work initially, like all things software related, you'll be discovering tools in programming that you can use again and again in other applications - meaning your first one may be the most difficult. All it takes in this case is one really good idea ...
|
|
6
|
-
|
|
7
|
-
136. Does the Black-Scholes Model apply to American Style options?
|
|
8
|
-
A minor tangent. One can claim the S&P has a mean return of say 10%, and standard deviation of say 14% or so, but when you run with that, you find that the actual returns aren't such a great fit to the standard bell curve. Market anomalies producing the "100-year flood" far more often than predicted over even a 20 year period. This just means that the model doesn't reflect reality at the tails, even if the +/- 2 standard deviations look pretty. This goes for the Black-Sholes (I almost abbreviated it to initials, then thought better, I actually like the model) as well. The distinction between American and European is small enough that the precision of the model is wider than the difference of these two option styles. I believe if you look at the model and actual pricing, you can determine the volatility of a given stock by using prices around the strike price, but when you then model the well out of money options, you often find the market creating its own valuation.
|
|
9
|
-
|
|
10
|
-
137. Is there anything I can do to prepare myself for the tax consequences of selling investments to buy a house?
|
|
11
|
-
If you need less than $125k for the downpayment, I recommend you convert your mutual fund shares to their ETF counterparts tax-free: Can I convert conventional Vanguard mutual fund shares to Vanguard ETFs? Shareholders of Vanguard stock index funds that offer Vanguard ETFs may convert their conventional shares to Vanguard ETFs of the same fund. This conversion is generally tax-free, although some brokerage firms may be unable to convert fractional shares, which could result in a modest taxable gain. (Four of our bond ETFs—Total Bond Market, Short-Term Bond, Intermediate-Term Bond, and Long-Term Bond—do not allow the conversion of bond index fund shares to bond ETF shares of the same fund; the other eight Vanguard bond ETFs allow conversions.) There is no fee for Vanguard Brokerage clients to convert conventional shares to Vanguard ETFs of the same fund. Other brokerage providers may charge a fee for this service. For more information, contact your brokerage firm, or call 866-499-8473. Once you convert from conventional shares to Vanguard ETFs, you cannot convert back to conventional shares. Also, conventional shares held through a 401(k) account cannot be converted to Vanguard ETFs. https://personal.vanguard.com/us/content/Funds/FundsVIPERWhatAreVIPERSharesJSP.jsp Withdraw the money you need as a margin loan, buy the house, get a second mortgage of $125k, take the proceeds from the second mortgage and pay back the margin loan. Even if you have short term credit funds, it'd still be wiser to lever up the house completely as long as you're not overpaying or in a bubble area, considering your ample personal investments and the combined rate of return of the house and the funds exceeding the mortgage interest rate. Also, mortgage interest is tax deductible while margin interest isn't, pushing the net return even higher. $125k Generally, I recommend this figure to you because the biggest S&P collapse since the recession took off about 50% from the top. If you borrow $125k on margin, and the total value of the funds drop 50%, you shouldn't suffer margin calls. I assumed that you were more or less invested in the S&P on average (as most modern "asset allocations" basically recommend a back-door S&P as a mix of credit assets, managed futures, and small caps average the S&P). Second mortgage Yes, you will have two loans that you're paying interest on. You've traded having less invested in securities & a capital gains tax bill for more liabilities, interest payments, interest deductions, more invested in securities, a higher combined rate of return. If you have $500k set aside in securities and want $500k in real estate, this is more than safe for you as you will most likely have a combined rate of return of ~5% on $500k with interest on $500k at ~3.5%. If you're in small cap value, you'll probably be grossing ~15% on $500k. You definitely need to secure your labor income with supplementary insurance. Start a new question if you need a model for that. Secure real estate with securities A local bank would be more likely to do this than a major one, but if you secure the house with the investment account with special provisions like giving them copies of your monthly statements, etc, you might even get a lower rate on your mortgage considering how over-secured the loan would be. You might even be able to wrap it up without a down payment in one loan if it's still legal. Mortgage regulations have changed a lot since the housing crash.
|
|
12
|
-
|
|
13
|
-
138. Question about being a resident
|
|
14
|
-
This sort of involves personal finance, and sort of not. But it's an interesting question, so let's call it on topic? Short answer: yes. Long answer: it depends who's asking. If you're trying to qualify for in-state tuition, for example, you need to have been in state for a certain amount of time. For tax purposes, the first year you move to a new state you need to file part-time resident returns in your previous and current state of residency
|
|
15
|
-
|
|
16
|
-
139. Weekly budgets based on (a variable) monthly budget
|
|
17
|
-
If you know, approximately, the minimum he would get in a month, his budget should be planned based on this amount. In months where he gets more than this, the excess should be put aside. In really bad months where the income drops below the expected minimum, he can use the money put aside. After a year of putting money aside, he can plan to use and budget this for any other expenses.
|
|
18
|
-
|
|
19
|
-
140. How do annual risks translate into long-term risks?
|
|
20
|
-
The short answer is the annualised volatility over twenty years should be pretty much the same as the annualised volatility over five years. For independent, identically distributed returns the volatility scales proportionally. So for any number of monthly returns T, setting the annualization factor m = 12 annualises the volatility. It should be the same for all time scales. However, note the discussion here: https://quant.stackexchange.com/a/7496/7178 Scaling volatility [like this] only is mathematically correct when the underlying price model is driven by Geometric Brownian motion which implies that prices are log normally distributed and returns are normally distributed. Particularly the comment: "its a well known fact that volatility is overestimated when scaled over long periods of time without a change of model to estimate such "long-term" volatility." Now, a demonstration. I have modelled 12,000 monthly returns with mean = 3% and standard deviation = 2, so the annualised volatility should be Sqrt(12) * 2 = 6.9282. Calculating annualised volatility for return sequences of various lengths (3, 6, 12, 60 months etc.) reveals an inaccuracy for shorter sequences. The five-year sequence average got closest to the theoretically expected figure (6.9282), and, as the commenter noted "volatility is [slightly] overestimated when scaled over long periods of time". Annualised volatility for varying return sequence lengths Edit re. comment Reinvesting returns does not affect the volatility much. For instance, comparing some data I have handy, the Dow Jones Industrial Average Capital Returns (CR) versus Net Returns (NR). The return differences are somewhat smoothed, 0.1% each month, 0.25% every third month. More erratic dividend reinvestment would increase the volatility.
|
|
21
|
-
|
|
22
|
-
141. Fractional Reserve Banking and Insolvency
|
|
23
|
-
It certainly is possible for a run on the bank to drive it into insolvency. And yes, if the bank makes some bad loans, it can magnify the problem. Generally, this does not happen, though. Remember that banks usually have lots of customers, and people are depositing money and making mortgage payments every day, so there is usually enough on-hand to cover average banking withdrawl activity, regardless of any bad loans they have outstanding. Banks have lots of historical data to know what the average withdrawl demands are for a given day. They also have risk models to predict the likelihood of their loans going into default. A bank will generally use this information to strike a healthy balance between profit-making activity (e.g. issuing loans), and satisfying its account holders. In the event of a major withdrawl demand, there are some protections in place to guard against insolvency. There are regulations that specify a Reserve Requirement. The bank must keep a certain amount of money on hand, so they can't take huge risks by loaning out too much money all at once. Regulators can tweak this requirement over time to reflect the current economic situation. If a bank does run into trouble, it can take out a short-term loan. Either from another bank, or from the central bank (e.g. the US Federal Reserve). Banks don't want to pay interest on loans any more than you do, so if they are regularly borrowing money, they will adjust thier cash reserves accordingly. If all else fails and the bank can't meet its obligations (e.g. the Fed loan fell through), the bank has an insurance policy to make sure the account holders get paid. In the US, this is what the FDIC is for. Worst case, the bank goes under, but your money is safe. These protections have worked pretty well for many decades. However, during the recent financial crisis, all three of these protections were under heavy strain. So, one of the things banking regulators did was to put the major banks through stress tests to make sure they could handle several bad financial events without collapsing. These tests showed that some banks didn't have enough money in reserve. (Not long after, banks started to increase fees and credit card rates to raise this additional capital.) Keep in mind that if banks were unable to use the deposited money (loan it out, invest it, etc), the current financial landscape would change considerably.
|
|
24
|
-
|
|
25
|
-
142. What part of buying a house would make my net worth go down?
|
|
26
|
-
You can look at buying a house as being a long term investment in not paying rent. In the short time there are costs to buying (legal, taxes, etc). This depends on only buying house of the size/location you need e.g. no better then what you would have rented. House buying tent to work out best when there is high inflation, as the rent you would otherwise be paying goes up with inflation – provided you can live with the short term pain of high interest rates.
|
|
27
|
-
|
|
28
|
-
143. How to make money from a downward European market?
|
|
29
|
-
If you want to make money while European equities markets are crashing and the Euro itself is devaluing: None of these strategies are to be taken lightly. All involve risk. There are probably numerous ways that you can lose even though it seems like you should win. Transaction fees could eat your profits, especially if you have only a small amount of capital to invest with. The worst part is that they all involve timing. If you think the crash is coming next week, you could, say, buy a bunch of puts. But if the crash doesn't come for another 6 months, all of your puts are going to expire worthless and you've lost all of your capital. Even worse, if you sell short an index ETF this week in advance of next week's impending crash, and some rescue package arrives over the weekend, equity prices could spike at the beginning of the week and you'd be screwed.
|
|
30
|
-
|
|
31
|
-
144. Is it inadvisable to leave a Roth IRA to charity upon death?
|
|
32
|
-
You need to keep in mind that there's an exemption amount of more than $5M (five million) dollars for estate tax. Unless you used all of it for gifts during your life time, it will more than cover all of your $70K estate, so there's no need in any additional planning. As to Roth vs Traditional IRA - if you want to leave something to your siblings, leave them the Roth. Why would you give the taxable income to your siblings when you can give them the nontaxable one? Charities are tax exempt anyway.
|
|
33
|
-
|
|
34
|
-
145. How to register LLC in the US from India? [duplicate]
|
|
35
|
-
Wyoming is a good state for this. It is inexpensive and annual compliance is minimal. Although Delaware has the best advertising campaign, so people know about it, the reality is that there are over 50 states/jurisdictions in the United States with their own competitive incorporation laws to attract investment (as well as their own legislative bodies that change those laws), so you just have to read the laws to find a state that is favorable for you. What I mean is that whatever Delaware does to get in the news about its easy business laws, has been mimicked and done even better by other states by this point in time. And regarding Delaware's Chancery Court, all other states in the union can also lean on Delaware case law, so this perk is not unique to Delaware. Wyoming is cheaper than Delaware for nominal presence in the United States, requires less information then Delaware, and is also tax free. A "registered agent" can get you set up and you can find one to help you with the address dilemma. This should only cost $99 - $200 over the state fees. An LLC does not need to have an address in the United States, but many registered agents will let you use their address, just ask. Many kinds of businesses still require a bank account for domestic and global trade. Many don't require any financial intermediary any more to receive payments. But if you do need this, then opening a bank account in the United States will be more difficult. Again, the registered agent or lawyer can get a Tax Identification Number for you from the IRS, and this will be necessary to open a US bank account. But it is more likely that you will need an employee or nominee director in the United States to go in person to a bank and open an account. This person needs to be mentioned in the Operating Agreement or other official form on the incorporation documents. They will simply walk into a bank with your articles of incorporation and operating agreement showing that they are authorized to act on behalf of the entity and open a bank account. They then resign, and this is a private document between the LLC and the employee. But you will be able to receive and accept payments and access the global financial system now. A lot of multinational entities set up subsidiaries in a number of countries this way.
|
|
36
|
-
|
|
37
|
-
146. Do I have to repay the First-Time Homebuyers tax credit if I refinance?
|
|
38
|
-
No. As long as you live in the house for 3 years, it's yours to keep. Financing has nothing to do with that.
|
|
39
|
-
|
|
40
|
-
147. Paid cash for a car, but dealer wants to change price
|
|
41
|
-
Let me get this straight. I would stand my ground. Your son negotiated in good faith. Either they messed up, or they are dishonest. Either way your son wasn't the one supposed to know all the internal rules. I don't think it matters if they cashed the check or not. I would tell them if they have cashed it, that is even more evidence the deal was finalized. But even if they they didn't cash it, it only proves they are very disorganized. If for some reason your son feels forced to redo the deal, have him start the negotiations way below the price that was agreed to. If the deal for some strange reason gets voided don't let him agree to some sort of restocking fee.
|
|
42
|
-
|
|
43
|
-
148. Do people tend to spend less when using cash than credit cards?
|
|
44
|
-
Psychology Today had an interesting article from July 11, 2016, in which they go through the psychological aspects of using cash vs. a credit card. This article cites a 2008 paper in the Journal of Experimental Psychology: Applied that found: “the more transparent the payment outflow, the greater the aversion to spending or higher the ‘pain of paying’ …leading to less transparent payment modes such as credit cards and gift cards (vs. cash) being more easily spent or treated as play or ‘monopoly money.’” The article cites a number of other studies that are of interest on this topic as well.
|
|
45
|
-
|
|
46
|
-
149. Any difference between buying a few shares of expensive stock or a bunch of cheap stock
|
|
47
|
-
I was thinking that the value of the stock is the value of the stock...the actual number of shares really doesn't matter, but I'm not sure. You're correct. Share price is meaningless. Google is $700 per share, Apple is $100 per share, that doesn't say anything about either company and/or whether or not one is a better investment over the other. You should not evaluate an investment decision on price of a share. Look at the books decide if the company is worth owning, then decide if it's worth owning at it's current price.
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
version: "3.1"
|
|
2
|
-
|
|
3
|
-
slots:
|
|
4
|
-
account_number:
|
|
5
|
-
type: text
|
|
6
|
-
sort_code:
|
|
7
|
-
type: text
|
|
8
|
-
payee_type:
|
|
9
|
-
type: categorical
|
|
10
|
-
values:
|
|
11
|
-
- person
|
|
12
|
-
- business
|
|
13
|
-
reference:
|
|
14
|
-
type: text
|
|
15
|
-
payee_added:
|
|
16
|
-
type: bool
|
|
17
|
-
confirm_payee_details:
|
|
18
|
-
type: bool
|
|
19
|
-
|
|
20
|
-
responses:
|
|
21
|
-
utter_ask_account_number:
|
|
22
|
-
- text: "Please enter the account number for this payee"
|
|
23
|
-
utter_ask_sort_code:
|
|
24
|
-
- text: "Please enter the sort code for this payee's account"
|
|
25
|
-
utter_ask_payee_type:
|
|
26
|
-
- text: "Please select the type of payee"
|
|
27
|
-
buttons:
|
|
28
|
-
- title: "Person"
|
|
29
|
-
payload: "/SetSlots(payee_type=person)"
|
|
30
|
-
- title: "Business"
|
|
31
|
-
payload: "/SetSlots(payee_type=business)"
|
|
32
|
-
utter_ask_reference:
|
|
33
|
-
- text: "Please provide a reference for this payee"
|
|
34
|
-
utter_ask_confirm_payee_details:
|
|
35
|
-
- text: "You are about to add the following payee: Name: {payee_name}, Account Number: {account_number}, Payee Type: {payee_type}, Reference: {reference}. Is this correct?"
|
|
36
|
-
buttons:
|
|
37
|
-
- title: "Yes"
|
|
38
|
-
payload: "/SetSlots(confirm_payee_details=True)"
|
|
39
|
-
- title: "No"
|
|
40
|
-
payload: "/SetSlots(confirm_payee_details=False)"
|
|
41
|
-
utter_payee_added_success:
|
|
42
|
-
- text: "{payee_name} has been successfully added to your list of authorised payees"
|
|
43
|
-
utter_payee_added_failure:
|
|
44
|
-
- text: "I'm sorry, but there was an error adding {payee_name}. Please try again later or contact Customer Support"
|
|
45
|
-
|
|
46
|
-
actions:
|
|
47
|
-
- action_add_payee
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
version: "3.1"
|
|
2
|
-
|
|
3
|
-
slots:
|
|
4
|
-
reason_for_blocking:
|
|
5
|
-
type: categorical
|
|
6
|
-
values:
|
|
7
|
-
- lost
|
|
8
|
-
- fraud
|
|
9
|
-
- stolen
|
|
10
|
-
- damaged
|
|
11
|
-
- expired
|
|
12
|
-
- traveling
|
|
13
|
-
- moving
|
|
14
|
-
address_confirmed:
|
|
15
|
-
type: bool
|
|
16
|
-
fraud_reported:
|
|
17
|
-
type: bool
|
|
18
|
-
initial_value: false
|
|
19
|
-
temp_block_card:
|
|
20
|
-
type: bool
|
|
21
|
-
initial_value: false
|
|
22
|
-
confirm_issue_new_card:
|
|
23
|
-
type: bool
|
|
24
|
-
address:
|
|
25
|
-
type: text
|
|
26
|
-
card_status:
|
|
27
|
-
type: categorical
|
|
28
|
-
values:
|
|
29
|
-
- active
|
|
30
|
-
- inactive
|
|
31
|
-
actions:
|
|
32
|
-
- action_update_card_status
|
|
33
|
-
|
|
34
|
-
responses:
|
|
35
|
-
utter_ask_reason_for_blocking:
|
|
36
|
-
- text: "Please tell us the reason for blocking"
|
|
37
|
-
buttons:
|
|
38
|
-
- title: "I lost my card"
|
|
39
|
-
payload: "/SetSlots(reason_for_blocking=lost)"
|
|
40
|
-
- title: "My card is damaged"
|
|
41
|
-
payload: "/SetSlots(reason_for_blocking=damaged)"
|
|
42
|
-
- title: "I suspect fraud on my account"
|
|
43
|
-
payload: "/SetSlots(reason_for_blocking=fraud)"
|
|
44
|
-
- title: "My card has expired"
|
|
45
|
-
payload: "/SetSlots(reason_for_blocking=expired)"
|
|
46
|
-
- title: "I'm planning to travel soon"
|
|
47
|
-
payload: "/SetSlots(reason_for_blocking=traveling)"
|
|
48
|
-
- title: "I'm moving to a new address"
|
|
49
|
-
payload: "/SetSlots(reason_for_blocking=moving)"
|
|
50
|
-
utter_block_card_understand:
|
|
51
|
-
- text: "Okay, we can block a card. Let's do it in a few steps"
|
|
52
|
-
metadata:
|
|
53
|
-
rephrase: True
|
|
54
|
-
utter_ask_address_confirmed:
|
|
55
|
-
- text: "I have found your address: {physical_address}. Should the new card be delivered there?"
|
|
56
|
-
buttons:
|
|
57
|
-
- title: "Yes"
|
|
58
|
-
payload: "/SetSlots(address_confirmed=True)"
|
|
59
|
-
- title: "No"
|
|
60
|
-
payload: "/SetSlots(address_confirmed=False)"
|
|
61
|
-
utter_confirm_physical_address:
|
|
62
|
-
- text: "Your card will be delivered to {physical_address} within 7 business days"
|
|
63
|
-
utter_card_blocked:
|
|
64
|
-
- condition:
|
|
65
|
-
- type: slot
|
|
66
|
-
name: fraud_reported
|
|
67
|
-
value: true
|
|
68
|
-
text: "Since you have reported {reason_for_blocking}, we will block your card"
|
|
69
|
-
- condition:
|
|
70
|
-
- type: slot
|
|
71
|
-
name: temp_block_card
|
|
72
|
-
value: true
|
|
73
|
-
text: "Since you are {reason_for_blocking}, we will temporarily block your card."
|
|
74
|
-
- text: We will block your card.
|
|
75
|
-
utter_ask_confirm_issue_new_card:
|
|
76
|
-
- text: "Would you like to be issued a new card?"
|
|
77
|
-
buttons:
|
|
78
|
-
- title: "Yes, send me a new card"
|
|
79
|
-
payload: "/SetSlots(confirm_issue_new_card=true)"
|
|
80
|
-
- title: "No, just block my card"
|
|
81
|
-
payload: "/SetSlots(confirm_issue_new_card=false)"
|
|
82
|
-
utter_ask_address:
|
|
83
|
-
- text: "Would you like us to deliver your new card to this address: {physical_address}?"
|
|
84
|
-
buttons:
|
|
85
|
-
- title: "Yes, send a new card"
|
|
86
|
-
payload: "/SetSlots(address_confirmed=true)"
|
|
87
|
-
- title: "No, I'll go to the bank"
|
|
88
|
-
payload: "/SetSlots(address_confirmed=false)"
|
|
89
|
-
utter_contact_support:
|
|
90
|
-
- text: "Should you require further assistance, please contact our support team at 020 7777 7777. Thank you for being a valued customer."
|
|
91
|
-
- text: "If you have any questions or concerns, please don't hesitate to reach out to our support team at 020 7777 7777. We're here to help."
|
|
92
|
-
- text: "For additional support, please contact our customer service team at 020 7777 7777. Thank you for being a valued customer."
|
|
93
|
-
utter_acknowledge_reason_damaged_expired:
|
|
94
|
-
- text: "Thank you for letting us know. I'm sorry to hear the card was {reason_for_blocking}"
|
|
95
|
-
metadata:
|
|
96
|
-
rephrase: True
|
|
97
|
-
utter_acknowledge_reason_fraud_stolen_lost:
|
|
98
|
-
- text: "As your card was potentially stolen, it's crucial to report this incident to the authorities. Please contact your local law enforcement agency immediately."
|
|
99
|
-
- text: "Given the unfortunate potential theft of your card, please report this incident to your local law enforcement agency. We'll work together to minimize the impact of this situation."
|
|
100
|
-
utter_acknowledge_reason_travelling_moving:
|
|
101
|
-
- text: Thanks for informing us about moving.
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
version: "3.1"
|
|
2
|
-
|
|
3
|
-
intents:
|
|
4
|
-
- welcome
|
|
5
|
-
- help
|
|
6
|
-
|
|
7
|
-
responses:
|
|
8
|
-
utter_greeting:
|
|
9
|
-
- text: "Hey! I'm Rasano, your helpful banking assistant."
|
|
10
|
-
metadata:
|
|
11
|
-
rephrase: True
|
|
12
|
-
utter_help:
|
|
13
|
-
- text: "I am your Banking assistant. I can help you with transferring money, managing authorised payees, checking an account balance, blocking a card, and answering your general finance enquiries"
|
|
14
|
-
metadata:
|
|
15
|
-
rephrase: True
|
|
16
|
-
utter_show_greeting_accordion:
|
|
17
|
-
- custom:
|
|
18
|
-
type: "accordion"
|
|
19
|
-
elements:
|
|
20
|
-
- title: "Money Transfer"
|
|
21
|
-
text: 'I can send money to friends, family, or businesses. You can say, “send $100” or “transfer from my savings account”.'
|
|
22
|
-
- title: "Account Balance Verification"
|
|
23
|
-
text: 'I can check your account balance. For example, “what is my checking balance?” or “how much money do I have?”.'
|
|
24
|
-
- title: "Payee Management"
|
|
25
|
-
text: 'I can help you manage your payees, including adding new payees or listing your existing ones. For instance, “add a new payee” or “show me my payees.”'
|
|
26
|
-
- title: "Card Blocking"
|
|
27
|
-
text: 'I can permanently or temporarily block your card in case it is lost, stolen, or if you are traveling. Tell me, “block my card” or “temporarily disable my card”.'
|
|
28
|
-
- title: "Banking Questions"
|
|
29
|
-
text: 'I can also answer your general finance questions, such as how to dispute a charge or how to increase your credit limit.'
|
|
30
|
-
utter_chitchat:
|
|
31
|
-
- text: "Hello, how can I help you today?"
|
|
32
|
-
metadata:
|
|
33
|
-
rephrase: True
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
version: "3.1"
|
|
2
|
-
|
|
3
|
-
slots:
|
|
4
|
-
payee_removed:
|
|
5
|
-
type: bool
|
|
6
|
-
|
|
7
|
-
responses:
|
|
8
|
-
utter_ask_payee_name_to_remove:
|
|
9
|
-
- text: "Which payee would you like to remove?"
|
|
10
|
-
utter_payee_removed_success:
|
|
11
|
-
- text: "{payee_name} has been successfully removed from your list of authorised payees"
|
|
12
|
-
utter_payee_removed_failure:
|
|
13
|
-
- text: "I'm terribly sorry, but there was an error removing {payee_name}. Please try again later or contact Customer Support"
|
|
14
|
-
|
|
15
|
-
actions:
|
|
16
|
-
- action_remove_payee
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
version: "3.1"
|
|
2
|
-
|
|
3
|
-
slots:
|
|
4
|
-
account_from:
|
|
5
|
-
type: text
|
|
6
|
-
payee_name:
|
|
7
|
-
type: text
|
|
8
|
-
payee_exists:
|
|
9
|
-
type: bool
|
|
10
|
-
amount:
|
|
11
|
-
type: float
|
|
12
|
-
sufficient_funds:
|
|
13
|
-
type: bool
|
|
14
|
-
timing:
|
|
15
|
-
type: categorical
|
|
16
|
-
values:
|
|
17
|
-
- now
|
|
18
|
-
- future
|
|
19
|
-
payment_date:
|
|
20
|
-
type: text
|
|
21
|
-
confirm_immediate_payment:
|
|
22
|
-
type: bool
|
|
23
|
-
confirm_future_payment:
|
|
24
|
-
type: bool
|
|
25
|
-
payment_processed:
|
|
26
|
-
type: bool
|
|
27
|
-
payment_scheduled:
|
|
28
|
-
type: bool
|
|
29
|
-
valid_payment_date:
|
|
30
|
-
type: bool
|
|
31
|
-
future_payment_date:
|
|
32
|
-
type: bool
|
|
33
|
-
|
|
34
|
-
responses:
|
|
35
|
-
utter_transfer_money_understand:
|
|
36
|
-
- text: "Okay lets transfer money"
|
|
37
|
-
metadata:
|
|
38
|
-
rephrase: True
|
|
39
|
-
utter_ask_payee_name:
|
|
40
|
-
- text: "Which payee would you like to send money to?"
|
|
41
|
-
utter_ask_amount:
|
|
42
|
-
- text: "How much money would you like to transfer?"
|
|
43
|
-
utter_insufficient_funds:
|
|
44
|
-
- text: "I'm sorry, but you have insufficient funds for this transfer. Please enter a different amount"
|
|
45
|
-
utter_ask_timing:
|
|
46
|
-
- text: "When would you like this transfer to be made?"
|
|
47
|
-
buttons:
|
|
48
|
-
- title: Immediate
|
|
49
|
-
payload: "/SetSlots(timing=now)"
|
|
50
|
-
- title: Future
|
|
51
|
-
payload: "/SetSlots(timing=future)"
|
|
52
|
-
utter_ask_payment_date:
|
|
53
|
-
- text: "On which date would you like this payment to be made?"
|
|
54
|
-
utter_ask_confirm_future_payment:
|
|
55
|
-
- text: "A payment of ${amount} to {payee_name} will be scheduled for {payment_date}. Is this correct?"
|
|
56
|
-
utter_payment_scheduled:
|
|
57
|
-
- text: "Your payment of ${amount} to {payee_name} has been successfully scheduled for {payment_date}"
|
|
58
|
-
utter_ask_confirm_immediate_payment:
|
|
59
|
-
- text: "An immediate payment of ${amount} to {payee_name} will be processed. Is this correct?"
|
|
60
|
-
utter_transfer_successful:
|
|
61
|
-
- text: "Your transfer of ${amount} to {payee_name} has been successfully processed"
|
|
62
|
-
utter_cancel_transfer:
|
|
63
|
-
- text: "No problem. I will cancel this transfer"
|
|
64
|
-
utter_invalid_amount:
|
|
65
|
-
- text: "You have to enter an amount greater than 0"
|
|
66
|
-
metadata:
|
|
67
|
-
rephrase: True
|
|
68
|
-
utter_past_payment_date:
|
|
69
|
-
- text: "A future payment date cannot be in the past!"
|
|
70
|
-
metadata:
|
|
71
|
-
rephrase: True
|
|
72
|
-
|
|
73
|
-
actions:
|
|
74
|
-
- action_ask_account_from
|
|
75
|
-
- action_check_payee_existence
|
|
76
|
-
- action_check_sufficient_funds
|
|
77
|
-
- action_schedule_payment
|
|
78
|
-
- action_process_immediate_payment
|
|
79
|
-
- action_validate_payment_date
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# This file contains the different endpoints your bot can use.
|
|
2
|
-
|
|
3
|
-
# Server where the models are pulled from.
|
|
4
|
-
# https://rasa.com/docs/rasa-pro/production/model-storage#fetching-models-from-a-server
|
|
5
|
-
|
|
6
|
-
#models:
|
|
7
|
-
# url: http://my-server.com/models/default_core@latest
|
|
8
|
-
# wait_time_between_pulls: 10 # [optional](default: 100)
|
|
9
|
-
|
|
10
|
-
# Server which runs your custom actions.
|
|
11
|
-
# https://rasa.com/docs/rasa-pro/concepts/custom-actions
|
|
12
|
-
|
|
13
|
-
action_endpoint:
|
|
14
|
-
actions_module: "actions"
|
|
15
|
-
|
|
16
|
-
# Tracker store which is used to store the conversations.
|
|
17
|
-
# By default the conversations are stored in memory.
|
|
18
|
-
# https://rasa.com/docs/rasa-pro/production/tracker-stores
|
|
19
|
-
|
|
20
|
-
#tracker_store:
|
|
21
|
-
# type: redis
|
|
22
|
-
# url: <host of the redis instance, e.g. localhost>
|
|
23
|
-
# port: <port of your redis instance, usually 6379>
|
|
24
|
-
# db: <number of your database within redis, e.g. 0>
|
|
25
|
-
# password: <password used for authentication>
|
|
26
|
-
# use_ssl: <whether or not the communication is encrypted, default false>
|
|
27
|
-
|
|
28
|
-
#tracker_store:
|
|
29
|
-
# type: mongod
|
|
30
|
-
# url: <url to your mongo instance, e.g. mongodb://localhost:27017>
|
|
31
|
-
# db: <name of the db within your mongo instance, e.g. rasa>
|
|
32
|
-
# username: <username used for authentication>
|
|
33
|
-
# password: <password used for authentication>
|
|
34
|
-
|
|
35
|
-
# Event broker which all conversation events should be streamed to.
|
|
36
|
-
# https://rasa.com/docs/rasa-pro/production/event-brokers
|
|
37
|
-
|
|
38
|
-
#event_broker:
|
|
39
|
-
# url: localhost
|
|
40
|
-
# username: username
|
|
41
|
-
# password: password
|
|
42
|
-
# queue: queue
|
|
43
|
-
|
|
44
|
-
# The lines below activate contextual rephrasing, using the default OpenAI language model.
|
|
45
|
-
# Ensure the OPENAI_API_KEY is set to prevent any missing API key errors.
|
|
46
|
-
# For more details, refer to the documentation:
|
|
47
|
-
# https://rasa.com/docs/rasa-pro/concepts/contextual-response-rephraser
|
|
48
|
-
# To enable the rephraser, remove the comment symbols in the lines below.
|
|
49
|
-
nlg:
|
|
50
|
-
type: rephrase
|
|
51
|
-
llm:
|
|
52
|
-
model_group: openai-gpt-4o
|
|
53
|
-
prompt: prompts/rephraser_demo_personality_prompt.jinja2
|
|
54
|
-
rephrase_all: False
|
|
55
|
-
|
|
56
|
-
model_groups:
|
|
57
|
-
- id: openai-gpt-4o
|
|
58
|
-
models:
|
|
59
|
-
- provider: openai
|
|
60
|
-
model: gpt-4o-2024-11-20
|
|
61
|
-
request_timeout: 7
|
|
62
|
-
max_tokens: 256
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
## Task Description
|
|
2
|
-
Your task is to analyze the current conversation context and generate a list of actions to start new business processes that we call flows, to extract slots, or respond to small talk and knowledge requests.
|
|
3
|
-
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Available Flows and Slots
|
|
7
|
-
Use the following structured data:
|
|
8
|
-
```json
|
|
9
|
-
{"flows":[{% for flow in available_flows %}{"name":"{{ flow.name }}","description":"{{ flow.description }}"{% if flow.slots %},"slots":[{% for slot in flow.slots %}{"name":"{{ slot.name }}"{% if slot.description %},"description":"{{ slot.description }}"{% endif %}{% if slot.allowed_values %},"allowed_values":{{ slot.allowed_values }}{% endif %}}{% if not loop.last %},{% endif %}{% endfor %}]{% endif %}}{% if not loop.last %},{% endif %}{% endfor %}]}
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## Available Actions:
|
|
15
|
-
* `start flow flow_name`: Starting a flow. For example, `start flow transfer_money` or `start flow list_contacts`.
|
|
16
|
-
* `set slot slot_name slot_value`: Slot setting. For example, `set slot transfer_money_recipient Freddy`. Can be used to correct and change previously set values.
|
|
17
|
-
* `cancel flow`: Cancelling the current flow.
|
|
18
|
-
* `disambiguate flows flow_name1 flow_name2 ... flow_name_n`: Disambiguate which flow should be started when user input is ambiguous by listing the potential flows as options. For example, `disambiguate flows list_contacts add_contact remove_contact ...` if the user just wrote "contacts".
|
|
19
|
-
* `provide info`: Responding to the user's questions by supplying relevant information, such as answering FAQs or explaining services.
|
|
20
|
-
* `offtopic reply`: Responding to casual or social user messages that are unrelated to any flows, engaging in friendly conversation and addressing off-topic remarks.
|
|
21
|
-
* `hand over`: Handing over to a human, in case the user seems frustrated or explicitly asks to speak to one.
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## General Tips
|
|
26
|
-
* Do not fill slots with abstract values or placeholders.
|
|
27
|
-
* For categorical slots try to match the user message with allowed slot values. Use "other" if you cannot match it.
|
|
28
|
-
* Set the boolean slots based on the user response. Map positive responses to `True`, and negative to `False`.
|
|
29
|
-
* Extract text slot values exactly as provided by the user. Avoid assumptions, format changes, or partial extractions.
|
|
30
|
-
* Only use information provided by the user.
|
|
31
|
-
* Use clarification in ambiguous cases.
|
|
32
|
-
* Multiple flows can be started. If a user wants to digress into a second flow, you do not need to cancel the current flow.
|
|
33
|
-
* Do not cancel the flow unless the user explicitly requests it.
|
|
34
|
-
* Strictly adhere to the provided action format.
|
|
35
|
-
* Focus on the last message and take it one step at a time.
|
|
36
|
-
* Use the previous conversation steps only to aid understanding.
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Current State
|
|
41
|
-
{% if current_flow != None %}Use the following structured data:
|
|
42
|
-
```json
|
|
43
|
-
{"active_flow":"{{ current_flow }}","current_step":{"requested_slot":"{{ current_slot }}","requested_slot_description":"{{ current_slot_description }}"},"slots":[{% for slot in flow_slots %}{"name":"{{ slot.name }}","value":"{{ slot.value }}","type":"{{ slot.type }}"{% if slot.description %},"description":"{{ slot.description }}"{% endif %}{% if slot.allowed_values %},"allowed_values":"{{ slot.allowed_values }}"{% endif %}}{% if not loop.last %},{% endif %}{% endfor %}]}
|
|
44
|
-
```{% else %}
|
|
45
|
-
You are currently not inside any flow.{% endif %}
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## Conversation History
|
|
50
|
-
{{ current_conversation }}
|
|
51
|
-
|
|
52
|
-
---
|
|
53
|
-
|
|
54
|
-
## Task
|
|
55
|
-
Create an action list with one action per line in response to the user's last message: """{{ user_message }}""".
|
|
56
|
-
|
|
57
|
-
Your action list:
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
The following is a conversation with an AI assistant.
|
|
2
|
-
The assistant is professional, calm, and highly attentive to detail.
|
|
3
|
-
Its main priorities are efficiency, speed, and accuracy when handling user requests.
|
|
4
|
-
|
|
5
|
-
Please rephrase the suggested AI response, staying close to the original meaning while
|
|
6
|
-
ensuring the assistant’s tone remains formal yet empathetic, friendly, and reassuring.
|
|
7
|
-
It should convey patience, even with vague or repetitive questions, and be clear,
|
|
8
|
-
informative, and slightly humorous where appropriate.
|
|
9
|
-
|
|
10
|
-
Write your responses in UK English
|
|
11
|
-
|
|
12
|
-
Context / previous conversation with the user:
|
|
13
|
-
{{history}}
|
|
14
|
-
|
|
15
|
-
{{current_input}}
|
|
16
|
-
|
|
17
|
-
Suggested AI Response: {{suggested_response}}
|
|
18
|
-
|
|
19
|
-
Rephrased AI Response:
|