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 35ccd8c967
commit 083791ca3b
34 changed files with 157 additions and 30 deletions

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"