-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a98a01
commit 65619da
Showing
6 changed files
with
60 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
apiVersion: kaito.sh/v1alpha1 | ||
kind: RAG_Workspace | ||
metadata: | ||
name: random | ||
|
||
resources: | ||
- instanceType: "Standard_NC12s_v3" | ||
labelSelector: | ||
matchLabels: | ||
apps: RAG | ||
rag: | ||
index: # Dataset input | ||
# Optional | ||
storage: # Need to handle following: azure, aws, (gcp?), postgresql, data via api | ||
# Example #1 | ||
AzureCosmosDB: URI | ||
secret: <secret_store> # Auth (CSI Secret Store) | ||
# Example #2 | ||
AWSDocDB: URI | ||
secret: <secret_store> # Auth (CSI Secret Store) | ||
# Example #3 | ||
# If blank use data via API and FAISS | ||
# Example #4 | ||
# Perssitent Volume - local files (SimpleDirectoryReader) | ||
query: # FAISS (Take out of CRD and put in POST Request) | ||
search_method: "l2" # Voronoi Search, product search | ||
|
||
models: | ||
llm: | ||
endpoint: "URL" # Service Endpoint | ||
# -- OR -- | ||
secret: # OpenAI Secret (Prorjected Volume) | ||
|
||
|
||
embedding_model: | ||
endpoint: "URL" # Service Endpoint - need to add presets for embedding | ||
# -- OR -- | ||
secret: # OpenAI Secret (Prorjected Volume) | ||
# -- OR -- | ||
hf_model: | ||
- name: "BAAI/bge-small-en-v1.5" # model_id | ||
token: # Optional | ||
remote: false # can also run remotely | ||
|
||
|
||
|
||
|
||
|
||
Whole RAG workflow runs on one node | ||
POST Request for handling Indexing Uses CRD information for Storage Info (Optional) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters