Assignment 2#3
Open
dhamijap wants to merge 8 commits into
Open
Conversation
… modifications for new functionality
…app.py and new main function.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I updated assignment_chat to have a new chat. This chat bot that speaks in the style of Yoda with 3 services: providing advice (via API call), providing science facts and misconceptions (using RAG to search through embeddings of an html), and searches of video game deals using an API with the ability to provide the best game deals available or game deals related to specific games/preferences based on the user.
What did you learn from the changes you have made?
I learned a lot about how to set up a chatbot, setting up the prompts, using tools. It was important how to set up the local chroma db as well.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of? No.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
I tried to use the music tool and instead get the chatbot to provide recommendations of albums to avoid. This had mixed results as I struggled to load the large amount of data and was running out of tokens. So I switched to a smaller document and found it easier.
How were these changes tested?
I looked through the html file before trying to use it since I noted it was much easier for me to parse through.
A reference to a related issue in your repository (if applicable)
Checklist