Programming Homework Help

IC S10 University of California Santa Barbara Financial Chatbot Code Writing

 

1) Multiple alternative answers to the same question, and provide a default answer scheme;

2) Can answer questions through regular expressions, pattern matching, keyword extraction, syntactic conversion, etc.;

3) It can extract user intent through regular expression, nearest neighbor classification or one or more schemes of support vector machines;

4) Identify named entities through pre-built named entity types, role relationships, dependency analysis, etc.

5) Construction of local basic chatbot system based on RASA NLU;

6) Database query and use natural language to explore database content (extract parameters, create queries, responses)

7) Single round multiple incremental query technology based on incremental filter and screening and negating entity technology

8) Realize the multi-round multi-query technology of the state machine, and provide explanations and answers based on contextual questions

9) Multi-round multi-query technology to handle rejections, wait state transitions and pending actions 

1. Use as many of the nine implementation techniques in four examples as you can in your code, preferably from the beginning to the end. Requires to be able to achieve at least three kinds of intention queries (such as asking some stock price information, trading volume information, market value, etc.), each intention needs at least two rounds of queries to get the query results;

2. The following example of IexFinance API can be used to query real-time stock price, trading volume, opening price and other information.

https://pypi.org/project/iexfinance/

3. The training is completed by asking and answering questions. You need to construct the training data and use the training model by yourself according to the training data in RASA NLU for example.

4. Here are the four examples of the chatbox, you can use the code in examples as you want.

   1.https://colab.research.google.com/drive/1cJ5UAQTBI… 

  2. https://colab.research.google.com/drive/1uXo5MIkPY…

  3.https://colab.research.google.com/drive/1n6cYMO40p…

  4.https://colab.research.google.com/drive/1oxOFQ1C6Y…