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.9.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.9.tar.gz.
File metadata
- Download URL: startgarlic-0.1.9.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 |
5e705096bfc9637ecc465a838eb5f48b606f190c6c87e253110519040dcfdc67
|
|
| MD5 |
dc00670677c974c4fc1de96a7f34416b
|
|
| BLAKE2b-256 |
35eef7f62fa6ad9615298cb7f4e42515fd9f76b3e8d3d1e0d9c4332d00963d68
|
File details
Details for the file startgarlic-0.1.9-py3-none-any.whl.
File metadata
- Download URL: startgarlic-0.1.9-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 |
ff8178e3f8fa391733cb3486405215feaa95540b1bc7df5d1a265ddc9fcfa635
|
|
| MD5 |
27a1e833fc0c1b79d41eca83bc60eda6
|
|
| BLAKE2b-256 |
fde15041e40a290b629df0bb0c32c1f11af1690d7fefde627a677710c64e7974
|