logo

Introductory Python

Assignment 3: chatbots, assignment 3: chatbots ¶.

This is a demo assignment that is available as part of the Introductory Python open materials.

This assignment covers Functions & Algorithms, and builds up to the application of Chatbots.

This assignment is out of 8 points, worth 8% of your grade.

Make sure your completed assignment passes all the asserts. This assignment also has hidden tests - which means that passing all the asserts you see does not guarantee that you have the correct answer! Make sure to double check and re-run your code to make sure it does what you expect.

Quick Tips ¶

Make sure you execute your code to define the functions you write, and then add a new cell to apply your function to different inputs, and check that you get the outputs you expect.

If you’re not sure where to start, look at the code in the test cases (in the asserts) for examples for what kind of inputs and outputs the function you are writing should take, and what kind of behaviour it should have.

Keep in mind that each question is mostly independent from every other - so if you get stuck on something, you can always move on to the next one, and come back to any that you have trouble with later.

Code Imports ¶

You must run the following cell before proceeding with the assignment.

Zen Chatbot ¶

In this assignment, we will be working our way up to building a chatbot.

To start with, we can have a quick chat with a zen chatbot, to see what these kinds of chatbots look like.

Also, if you get stuck on anything, come back here, and talk to the Zen chatbot, to relax :)

Note: in this, and other, chatbot lines, running this code will start an open-ended while loop, that will interupt your code flow, until you explicity quit out of the conversation. If you want to be able to run all your code (from kernel restart & run all ), then comment these lines back out when you are finished exploring them.

Part 1: Functions ¶

This part covers the basics of writing and using functions.

Function Examples ¶

The following are a couple examples of functions provided to you, so you can see their structure.

You don’t need to do anything with these functions.

Q1 - Find Max Value (0.5 points) ¶

Write a function called find_max , that takes in a single parameter called random_list , which should be a list.

This function will find the maximum (max) value of the input list, and return it.

This function will assume the list is composed of only positive numbers.

To find the max, within the function, use a variable called list_max , that you initialize to value 0.

Then use a for loop, to loop through random_list .

Inside the list, use a conditional to check if the current value is larger than list_max , and if so, re-assign list_max to store this new value.

After the loop, return list_max , which should now store the maximum value from within the input list.

Q2 - Square Everything (0.5 points) ¶

Write a function called square_all that takes an input called collection that you assume to be a list or tuple of numbers.

This function should return a new list , which contains the square of each value in collection .

To do so, inside the function, you will define a new list, use a loop to loop through the input list, use an operator to square the current value, and use the append method to add this to your output list. After the loop, return the output list.

Part 2: Refactoring Code to Use Functions ¶

‘Refactoring’ is the process of updating existing computer code, to keep the same outputs, but to have better internal organization and/or properties.

We’ve written a lot of code in previous assignments. However, since we did not yet have functions at our disposal, a lot of that code is not very easy to re-use.

In this section we will refactor some code - rewriting (and extending) some code from previous assignments as functions, to make it easier to re-use.

Q3 - Calculator (0.5 points) ¶

Let’s start with the calculator code that we worked on in A1.

Instead of using a conditional, like we did before, we will make a series of functions to do all the mathematical operations that we want to do.

Define four functions, called summation , subtraction , multiplication , and division .

Each of them will take two inputs num1 and num2 (that could be int or float ), and use them as follows:

summation will add num1 to num2 and return the result

subtraction will subtract num2 from num1 and return the result

multiplication will multiply num1 by num2 and return the result

division will divide num1 by num2 and return the result

Q4 - Extending our Calculator (0.5 points) ¶

Let’s now add some more functions to our calculator:

Write a function called squared that takes one parameter, called num , and returns the square of it.

Write a function called square_root that takes one parameter, called num , and returns the square root of it.

Example: Chaining Functions Together ¶

The goal of using functions is partly to be able to re-use code segments.

It’s also a way to able to flexibly apply and combine different functions together, to build up to more complex and interesting programs.

The cell below shows a couple examples of using our calculator functions that we have now defined, in combination with each other.

Q5 - Using Our Calculator (0.5 points) ¶

Let’s now use our new calculator functions to do some calculations!

Add the square of 3 to the square root of 9

Save the result to a variable called calc_a

Subtract the division of 12 by 3 from the the multiplication of 2 and 4

Save the result to a variable called calc_b

Multiply the square root of 16 to the sum of 7 and 9

Save the result to a variable called calc_c

Divide the square of 7 by the square root of 49

Save the result to a variable called calc_d

Calling Functions from Functions ¶

In the example above, we were able to refactor our code into re-useable functions.

We were then able to use these functions and chain them together to flexibly and extensibly do computation.

Next we’ll dive into another aspect of writing good modular code: dividing complex tasks into independent functions and then using them together.

In practice, this will look like writing lots of and small and specific functions to do simple tasks.

We can then use these functions from within other functions build up to being able to do more complex tasks.

Q6 - Functions for Even & Positive Numbers (0.5 points) ¶

Recall Q13 from A2, when we wanted to check a series of conditions across items in a list.

We can consider that checking each of these conditions is really a separate task.

When writing modular code, these separate tasks should therefore be organized as separate functions.

For this question, write two functions, one called is_even , and the other called is_positive .

Each function should take in a single parameter, a number called value :

is_even will check if value is even, and return True if so, and False otherwise.

is_positive will check if value is positive, and return True if so, and False otherwise.

Note: for our purposes here, ‘positive’ numbers are all numbers greater than 0 (so 0 is not considered positive).

Q7 - Functions Using Functions (0.5 points) ¶

In this section, your are going to recreate a function called make_new_list which takes a list called data_list as its input.

This function will use is_positive and is_even to mimic the task from A2-Q13.

That is, this function will check each value in data_list to see if they are even or odd and whether they are positive or negative.

If they are both positive and even, encode this as the number 1

If they are both negative and odd, encode this as the the number -1

Otherwise, encode this as the number 0

Store the result for each value into a list called output and return it.

Part 3: Algorithms ¶

This part covers working with algorithms.

Q8 - Algorithms (0.5 points) ¶

For each of the tasks below, indicate whether you think it is something that a human or a computer would be better at doing.

Answer each question by setting each requested variable to the string either ‘human’ or ‘computer’.

Set the variable to reflect the answer of which of them you think would be better at the task.

a) Recognize whether a sentence is sarcastic and/or ironic.

Answer in a variable called algo_q_a

b) Reply to a question with information about a topic, replying with the exact wording from a wikipedia article.

Answer in a variable called algo_q_b

c) Keep answering messages for an arbitrarily long period of time, without demonstrating fatigue.

Answer in a variable called algo_q_c

d) Interpret the tone of what was said, to infer if someone is angry.

Answer in a variable called algo_q_d

For each, try to think through if and how you could write an algorithm to do this task - and if you could not, what about it is hard to formalize.

We can use these questions to start to think through what might be easy and hard to program our chatbot to do.

Part 4: Chatbots ¶

This part is an application of all the tools we have covered so far, to the problem of creating a chatbot.

A chatbot is a piece of software that tries to have a conversation with a human.

While today’s chatbots are powerful learners, traditional chatbots are much simpler.

Traditional chatbots follow a “rule-based” approach that is defined for them (by you, the programmer), usually without any learning.

These rules can be very simple or sometimes quite complex - but everything is pre-defined.

These types of chatbots can handle simple conversations but do tend to fail at more complex ones.

Chatbot functions ¶

In order to make our chatbot, we will create a series of functions that our eventual chatbot will use together to try and chat with a user.

At the end, we will test that these functions do indeed allow us to have simple conversations with our chatbot.

Below are some more example chatbots to talk to. Remember to comment these lines back out if you want to be able to Restart and Run All .

Example Chatbot - Eliza ¶

The following demo is from the Natural Language ToolKit (nltk), a Python package available through Anaconda.

Uncomment the line below, and run the code to be able to have a chat with Eliza.

More information on Eliza: https://en.wikipedia.org/wiki/ELIZA

Example Chatbot - Iesha ¶

The following is another demo chatbot from nltk, this one called Iesha.

As you try the chatbot demos with Eliza and Iesha, see if you can notice any patterns that might help you figure out how they work.

That is, can you guess at what kind of programming structures these programs might use?

Chatbots: Words & Rules ¶

So, how do these kinds of chatbots work? Most broadly, they combine two simple but powerful approaches:

Rule Based Artificial Intelligence (GOFAI)

Bag-Of-Word Language Models

Rule based AI , sometimes called ‘Good Old Fashion Artificial Intelligence’, or ‘GOFAI’, is an approach to making artificial agents that tries to write down a set of rules to follow to perform some task. In practice, this often looks like using a lot of conditionals: if X happens, do Y . If we can write down enough logical procedures (call them algorithms) to follow to complete some task, then we can create an artificially intelligent agent (for that task).

Bag-Of-Word language models are an approach to language that takes the simple approach of saying ‘lets try and figure out what someone is saying simply by checking and counting which words they use’. If someone says the word ‘dog’ three times in conversation, they are probably talking about dogs. This ignores many many things about language, and how it works, but is a good ‘first guess’ for what is being said.

From our perspective, this means two things:

We can broadly try to figure out the topic simply by checking which words are used

We can choose a response based on a rule that defines what to do if and when we identify particular topics

In code then, this looks like:

taking input as strings of continuous text, and splitting this up into lists that contain all the words we see

use conditionals (if/elif/else) that choose an output based on what words appear in those lists

As we work through and create all the function in the next section to create our chatbot, try to think through how these functions relate to this approach.

Q9 - Is It a Question (0.5 points) ¶

One thing we might want to know, given an input to a chatbot, is if the input is a question.

We are going to use a very simple heuristic to check this: we will consider any input that has a question mark (‘?’) in it to be a question.

To do so, write a function called is_question .

This function should have the following inputs, outputs and internal procedures:

input_string - string

output - boolean

Procedure(s):

if there is a ‘?’ in input_string , set output to True

otherwise, set output to False.

return output

Example: string.punctuation ¶

When working with strings, it can be useful to check what kind of things particular characters are.

To do things like this, Python offers some collections of items, that we can check against.

For example, we can ask if a particular character is a punctuation mark, by asking if it is in the collection of punctuation characters.

Q10 - Removing punctuation (0.5 points) ¶

Once we know if an input is a question, we are going to get rid of all punctuation.

To do so, write a function called remove_punctuation .

out_string - string

define a new variable out_string as an empty string

loop through each character in input_string

if this character is not in string.punctuation

then append the current character to out_string

return out_string

Q11 - Preparing Text (0.5 points) ¶

Now we want a more general function to prepare the text inputs for processing.

Inside this function, we will use some string methods as well as our new remove_punctuation function.

Write a function called prepare_text .

out_list - list of string

make the string all lower case (use a string method called lower )

note that you will have to assign the output to a variable. You can use a variable name like temp_string

remove all punctuation from the string (use your new function remove_punctuation )

this can also assign out to temp_string

split the string into words (look for and use a string method called split )

note that split will return a list of strings. Assign this as out_list

return out_list

Q12 - Echo a Response (0.5 points) ¶

We will define a function that will return a string that has been repeated a specified number of times, with a given separator.

We will also want to deal with the case where the input to this function may be None .

Write a function called respond_echo .

input_string - string, or None

number_of_echoes - integer

spacer - string

echo_output - string, or None

if input_string is not None :

set a variable echo_output to be input_string , repeated the number of times specified by number_of_echoes , joined by the spacer .

Hint: to do so, recall what “*” does to strings

otherwise (if input_string is None)

set echo_output to None

return echo_output

Note that a simple version of this version will end up appending the spacer to the end of the list as well. For our purposes here, implement that simple version.

So, for example, respond_echo('bark', 2, '-') should return: ‘bark-bark-‘

Example: random.choice ¶

We want our chatbot to have some variation in it’s responses - not only anwering the same thing.

So, we want to be able to choose an output from a list of options.

We can use the random.choice function to so.

An example of using random.choice is offered below.

Q13 - Selector (0.5 points) ¶

Next we will write a function that will help us select an output for the chatbot, based on the input it got.

The overall goal of this function is to take a list of words that we got as input, a list of words to check for if they appear in the input, and a list of possible outputs to return if something from the list to check is in the input list.

Define a function, called selector .

input_list - list of string

check_list - list of string

return_list - list of string

output - string, or None

Initialize output to None

Loop through each element in input_list

Use a conditional to check if the current element is in check_list

If it is, assign output as the returned value of calling the random.choice function on return_list

Also, break out of the loop

At the end of the function, return output

Note that if we don’t find any words from input_list that are in check_list , output will be returned as None .

Q14 - String Concatenator Function (0.5 points) ¶

Create a function that will concatenate two strings, combining them with a specified separator.

To do so, write a function called string_concatenator .

string1 - string

string2 - string

separator - string

concatenate string1 to string2 with separator in between them.

return the result

Q15 - List to String (0.5 points) ¶

Since we are often dealing with a list of strings, it would be useful to have a function to turn a list of strings back into one single concatenated string.

This function will return a string that is each element of input_list concatenated together with each separated by the string seperator .

For example, the following function call:

shoud return:

To do this, write a function called list_to_string .

output - string

assign a variable called output to be the first (index 0) element from input_list

loop through the rest of input_list , looping from the 2nd element (index 1) through to the end of the list

Within the loop, use string_concatenator to combine output with the current element, separated by separator

Assign the output of this to be the new value of output

return output , which should now be a list of the elements of input_list , joined together into a a single string

Q16 - End Chat (0.5 points) ¶

The last thing we need is a way to end the chat with our chatbot.

We will use the same convention that nltk uses - namely, that we will end the conversation if the word quit appears.

To be able to do so, write a function called end_chat

input_list - list

This function should return True if the string ‘quit’ is in input_list , and return False otherwise.

Pulling it all Together ¶

If everything has gone well with writing everything above, then we are ready to pull all these functions together to create our chatbot.

The next few cells define a bunch of code, all provided for you. This code adds a couple more functions we can use and then defines some lists of inputs and outputs that our chatbot will know about. After that, there is a big function that pulls everything together and creates the procedure to use all of this code together as a chatbot.

You don’t have to write anything in the cells below (or in the rest of the assignment).

Do have a quick read through the code though, to see how our chatbot works, and to see how all the functions you just wrote are used to create the chatbot.

If you need, revisit the information at the beginning of this section about the logic our chatbot uses.

You don’t have to understand everything about what happens here, but try to have a first-pass look through it.

We will build up to understanding and writing this kind of code that brings a lot of things together as we continue through the course.

If the code seems intimidating, just scroll down to the bottom, and test out talking to our chatbot.

Talking to our Chatbot ¶

To talk to our chatbot, uncomment and run the cell below.

If anything seems to go weird, note that you can always interrupt the code from running with chat with kernel - interrupt from the menu.

If this happens, it probably means there is some issue with one of the functions you wrote for the chatbot.

Extending Our Chatbot ¶

You might notice that our chatbot, right now, is pretty limited in how many things it can respond to.

To respond to more topics, we could re-use these same functions, adding more input & output options for our chatbot to respond to, using the basic approaches and functionality we have defined here.

If you are interested in this topic, extending this chatbot (or ones like it) will be one of your project options.

After you’ve explored chatting to the chatbot, you are done!

Have a look back over your answers, and also make sure to Restart & Run All from the kernel menu to double check that everything is working properly.

When you are ready to submit your assignment, upload it to TritonED under Assignment-3.

Assignment 4: Artificial Agents

Assignment 3: Chatbot

ChatableApps

Mastering Assignment 3 – Your Ultimate Guide to Building a Stellar Chatbot

Introduction to assignment 3.

Building a chatbot has become increasingly important in today’s technological landscape. With the rising demand for chatbot technology and its significant benefits in various industries, it is crucial for developers to enhance their programming skills by taking on Assignment 3.

Importance of building a chatbot

The demand for chatbot technology has skyrocketed in recent years. More businesses and organizations are leveraging the capabilities of chatbots to automate customer interactions and improve user experiences. Chatbots have proven to be useful in industries such as e-commerce, customer support, healthcare, and many more. Through Assignment 3, you can gain valuable experience in developing a chatbot that can potentially revolutionize an industry.

Overview of Assignment 3 requirements

Assignment 3 entails building a chatbot with specific features and functionalities. It is essential to understand the project requirements before diving into the development process. The chatbot should include features such as natural language processing (NLP), conversation flow, and appropriate user interactions. Familiarizing yourself with the assigned programming language and tools is also crucial for successful completion of Assignment 3.

Understanding the Basics of Chatbot Development

Defining chatbot architecture.

Chatbot architecture plays a significant role in determining the performance and functionality of the chatbot. There are various types of chatbot architectures to consider, such as rule-based, retrieval-based, and generative models. Understanding the different architectures is vital for selecting the most suitable one for Assignment 3 based on the project requirements.

Designing the conversation flow

Designing an effective conversation flow is crucial for a chatbot’s success. It involves identifying key user intents and mapping appropriate responses to those intents. Creating a flowchart or diagram can help visualize the conversation flow and ensure smooth user interactions. In Assignment 3, designing a well-defined conversation flow is essential for creating an engaging user experience.

Implementing Natural Language Processing (NLP)

Natural Language Processing (NLP) is a crucial component of chatbot development. It enables the chatbot to understand and process human language effectively. In Assignment 3, you will have the opportunity to explore different NLP techniques and choose a suitable library or service that facilitates language understanding and response generation.

Building a Robust Chatbot Using Python

Setting up the development environment.

Before diving into chatbot development, it is important to set up a development environment that allows for efficient coding. This involves installing Python and necessary libraries, configuring the workspace, and ensuring all dependencies are met. By establishing a well-structured development environment, you can streamline the coding process for Assignment 3.

Implementing the chatbot functionality

Building the chatbot functionality is the core aspect of Assignment 3. It involves collecting user input, processing it using NLP techniques, and generating appropriate responses based on user intent and context. By leveraging Python’s capabilities, you can create a chatbot that performs seamlessly and delivers valuable user experiences.

Testing and refining the chatbot

Testing is a critical step in ensuring the chatbot’s effectiveness and performance. Running test scenarios allows you to evaluate the chatbot’s responses, identify any shortcomings, and make necessary improvements. Gathering user feedback and iterating on the chatbot’s functionality is essential to refine its performance and create a satisfying user experience in Assignment 3.

Enhancing the Chatbot’s Features and Capabilities

Incorporating machine learning (ml) techniques.

Machine Learning (ML) techniques can enhance the functionality and intelligence of a chatbot. By understanding ML algorithms, you can train the chatbot to improve its responses based on user interactions. Assigning specific tasks to the chatbot and training it using supervised or unsupervised ML approaches can significantly enhance its overall performance and user satisfaction in Assignment 3.

Implementing advanced features

Incorporating advanced features can elevate the chatbot’s capabilities and create a more engaging user experience. Integration with external APIs can provide the chatbot with additional functionality, such as retrieving real-time information or performing specific tasks. Implementing multi-platform support, such as web and mobile, expands the chatbot’s reach and usability.

Deploying the chatbot

Once the chatbot is fully developed and tested, it is essential to deploy it on a suitable platform to make it accessible to users. Choosing the right deployment platform ensures optimal performance and availability. In Assignment 3, understanding the deployment process and successfully making the chatbot available to users is crucial to achieving the project’s objectives.

Conclusion and Next Steps

Assignment 3 provides an excellent opportunity to enhance your programming skills by building a chatbot from scratch. By familiarizing yourself with chatbot architecture, NLP techniques, and Python development, you can create a robust and intelligent chatbot that delivers exceptional user experiences.

Recap the key points covered in the blog post and emphasize the importance of applying the newfound knowledge to Assignment 3. Encourage readers to explore additional resources and continue learning to further improve their chatbot development skills.

By investing time and effort into Assignment 3, you can gain valuable experience in chatbot development and set a solid foundation for future projects and opportunities in the evolving field of artificial intelligence.

Related articles:

  • Mastering Salesforce Assignment Rules – Simplifying Lead and Case Distribution
  • The Ultimate Guide to Lead Assignment in Salesforce – Mastering Round Robin Distribution
  • Demystifying Assignment Rules in Salesforce – A Comprehensive Guide for Sales Success
  • How to Set Up and Optimize Salesforce Assignment Rules for Enhanced Sales Team Efficiency

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

IMAGES

  1. Assignment 3: Chatbot

    assignment 3 chatbot python quizlet

  2. Assignment 3: Chatbot

    assignment 3 chatbot python quizlet

  3. Assignment 3: Chatbot What the code for assignment 3: chatbot Edhesive

    assignment 3 chatbot python quizlet

  4. Create a Chatbot Using Python

    assignment 3 chatbot python quizlet

  5. Create A Simple Chatbot Using Python for Beginners

    assignment 3 chatbot python quizlet

  6. A step-by-step guide to building a chatbot in Python

    assignment 3 chatbot python quizlet

VIDEO

  1. How To Connect OpenAI To WhatsApp (Python Tutorial)

  2. Create Your ChatBot using PYTHON Tkinter 🤖

  3. Building your first chatbot in Python

  4. using the chatbot in Python examples search

  5. Lab2: Teaching Assistant Assignment Chatbot ~ Raj Maharajwala

  6. Do any assignment under 10 seconds

COMMENTS

  1. Solved Assignment 3: Chatbot (PYTHON CODE) A chatbot is a

    Engineering Computer Science Computer Science questions and answers Assignment 3: Chatbot (PYTHON CODE) A chatbot is a computer program designed to emulate human conversation. For this program you will use if statements, user input, and random numbers to create a basic chatbot. Here is the scenario: You have decided to start an online website.

  2. Assignment 3: Chatbot

    answer answered Assignment 3: Chatbot What the code for assignment 3: chatbot Edhesive. rotate Advertisement cleanbeengreen is waiting for your help. Add your answer and earn points. Add answer +7 pts Loved by our community 84 people found it helpful jaceypickett 6 Answer: name1=input ("What is your first name? ")

  3. python chat bot(codecademy) Flashcards

    python chat bot (codecademy) Flashcards | Quizlet python chat bot (codecademy) rulebased chatbots Click the card to flip 👆 where chatbot responses are entirely predefined and returned to the user according to a series of rules. This includes decision trees that have a clear set of possible outputs defined for each step in the dialog.

  4. Chapter 04: Mini Case: Chatting with the HR Chatbot

    A chatbot created by Loka, called Jane, provides real-time answers to a variety of HR questions. She can easily field questions such as "Is Memorial Day a paid holiday?" or "What is the copay for a generic prescription?" Jane can do much more, however.

  5. Project STEM unit 3 and on Flashcards

    nested ifs. Putting one if statement inside another. algorithm. Precise set of rules for how to solve a problem. Algorithms must: 1. have an order 2. have clear instructions 3. operations that can be done by a computer 4. produce a result 5. stop in a finite amount of time. Study with Quizlet and memorize flashcards containing terms like ...

  6. Assignment 3: Chatbots

    You don't need to do anything with these functions. def basic_function(input_number): """Multiplies an input number by 2.""" # Multiple the input by 2 output = input_number * 2 return output # Test using `basic_function` print(basic_function(2)) print(basic_function(5))

  7. ChatterBot: Build a Chatbot With Python

    Step 2: Begin Training Your Chatbot. Step 3: Export a WhatsApp Chat. Step 4: Clean Your Chat Export. Step 5: Train Your Chatbot on Custom Data and Start Chatting. Conclusion. Next Steps. Remove ads. Chatbots can provide real-time customer support and are therefore a valuable asset in many industries. When you understand the basics of the ...

  8. Solved Hello, I am trying to solve the following problem

    Hello, I am trying to solve the following problem using python: Assignment 3: Chatbot A chatbot is a computer program designed to emulate human conversation. For this program you will use if statements, user input, and random numbers to create a basic chatbot. Here is the scenario: You have decided to start an online website.

  9. Assignment 3: Chatbot

    Assignment 3: Chatbot 10/26/2020 | 21:30 Created: 10/26/2020

  10. Assignment 3: Chatbot

    This video was made for free! Create your own. Assignment 3: Chatbot |

  11. Python Chatterbot: How to Make a Chatbot using Python

    Chatterbot. As the name suggests, chatterbot is a python library specifically designed to generate chatbots. This algorithm uses a selection of machine learning algorithms to fabricate varying responses to users as per their requests. Chatterbot makes it easier to develop chatbots that can engage in conversations.

  12. Edhesive Unit 3 Flashcards

    TRUE or FALSE - Not all functions need parameters, but ones that do use those values or variables as part of the input of what the function is designed to do. True. TRUE or FALSE - Functions are often referred to by many different names: functions, procedures, methods. True. TRUE or FALSE - A function does 1 task and allows for code reuse. True.

  13. Mastering Assignment 3

    This involves installing Python and necessary libraries, configuring the workspace, and ensuring all dependencies are met. By establishing a well-structured development environment, you can streamline the coding process for Assignment 3. Implementing the chatbot functionality. Building the chatbot functionality is the core aspect of Assignment 3.

  14. PDF CS51A|Assignment 3 Chatbot

    For this assignment, we're going to be developing a basic chatbot, which will respond to user ... range of situations, is hard, so don't expect ours to be perfect! Introduction to our Movie Quotes The key to our chatbot will be a dataset of over 300K spoken lines from 617 movies1 ... { Make a new Python le called assign3.py. Add your name ...

  15. LibGuides: AI in the Classroom: Chatbot Assignment Examples

    Students' digital and information literacy skills now need to expand to include AI literacy. Explore this topic with your students by designing assignments like: Determining if writing was human-produced or machine-produced; Discussing how chatbots work and what intelligence means for humans and machines; Brainstorming how chatbots can be used ...

  16. Assignment 3 Flashcards

    Learn Test Match Q-Chat Created by SyntaxErrors Terms in this set (9) What three 'things' define an organization's Software Development Process. Phases, Activities, and Artifacts. What is the relationship between criticality of their applications and the resources an organization is willing to invest in their software engineering process

  17. Anyone got answers to Assignment 3: Chatbot : r/EdhesiveHelp

    If you need answer for a test, assignment, quiz or other, you've come to the right place. 3.5K Members. 5 Online. Top 10% Rank by size. r/WGU.

  18. Assignment 3: Chatbot : r/EdhesiveHelp

    • 2 yr. ago JebJebadiah Assignment 3: Chatbot Python Kinda half-assed this assignment back at the start of the year, need to get a full score on it to bring up my grade. Be the first to comment Nobody's responded to this post yet. Add your thoughts and get the conversation going. true

  19. HW Assignment #3 Flashcards

    Test Match Q-Chat Created by spencerlove1051 Terms in this set (10) Who created the word robot Karen Capek Who created the microchip Jack kilby Which of the following was considered by industry as the first collaborative robot YuMi (R) Who developed the SCARA type robot Hiroshi Makino The dexter bot, LBR iiwa, UR, and Baxter robot

  20. Assignment 3: Chatbox python I'll give a brainliest

    answer answered Assignment 3: Chatbox python I'll give a brainliest profile im great actullay report flag outlined profile blink if ur ok report flag outlined profile njdbwjd wnirhefkmnfhuwhnfwbfjhjfajegtelighbSBHGJENJNKMWh8wuqhjbnd kwgfuegfbhefeojfegbf nem report flag outlined profile ummmm report flag outlined profile 0-0 report flag outlined

  21. CMPT120 Chatbot definitions and stuff Flashcards

    Study with Quizlet and memorize flashcards containing terms like Concatenation, strings, floating point number and more. ... Study sets, textbooks, questions. Log in. Sign up. Upgrade to remove ads. Only $35.99/year. CMPT120 Chatbot definitions and stuff. Flashcards. Learn. Test. Match. Flashcards. Learn. Test. Match. Created by. gabriel_coral ...