Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:add rag awel operator view metadata. #1174

Merged
merged 1 commit into from
Feb 21, 2024
Merged

feat:add rag awel operator view metadata. #1174

merged 1 commit into from
Feb 21, 2024

Conversation

Aries-ckt
Copy link
Collaborator

@Aries-ckt Aries-ckt commented Feb 20, 2024

Description

add rag awel operator view metadata.
image

How Has This Been Tested?

Example1: chat knowledge
create awel rag example as follows:
image

curl http test:
curl --location --request POST 'http://127.0.0.1:5002/api/v1/awel/trigger/rag/chat/completion' \ --header 'Content-Type: application/json' \ --data-raw '{ "model": "chatgpt_proxyllm", "messages": "your question", "stream": false }'
Example2: document summary
create awel rag example as follows:

image

curl http test:
curl -X 'POST' \ 'http://127.0.0.1:5000/api/v1/awel/trigger/rag/summary' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "model": "chatgpt_proxyllm", "messages": "hello", "stream": false }'

Snapshots:

Include snapshots for easier review.

Checklist:

  • My code follows the style guidelines of this project
  • I have already rebased the commits and make the commit message conform to the project standard.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • Any dependent changes have been merged and published in downstream modules

@github-actions github-actions bot added the enhancement New feature or request label Feb 20, 2024
@csunny
Copy link
Collaborator

csunny commented Feb 20, 2024

Please commit those AWEL flows to dbgpts.

Copy link
Collaborator

@csunny csunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Copy link
Collaborator

@fangyinc fangyinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

@fangyinc fangyinc merged commit 32e1554 into main Feb 21, 2024
8 checks passed
csunny pushed a commit to oushu1zhangxiangxuan1/DB-GPT that referenced this pull request Mar 1, 2024
Hopshine pushed a commit to Hopshine/DB-GPT that referenced this pull request Sep 10, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants