Sign up to save tools and stay up to date with the latest in AI
bg
bg
1

GitHub - Shabang-Systems/simon: AI search: your data + 10 lines of code.

Sep 18, 2023 - github.com
Simon is a Python library that powers a complete semantic search stack, including OCR, ingest, semantic search, extractive question answering, textual recommendation, and AI chat. It provides an online demo and comprehensive documentation for users. To get started, users need tools such as PostgresQL 15 with the Vector Plugin, an OpenAI API key, Python 3.9 or above, and optionally Java for Simon's built-in OCR tooling. The package can be installed from PyPi, and users can connect to their database using the provided code.

The library allows users to store files, including remote webpages, local files, and text. It also enables semantic search, recommendation, and extractive question-answering. The `project_name` is an arbitrary string that acts as the "folder"/"index" in the database where data is stored, meaning data ingested for one project cannot be searched in another. Users can optionally store the OpenAI key and Database info in an `.env` file or as Bash shell variables. The full documentation provides more details, including how to customize the LLM, a REST API, and streaming search results. The creators of Simon are open to collaborations and provide enterprise support.

Key takeaways:

  • Simon is a Python library that powers your entire semantic search stack including OCR, ingest, semantic search, extractive question answering, textual recommendation, and AI chat.
  • It requires tools like PostgresQL 15 with the Vector Plugin, OpenAI API key, Python 3.9 or above, and optionally Java for OCR tooling.
  • Simon allows you to store files, whether they are remote webpages, local files, or text, and then perform semantic search, recommendation, and question-answering on them.
  • Simon provides full documentation for customizing your LLM, a REST API, and streaming your search results.
View Full Article

Comments (0)

Be the first to comment!