Spaces:
Paused
Paused
metadata
title: Aie4 Midterm App
emoji: π
colorFrom: purple
colorTo: purple
sdk: docker
pinned: false
license: apache-2.0
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Summary
This is my app for AI Engineering Cohort#4 Midterm Assignment.
With this application, you can chat with these TWO uploaded PDFs: https://www.whitehouse.gov/wp-content/uploads/2022/10/Blueprint-for-an-AI-Bill-of-Rights.pdf AND https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf
Code features:
- Text splitter - RecursiveTextSplitter from Langchain
- Vector store - using Qdrant db
- Retrieval chain using LCEL syntax
- Chat model is OpenAI's gpt-4o-mini.
- There are two variants of the app that can be deployed:
a. An early prototype built using OpenAI Embeddings text-embedding-3-small
b. A more advanced prototype using finetuned version of
Snowflake/snowflake-arctic-embed-m
the finetuned version is available atvincha77/finetuned_arctic