Skip to main content

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

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Project details


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.13.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

startgarlic-0.1.13-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file startgarlic-0.1.13.tar.gz.

File metadata

  • Download URL: startgarlic-0.1.13.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for startgarlic-0.1.13.tar.gz
Algorithm Hash digest
SHA256 fb5ae787a53252604a64c6ec64190927664c5b78825d673d06ec427c6b64bb9d
MD5 043ac60b18f69a309c182fd240329003
BLAKE2b-256 e0820faec8061f35718cc593743d2a00aacc20a5bb9f21a6296c67c9abd3a048

See more details on using hashes here.

File details

Details for the file startgarlic-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: startgarlic-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for startgarlic-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 d43f7809c016a8ab4ee72f737ff452b2ef8ccdba695875b39063efb008a6efc3
MD5 ba10159cafbd59bfc4bfc93cada2a02e
BLAKE2b-256 81fe7436bfa8bd73b58f64c0b356c6fe32ada00a68e2db2f39e97e45e390138d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page