File size: 1,508 Bytes
1e11b8e
 
 
 
 
 
 
 
 
 
84d1aa1
1e11b8e
84d1aa1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d9b802
 
 
 
 
84d1aa1
 
 
 
 
 
 
 
1e11b8e
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
title: Competitive Product Analyser
emoji: πŸ”₯
colorFrom: red
colorTo: blue
sdk: streamlit
sdk_version: 1.44.1
app_file: app.py
pinned: false
---
# πŸ“Š Competitive Product Analyzer

**Compare two products or services like a market analyst β€” instantly.**  
This app uses **Mistral-7B-Instruct** and a custom prompt pipeline created in **Langflow**, deployed via **Streamlit** on Hugging Face Spaces.

---

## πŸš€ Features

- πŸ” **Feature-by-Feature Comparison**
- πŸ’‘ **SWOT Analysis for Each Product**
- 🏒 **Business Use Case Recommendations**
- 🎯 **Strategic Positioning & Key Differentiators**
- πŸ“„ **Markdown-Formatted Expert Reports**

---

## 🧠 Model Used

- **LLM:** [`mistralai/Mistral-7B-Instruct-v0.1`](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1)
- **Inference:** Hugging Face Inference API
- **Pipeline Builder:** Langflow (exported to Python)

---

## πŸ›  Tech Stack

- 🐍 Python 3.10
- πŸ“¦ Streamlit
- 🌐 Hugging Face Inference API
- 🧱 Langflow + LangChain
- 🧠 Mistral 7B LLM

---

## πŸ”— Langflow Flow (Powered by DataStax)
Want to explore or replicate the logic behind this app?  
Check out the visual prompt flow here:  
πŸ‘‰ [Langflow Flow Link](https://astra.datastax.com/langflow/dce800be-521a-4b92-827b-c0f1927ac0b4/flow/ba55769e-aa9d-44b8-8968-398a25fd3ed9)


---

## πŸ§ͺ Example Input

```text
Product 1: iPhone 13  
Product 2: iPhone 14
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference