Skip to content

Commit

Permalink
Fix a few ui bugs (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
moria97 authored Jul 30, 2024
1 parent bf30354 commit f0fc85c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pai_rag/app/web/tabs/vector_db_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def create_vector_db_panel(
label="UserName", elem_id="opensearch_username"
)
opensearch_password = gr.Textbox(
label="Password", elem_id="opensearch_password"
label="Password", type="password", elem_id="opensearch_password"
)
opensearch_table_name = gr.Textbox(
label="TableName", elem_id="opensearch_table_name"
Expand Down
2 changes: 1 addition & 1 deletion src/pai_rag/app/web/ui_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# \N{fire} Chatbot with RAG on PAI !
### \N{rocket} Build your own personalized knowledge base question-answering chatbot.
#### \N{fire} Platform: [PAI](https://help.aliyun.com/zh/pai) / [PAI-EAS](https://www.aliyun.com/product/bigdata/learn/eas) / [PAI-DSW](https://pai.console.aliyun.com/notebook)   \N{rocket} Supported VectorStores: [Milvus](https://www.aliyun.com/product/bigdata/emapreduce/milvus) / [Hologres](https://www.aliyun.com/product/bigdata/hologram) / [ElasticSearch](https://www.aliyun.com/product/bigdata/elasticsearch) / [AnalyticDB](https://www.aliyun.com/product/apsaradb/gpdb) / [FAISS](https://python.langchain.com/docs/integrations/vectorstores/faiss)
#### \N{fire} Platform: [PAI](https://help.aliyun.com/zh/pai) / [PAI-EAS](https://www.aliyun.com/product/bigdata/learn/eas) / [PAI-DSW](https://pai.console.aliyun.com/notebook)   \N{rocket} Supported VectorStores: [Milvus](https://www.aliyun.com/product/bigdata/emapreduce/milvus) / [Hologres](https://www.aliyun.com/product/bigdata/hologram) / [ElasticSearch](https://www.aliyun.com/product/bigdata/elasticsearch) / [AnalyticDB](https://www.aliyun.com/product/apsaradb/gpdb) / [FAISS](https://python.langchain.com/docs/integrations/vectorstores/faiss) / [OpenSearch](https://help.aliyun.com/zh/open-search/vector-search-edition/product-overview/)
#### \N{fire} <a href='/docs'>API Docs</a> &emsp; \N{rocket} \N{fire} 欢迎加入【PAI】RAG答疑群 27370042974
"""
Expand Down
2 changes: 1 addition & 1 deletion src/pai_rag/app/web/view_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class ViewModel(BaseModel):
milvus_port: int = None
milvus_user: str = None
milvus_password: str = None
milvus_database: str = "pairag"
milvus_database: str = "default"
milvus_collection_name: str = "pairagcollection"

# open search
Expand Down

0 comments on commit f0fc85c

Please sign in to comment.