Comments (1)
So as far as I understood, we already do this partially on the load_csv.py file.
df = df[~df["question"].isin(df_in_db["question"])] # https://github.com/talkdai/dialog/blob/main/src/load_csv.py#L24
Basically, we would change this logic to use these 3 fields in order to generate a PK and then, if any PK is not matched, insert it into the database, right?
from dialog.
Related Issues (20)
- Add support for LLama CPP HOT 1
- Alter docs to improve context on past and future developments HOT 1
- Improve LCEL support through new Absctract class HOT 1
- Add support for multiple LLM Models on different endpoints HOT 1
- Output containing messages that guided to prompt fallbacks HOT 4
- [docs] Show an image of dialog architecture in README HOT 3
- Support for one model per endpoint approach HOT 3
- Improve load_csv.py to use langchain's CSVLoader HOT 3
- Let document retrieval be more flexible HOT 2
- TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard' HOT 4
- [Documentation] image preview not available HOT 2
- Log Injection HOT 4
- get_session should be available in dialog-lib instead HOT 1
- access to the database should avoid sessions to be left open HOT 2
- Chat history not being passed into default DialogLLM when using Open WebUI HOT 8
- psycopg2-binary is not advised to be used for production environment HOT 1
- Remove psycopg-binary as dependency
- Change behavior of session creation
- Tidy session on main.py HOT 4
- Add tools to the default LCEL class
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.
from dialog.