File size: 1,841 Bytes
97ee08c
01b00da
97ee08c
 
 
 
 
 
 
 
 
 
 
 
 
eafb062
97ee08c
 
 
eafb062
97ee08c
 
 
 
 
377fc59
4aacf3d
97ee08c
 
 
 
4aacf3d
97ee08c
 
 
377fc59
4aacf3d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# RAG Application for 10-Q Filing Reviews

## Built using the following specs:
- Data:  [AirBnB Securities Commision pdf](https://airbnb2020ipo.q4web.com/files/doc_financials/2024/q1/fdb60f7d-e616-43dc-86ef-e33d3a9bdd05.pdf) - Form 10-Q filing for Q1 of 2024
- LLM:  Llama3-70B running on Groq
- Embedding model:  OpenAI text-embedding-3-small
- Infrastructure / Framework:  LangChaing
- Vector Store: Qdrant
- UI:  Chainlit
- Deployment: Docker on HuggingFace Spaces

## RAG Data Ingestion

- Additional details on the Data Pipeline are in this [Jupyter Notebook](./airbnb_langchain_rag_loader_retriever.ipynb)

!["RAG Data Pipeline"](./public/airbnb-langchain-rag-loader.png)

## RAG Inference

!["RAG Inference"](./public/airbnb-langchain-rag-inference.png)

### Sample Questions

#### Question 1
- Question: What is Airbnb's 'Description of Business'?
- Response: Airbnb's 'Description of Business' is operating a global platform for unique stays and experiences, connecting hosts and guests (collectively referred to as "customers") online or through mobile devices to book spaces and experiences around the world.
- LangSmith trace: https://smith.langchain.com/public/97ddd0f2-9316-40d2-90b2-813519c501d5/r

#### Question 2
- Question: What was the total value of 'Cash and cash equivalents' as of December 31, 2023?
- Response: The total value of 'Cash and cash equivalents' as of December 31, 2023, is $2,369.
- LangSmith trace: https://smith.langchain.com/public/35425a02-84d7-4bb8-b715-64f96270ac57/r

#### Question 3
- Question: What is the 'maximum number of shares to be sold under the 10b5-1 Trading plan' by Brian Chesky?
- Response: The maximum number of shares to be sold under the 10b5-1 Trading Plan by Brian Chesky is 1,146,000.
- LangSmith trace: https://smith.langchain.com/public/7854d66c-1317-488c-a0a0-4e492491143f/r