-
Notifications
You must be signed in to change notification settings - Fork 362
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(wren-ai-service): semantics description pipeline to generate or optimize the user description #716
Merged
Conversation
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
paopa
added
module/ai-service
ai-service related
ci/ai-service
ai-service related
labels
Oct 3, 2024
paopa
changed the title
feat(wren-ai-service): generating semantics description pipeline
feat(wren-ai-service): semantics description pipeline to generate or optimize the user description
Oct 3, 2024
paopa
force-pushed
the
feat/semantics-description
branch
2 times, most recently
from
October 4, 2024 08:52
e3edebb
to
bb4831c
Compare
paopa
force-pushed
the
feat/semantics-description
branch
from
October 4, 2024 09:23
22798f0
to
2c17cbe
Compare
paopa
force-pushed
the
feat/semantics-description
branch
from
October 4, 2024 09:39
2c17cbe
to
a8e80ed
Compare
cyyeh
approved these changes
Oct 7, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
basically LGTM, thanks for hard work.
AryanK1511
pushed a commit
to AryanK1511/WrenAI
that referenced
this pull request
Oct 7, 2024
…optimize the user description (Canner#716) * feat: imple semantics description generation pipe * chore: add the annotation for tracing * chore: modify example inner semantics description pipe * feat: implement the service * feat: implement get and set item method to retrieve the cached response * feat: web service for semantics description * feat: impl the part in service to run pipeline * feat: optimize the prompt for stabiliby * feat: test case to validate service * chore: remove status attr in response for generating semantics description task * feat: refactor the route and service classes design * chore: optimize the route doc * fix: using input instead of endpoint request
This was referenced Oct 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces the
SemanticsDescription
service, which provides endpoints for generating and optimizing semantic descriptions based on user prompts and selected models.Web API Specification
1. Generate Semantic Description
Endpoint:
POST /v1/semantics-descriptions
Request Body:
Response:
2. Retrieve Semantic Description
Endpoint:
GET /v1/semantics-descriptions/{id}
Path Parameter:
id
: Unique identifier of the semantic description resourceResponse:
or, in case of an error:
Usage
Notes
Screenshots