Skip to content

chore: reconstruct web using tabs pages#80

Merged
imbajin merged 7 commits intoapache:mainfrom
ChenZiHong-Gavin:tag-pages
Sep 19, 2024
Merged

chore: reconstruct web using tabs pages#80
imbajin merged 7 commits intoapache:mainfrom
ChenZiHong-Gavin:tag-pages

Conversation

@ChenZiHong-Gavin
Copy link
Copy Markdown
Collaborator

image

Configs are collapsed at the top. The functionality is divided into three tab pages:

  with gr.Tab(label="Build Vector/Graph Index"):
      create_vector_graph_block()
  with gr.Tab(label="RAG and User Functions"):
      create_rag_block()
  with gr.Tab(label="Others"):
      create_other_block()

@dosubot dosubot Bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Sep 18, 2024
@github-actions github-actions Bot added the llm label Sep 18, 2024
@dosubot dosubot Bot added the enhancement New feature or request label Sep 18, 2024
log.debug("Request URL: %s", url)
try:
if method.upper() == "GET":
resp = requests.get(url, headers=headers, params=params, timeout=5, auth=auth)

Check failure

Code scanning / CodeQL

Full server-side request forgery

The full URL of this request depends on a [user-provided value](1). The full URL of this request depends on a [user-provided value](2). The full URL of this request depends on a [user-provided value](3). The full URL of this request depends on a [user-provided value](4). The full URL of this request depends on a [user-provided value](5). The full URL of this request depends on a [user-provided value](6).
if method.upper() == "GET":
resp = requests.get(url, headers=headers, params=params, timeout=5, auth=auth)
elif method.upper() == "POST":
resp = requests.post(url, headers=headers, params=params, json=body, timeout=5, auth=auth)

Check failure

Code scanning / CodeQL

Full server-side request forgery

The full URL of this request depends on a [user-provided value](1). The full URL of this request depends on a [user-provided value](2). The full URL of this request depends on a [user-provided value](3). The full URL of this request depends on a [user-provided value](4). The full URL of this request depends on a [user-provided value](5). The full URL of this request depends on a [user-provided value](6).
@ChenZiHong-Gavin ChenZiHong-Gavin changed the title chore: reconstruct rag using tabs chore: reconstruct web using tabs pages Sep 18, 2024
simon824
simon824 previously approved these changes Sep 19, 2024
@imbajin imbajin merged commit 8de360c into apache:main Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request llm size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants