feat: define framework and split api

add cache for llm
add openapi module
add proxy module
This commit is contained in:
csunny
2023-06-20 19:36:35 +08:00
parent b834bed65b
commit 50719c14b9
34 changed files with 157 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
from pilot.source_embedding.csv_embedding import CSVEmbedding
from pilot.embedding_engine.csv_embedding import CSVEmbedding
# path = "/Users/chenketing/Downloads/share_ireserve双写数据异常2.xlsx"
path = "xx.csv"

View File

@@ -1,4 +1,4 @@
from pilot.source_embedding.pdf_embedding import PDFEmbedding
from pilot.embedding_engine.pdf_embedding import PDFEmbedding
path = "xxx.pdf"
path = "your_path/OceanBase-数据库-V4.1.0-应用开发.pdf"

View File

@@ -1,4 +1,4 @@
from pilot.source_embedding.url_embedding import URLEmbedding
from pilot.embedding_engine.url_embedding import URLEmbedding
path = "https://www.understandingwar.org/backgrounder/russian-offensive-campaign-assessment-february-8-2023"
model_name = "your_path/all-MiniLM-L6-v2"