cs178-final-project's Introduction
cs178-final-project's People
cs178-final-project's Issues
More filter options
Bot.py
currently only provides hooks for two filters. If more seem useful, we could add, but would need to add in a couple of places (including the extension/frontend).
Better prompts
Some of my prompting isn't great, cleaning up the prompts and in general using better prompting techniques might improve functionality somewhat noticeably.
Filtering system
Either:
- Use an API call to attempt to generate filters from the query. This could be in the same call as the keyword search/replace some of that system perhaps.
- Have some dropdowns/select options to allow the user to deterministically provide the information.
Keywords of just current query perhaps too restrictive?
MRE:
Query 1: What's an economics class on Game Theory?
Query 2: I need one that meets on Mondays.
Currently these two are not used in combination, so the second query's embedding search would find stuff on Mondays, but not econ/game theory related.
Ideas for fixes: This likely requires one or more modifications to the keyword finding system. We should probably pass a number of previous messages, and have the first call identify all keywords relevant to the latest query. If this is reliable, that first API call should fix the above problem, and hopefully won't change the behavior when the user changes tacks entirely. E.g.
Query 1: What's an economics class on Game Theory?
Query 2: What about any class on Monday?
Should hopefully not get tied down to economics and game theory. Probably should inject some examples like this in before the user message history, along with some system prompting to try to make this work.
Prompt injection issues
Provide some basic protection against prompt injections, a la cs50.ai system.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.