Commit Graph

10 Commits

Author SHA1 Message Date
cachho
ff2d5ce7fa feat: add local qna pair 2023-06-23 19:53:57 +05:30
Taranjeet Singh
e40f1e5061 Skip creating embedding if it already exists
This commit adds support to skip generating embedding
for chunks which are already present in vector db.
2023-06-23 17:08:49 +05:30
Taranjeet Singh
cff244b894 Add default db loader, fix import
This commits builds on DumoeDss's PR. It

- adds a default db directory name.
- adds a default db instance (Chroma).

Both points offers flexibility for users who
want to use default and users who want to
customize

Lastly, it fixes an import
2023-06-23 11:51:51 +05:30
Sayo
85a6a0c161 [feat] Refactor VectorDB class hierarchy for flexibility 2023-06-22 12:15:26 +08:00
Taranjeet Singh
63bd18056f Revert "Rename query endpoint to qna"
This reverts commit 6bc7e9b7a7.
2023-06-21 16:06:51 +05:30
Taranjeet Singh
6bc7e9b7a7 Rename query endpoint to qna
Query endpoint takes a query and returns an answer
on the basis of retrieved similar docs.
Thought about the name and realized that qna makes
much more sense than query, as it takes a query
and returns an answer
2023-06-21 12:35:38 +05:30
Taranjeet Singh
8582613940 Add doc strings
Adds doc string for functions in embedchain/embedchain.py
2023-06-20 21:37:21 +05:30
Taranjeet Singh
ac0ec0bf8f Update log statement, doc and package dependency version 2023-06-20 21:04:33 +05:30
Taranjeet Singh
08f155a551 Update website to web page
This commit renames the website loader, chunker
to web page, as it is loading and chunking a single
url than the complete website.
2023-06-20 16:50:57 +05:30
Taranjeet Singh
468db83337 Add simple app functionality
This commit enables anyone to create a app and add 3 types of data
sources:

* pdf file
* youtube video
* website

It exposes a function called query which first gets similar docs from
vector db and then passes it to LLM to get the final answer.
2023-06-20 14:42:55 +05:30