For QandA
Project description
lensegt
LenseGt is a toolkit for QandA using RAG approach. It offers the users to extract answers to users from the doc.
Table of Contents
Motivation
Features
Installation
usage
Motivation:
In market, we have many models and it's a challenge for developer or end user to connect to model and every time they need to write the code. SO, we come up with lensegt which helps the user to connect to any model with least amount of time on code.
Features
This module can be used based on gui as well as cli
Installation
pip install lense
Usage
Cli-mode
from lensegt import lense
filename = "abc.pdf"
lense.load_file(filename)
for openai connections
lense.engine(engine_type="OpenAI",api_key="sk-I4***J1TbO1")
for azureopen ai
lense.engine(engine_type="Azure OpenAI",api_key= "17b15**6f",api_version="2017-*-preview" ,azure_endpoint="https://covalenseopenaieastus2.openai.azure.com/")
lense.chat_query("summary of the file")
for GUI
from lensegt import lense
lense.start()
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
lense-0.0.70-py3-none-any.whl
(4.9 MB
view hashes)