Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add query and response log to a csv file #33

Merged
merged 6 commits into from
Mar 29, 2024

Conversation

almirb
Copy link
Contributor

@almirb almirb commented Mar 12, 2024

Added code to allow saving query / response / sources logging to a csv file.

- Changed ingestion methods to ignore files already loaded into embeddings;
- Added .txt files support;
- Added .csv files support (a column named "text" is transformed into embeddings).
- Added functionality to log queries and responses in a CSV file.
@almirb almirb requested a review from drivian as a code owner March 12, 2024 16:22
@almirb almirb changed the title Add query and response log to a csv Add query and response log to a csv file Mar 12, 2024
@drivian
Copy link
Collaborator

drivian commented Mar 13, 2024

Thanks for the PR @almirb, super useful functionality!

Would you mind changing the comments and column names in pdf_tool from Spanish to English? Otherwise good to merge :)

Translated comments from portuguese to english.
@almirb
Copy link
Contributor Author

almirb commented Mar 13, 2024

Hey @drivian !
Comments translated. :)

@drivian
Copy link
Collaborator

drivian commented Mar 14, 2024

Gracias @almirb ! Just fixing our runners for the CI checks and then we'll merge.

@drivian drivian merged commit ec05c37 into BCG-X-Official:main Mar 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants