A RAG-based company information retrieval system
Project description
MVP
Garlic
A RAG-based company information retrieval system that provides intelligent company recommendations based on natural language queries.
Installation
pip install startgarlic
Quick Start
from startgarlic import Garlic
# Initialize the system
garlic = Garlic()
# Get a response for a query
response = garlic.generate_response("Tell me about AI companies")
Features
- Company information retrieval using RAG (Retrieval-Augmented Generation)
- Semantic search using sentence transformers
- Built-in company database
- Natural language query processing
- Context-aware responses
- Chat history support
Usage Examples
Basic query
response = garlic.generate_response("What companies work with computer vision?")
Query with chat history
chat_history = [
{"role": "user", "content": "I'm looking for AI companies"},
{"role": "assistant", "content": "What specific area of AI interests you?"},
{"role": "user", "content": "Computer vision"}
]
response = garlic.generate_response("Show me some examples", chat_history)
Requirements
- Python >= 3.7
- pandas >= 1.3.0
- sentence-transformers >= 2.0.0
- numpy >= 1.19.0
- openpyxl >= 3.0.0
Authors
- Bogdan Ciolac (bogdan@startgarlic.com)
- May Elshater (may@startgarlic.com)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
startgarlic-0.1.8.tar.gz
(24.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file startgarlic-0.1.8.tar.gz.
File metadata
- Download URL: startgarlic-0.1.8.tar.gz
- Upload date:
- Size: 24.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdcc0952f337164d848b6c96fbb8b88cc7257bdd6930332b69842fc4c3bfd186
|
|
| MD5 |
83d75bed515e56bf6fa1f0f093400a43
|
|
| BLAKE2b-256 |
cbce899e000b91d5a7e518a69e38981c22fb9d808bd9c0bc76a9025175f472ff
|
File details
Details for the file startgarlic-0.1.8-py3-none-any.whl.
File metadata
- Download URL: startgarlic-0.1.8-py3-none-any.whl
- Upload date:
- Size: 31.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ed9254dbd998550425ec1753f21d70bcdb1e5bd05423ad13e49ea89303dc72d
|
|
| MD5 |
5e9f2b85425914ebc191f76479657ee8
|
|
| BLAKE2b-256 |
0525cec45c17e6c0cedfb93b455969b1db22f5f7e0ffd2d14b85d28175dce687
|