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 garlic

Quick Start

from garlic import StartGarlic

# Initialize the system
garlic = StartGarlic()

# 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.1.tar.gz (10.0 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.1-cp310-cp310-win_amd64.whl (12.5 kB view details)

Uploaded CPython 3.10Windows x86-64

File details

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

File metadata

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

File hashes

Hashes for startgarlic-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0c769f8d2766fd2ea310dab74347b1b9124cafbd71fe15c4d32a00bc059a4a65
MD5 81ead6a8afb94c16adad2a040c988f3c
BLAKE2b-256 f8efee9ce71eb1585dabae35aa5191309fcbaa4293b0177efe80a4889a80ba0f

See more details on using hashes here.

File details

Details for the file startgarlic-0.1.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for startgarlic-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6bd6153189776e049234632f555c7691671d877706f8b647a6a3731d157bf6ba
MD5 4dc5277cafa37aae54caeddbb9fdeb4e
BLAKE2b-256 48988b2dbad27f2b773390132163fc086739077d5d0f22c437f996ebcf041eef

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