-
Notifications
You must be signed in to change notification settings - Fork 530
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
Conversation quickstarts updates - Python and Go #1169
Conversation
…on. Updates parameter name in conversation quickstart in Go. Signed-off-by: Elena Kolevska <[email protected]>
Signed-off-by: Elena Kolevska <[email protected]>
11cc37d
to
7093d54
Compare
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.
Comments
|
||
In this quickstart, you'll send an input to a mock Large Language Model (LLM) using Dapr's Conversation API. This API is responsible for providing one consistent API entry point to talk to underlying LLM providers. | ||
|
||
Visit [this](https://v1-15.docs.dapr.io/developing-applications/building-blocks/conversation/conversation-overview/) link for more information about Dapr and the Conversation API. |
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.
Can we change these links not to have the docs version number?
Visit [this](https://v1-15.docs.dapr.io/developing-applications/building-blocks/conversation/conversation-overview/) link for more information about Dapr and the Conversation API. | |
Visit [this](https://docs.dapr.io/developing-applications/building-blocks/conversation/conversation-overview/) link for more information about Dapr and the Conversation API. |
|
||
This section shows how to run the application using the [multi-app run template files](https://docs.dapr.io/developing-applications/local-development/multi-app-dapr-run/multi-app-overview/) with `dapr run -f .`. | ||
|
||
This example uses the default LLM Component provided by Dapr which simply echoes the input provided, for testing purposes. Here are other [supported Conversation components](https://v1-15.docs.dapr.io/reference/components-reference/supported-conversation/). |
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.
This example uses the default LLM Component provided by Dapr which simply echoes the input provided, for testing purposes. Here are other [supported Conversation components](https://v1-15.docs.dapr.io/reference/components-reference/supported-conversation/). | |
This example uses the default LLM Component provided by Dapr which simply echoes the input provided, for testing purposes. Here are other [supported Conversation components](https://docs.dapr.io/reference/components-reference/supported-conversation/). |
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.
Please check for other links like this, no docs version number.
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.
If we remove the 1-15 prefix validation will fail for all the new links that haven't been published yet. But I can set a reminder to come back to this PR tomorrow (or whenever we merge the 1-15 docs to main) and update it.
conversation/python/sdk/README.md
Outdated
- The mock LLM echoes `What is Dapr?`. | ||
|
||
```text | ||
== APP - conversation == Input sent: What is Dapr? |
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.
== APP - conversation == Input sent: What is Dapr? | |
== APP - conversation == Input sent: What is dapr? |
Signed-off-by: Elena Kolevska <[email protected]>
Signed-off-by: Elena Kolevska <[email protected]>
d3d4b76
to
dbad2e9
Compare
Signed-off-by: Elena Kolevska <[email protected]>
21fb9bb
to
016d495
Compare
Signed-off-by: Elena Kolevska <[email protected]>
Co-authored-by: Mark Fussell <[email protected]> Signed-off-by: Elena Kolevska <[email protected]>
Signed-off-by: Elena Kolevska <[email protected]>
Signed-off-by: Elena Kolevska <[email protected]>
* fix: configuration/python/http/order-processor/requirements.txt to reduce vulnerabilities The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-7267250 * fix: pub_sub/python/sdk/order-processor-fastapi/requirements.txt to reduce vulnerabilities The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-ANYIO-7361842 * helloworld: add terminal to node app for vscode Signed-off-by: Joël Séguillon <[email protected]> * chore: bump runtime version to rc.2 (#1126) Signed-off-by: Mike Nguyen <[email protected]> * chore: cleanup & unify workflows and bump kind version (#1127) Signed-off-by: Mike Nguyen <[email protected]> * Creating Conversation folder Signed-off-by: Fernando Rocha <[email protected]> * Modernized and updated Workflow .NET quickstart to use latest best practices and Dapr package (1.15.0 rc01) Signed-off-by: Whit Waldo <[email protected]> * Updated Dapr package version to use latest RC02 Signed-off-by: Whit Waldo <[email protected]> * COnverstaion API Signed-off-by: Fernando Rocha <[email protected]> * add python-sdk in cryptography (#1093) Signed-off-by: KentHsu <[email protected]> Signed-off-by: Alice Gibbons <[email protected]> * Fixing Conversation HTTP example for RC5 Signed-off-by: Fernando Rocha <[email protected]> * Fixing Conversation SDK example for RC5 Signed-off-by: Fernando Rocha <[email protected]> * Update conversation.go Co-authored-by: Mike Nguyen <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Update go.mod Co-authored-by: Mike Nguyen <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Update go.mod Co-authored-by: Mike Nguyen <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * fix: updates CLI and runtime version to fix tests (#1138) Signed-off-by: Mike Nguyen <[email protected]> * Tests updates Signed-off-by: Alice Gibbons <[email protected]> * HTTP csharp jobs quickstart Signed-off-by: Alice Gibbons <[email protected]> * Finishing conversation sdk and fixing components path Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/go/http/README.md Co-authored-by: Mike Nguyen <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * fix: bump python crypto dep to >=1.14 Signed-off-by: Mike Nguyen <[email protected]> * fix: modify actors/cs test assertion Signed-off-by: Mike Nguyen <[email protected]> * fix: define update deps for python wf quickstart Signed-off-by: Mike Nguyen <[email protected]> * fix(test): typo in existing quickstart validation Signed-off-by: Mike Nguyen <[email protected]> * fix: update python WF dep names Signed-off-by: Mike Nguyen <[email protected]> * Update global.env with Dapr CLI 1.15.0-rc.2 Need RC.2 containing fix for deprecation flags. see dapr/cli#1478 Signed-off-by: Paul Yuknewicz <[email protected]> * Update conversation/go/sdk/dapr.yaml Co-authored-by: Mike Nguyen <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/go/http/dapr.yaml Co-authored-by: Mike Nguyen <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/go/sdk/dapr.yaml Co-authored-by: Mike Nguyen <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Updating sleep and timeout times Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/go/sdk/README.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/go/http/README.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/go/http/README.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/go/sdk/README.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/go/http/README.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Comversation README improvements Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/go/http/README.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/go/sdk/README.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/go/sdk/README.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * removing files from PR Signed-off-by: Fernando Rocha <[email protected]> * Csharp conversation quickstarts Signed-off-by: Alice Gibbons <[email protected]> * Python Jobs API - HTTP quickstart Signed-off-by: Fernando Rocha <[email protected]> * Version bump (dapr rc8, cli rc3 and python sdk 1.15.0rc2) (#1148) * Updates to python sdk 1.15.0rc2 Signed-off-by: Elena Kolevska <[email protected]> * Test fix Signed-off-by: Elena Kolevska <[email protected]> * test fix Signed-off-by: Elena Kolevska <[email protected]> * Bumps runtime and cli versions Signed-off-by: Elena Kolevska <[email protected]> * Bumps runtime to rc8 Signed-off-by: Elena Kolevska <[email protected]> --------- Signed-off-by: Elena Kolevska <[email protected]> Signed-off-by: Elena Kolevska <[email protected]> * Python Conversation http Quickstart (#1150) * Python Conversation API - HTTP quickstart Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/python/http/dapr.yaml Co-authored-by: Marc Duiker <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Update conversation/python/http/dapr.yaml Co-authored-by: Marc Duiker <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> --------- Signed-off-by: Fernando Rocha <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> Co-authored-by: Marc Duiker <[email protected]> * Added Quickstart for Javascript Jobs HTTP api (#1134) * Added Quickstart for Javascript Jobs HTTP api Signed-off-by: Constantin Chirila <[email protected]> * Updated Read me for Jobs quickstart Signed-off-by: Constantin Chirila <[email protected]> * Updated Package json with the right services names and correct ports Signed-off-by: Constantin Chirila <[email protected]> * Updated JS Jobs README to clear dotnet processes Signed-off-by: Constantin Chirila <[email protected]> * Reordered props in dapr.yaml Signed-off-by: Constantin Chirila <[email protected]> --------- Signed-off-by: Constantin Chirila <[email protected]> Co-authored-by: Constantin Chirila <[email protected]> Co-authored-by: Mike Nguyen <[email protected]> * Fix inconsistent dapr.yaml and appIDs (#1152) * Fix inconsistent multi-app run files Signed-off-by: Marc Duiker <[email protected]> * Rename appID for consistency Signed-off-by: Marc Duiker <[email protected]> * Update appID for consistency Signed-off-by: Marc Duiker <[email protected]> * fix appID Signed-off-by: Marc Duiker <[email protected]> * Fix appID Signed-off-by: Marc Duiker <[email protected]> * Remove schedulerHostAddress Signed-off-by: Marc Duiker <[email protected]> --------- Signed-off-by: Marc Duiker <[email protected]> * RC 9 and CLI RC 4 (#1153) Signed-off-by: Alice Gibbons <[email protected]> * Conversation JS HTTP Quickstart (#1154) * Added Quickstart for Javascript Conversation HTTP api Signed-off-by: Constantin Chirila <[email protected]> * Minor change Signed-off-by: Constantin Chirila <[email protected]> * Updated Readme Signed-off-by: Constantin Chirila <[email protected]> * Removed redundant check on response Signed-off-by: Constantin Chirila <[email protected]> * Updated Readme Signed-off-by: Constantin Chirila <[email protected]> --------- Signed-off-by: Constantin Chirila <[email protected]> Co-authored-by: Constantin Chirila <[email protected]> * splitting header Signed-off-by: Fernando Rocha <[email protected]> * updating to runtime version 1.15.0-rc.10 and cli version 1.15.0-rc.5 Signed-off-by: Paul Yuknewicz <[email protected]> * removing flask, fixing print statements Signed-off-by: Fernando Rocha <[email protected]> * readme Signed-off-by: Fernando Rocha <[email protected]> * gitignore Signed-off-by: Fernando Rocha <[email protected]> * Update jobs/python/http/README.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * Update jobs/python/http/README.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> * removing debug logs Signed-off-by: Fernando Rocha <[email protected]> * Update jobs/python/http/README.md Signed-off-by: Alice Gibbons <[email protected]> * chore:RC 11 Signed-off-by: Alice Gibbons <[email protected]> * removing localhost scheduler and gitignore Signed-off-by: Fernando Rocha <[email protected]> * removing unecessary parsing step Signed-off-by: Fernando Rocha <[email protected]> * Update .NET workflow quickstart Signed-off-by: Marc Duiker <[email protected]> * Update Java Workflow sample Signed-off-by: Marc Duiker <[email protected]> * Update Python Quickstart Signed-off-by: Marc Duiker <[email protected]> * Fix event name Signed-off-by: Marc Duiker <[email protected]> * Update JavaScrrip WF Quickstart with new naming, input and output. Signed-off-by: Marc Duiker <[email protected]> * Update Python WF quickstart to wait_for_workflow_completion Signed-off-by: Marc Duiker <[email protected]> * Clean up Python Signed-off-by: Marc Duiker <[email protected]> * update Go Workflow to use WaitForCompletion Signed-off-by: Marc Duiker <[email protected]> * Add clarification about sending/receiving events Signed-off-by: Marc Duiker <[email protected]> * All validations are working Signed-off-by: Marc Duiker <[email protected]> * Fixed python conversation quickstart * Add link to raise event Signed-off-by: Marc Duiker <[email protected]> * release: bump go examples to rc1 Signed-off-by: Mike Nguyen <[email protected]> * updating dapr version to 1.15.0-rc.18 (#1168) Signed-off-by: Fernando Rocha <[email protected]> * Conversation quickstarts updates - Python and Go (#1169) * Adds python conversation api sdk quickstart. Updates python sdk version. Updates parameter name in conversation quickstart in Go. Signed-off-by: Elena Kolevska <[email protected]> * Fixes .net http quickstart for Conversation API Signed-off-by: Elena Kolevska <[email protected]> * rename Signed-off-by: Elena Kolevska <[email protected]> * Fixes js conversation quickstart Signed-off-by: Elena Kolevska <[email protected]> * Older dependency Signed-off-by: Elena Kolevska <[email protected]> * Sets up a clean virtual environment for every quickstart Signed-off-by: Elena Kolevska <[email protected]> * Apply suggestions from code review Co-authored-by: Mark Fussell <[email protected]> Signed-off-by: Elena Kolevska <[email protected]> * Adds uvicorn in requirements.txt Signed-off-by: Elena Kolevska <[email protected]> * Runs the install step Signed-off-by: Elena Kolevska <[email protected]> --------- Signed-off-by: Elena Kolevska <[email protected]> Signed-off-by: Elena Kolevska <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Updated Dapr .NET SDK package to use latest protos - no other changes needed to the example (#1170) Signed-off-by: Whit Waldo <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Co-authored-by: Alice Gibbons <[email protected]> * Update global.env Signed-off-by: Yaron Schneider <[email protected]> * Bumps python sdk to 1.15.0 Signed-off-by: Elena Kolevska <[email protected]> --------- Signed-off-by: Joël Séguillon <[email protected]> Signed-off-by: Mike Nguyen <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> Signed-off-by: Whit Waldo <[email protected]> Signed-off-by: KentHsu <[email protected]> Signed-off-by: Alice Gibbons <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> Signed-off-by: Paul Yuknewicz <[email protected]> Signed-off-by: Elena Kolevska <[email protected]> Signed-off-by: Elena Kolevska <[email protected]> Signed-off-by: Constantin Chirila <[email protected]> Signed-off-by: Marc Duiker <[email protected]> Signed-off-by: Alice Gibbons <[email protected]> Signed-off-by: Yaron Schneider <[email protected]> Co-authored-by: snyk-bot <[email protected]> Co-authored-by: Joël Séguillon <[email protected]> Co-authored-by: Mike Nguyen <[email protected]> Co-authored-by: Fernando Rocha <[email protected]> Co-authored-by: Whit Waldo <[email protected]> Co-authored-by: Kent (Chia-Hao), Hsu <[email protected]> Co-authored-by: Fernando Rocha <[email protected]> Co-authored-by: Alice Gibbons <[email protected]> Co-authored-by: Alice Gibbons <[email protected]> Co-authored-by: Paul Yuknewicz <[email protected]> Co-authored-by: Marc Duiker <[email protected]> Co-authored-by: Constantin Chirila <[email protected]> Co-authored-by: Constantin Chirila <[email protected]> Co-authored-by: Mark Fussell <[email protected]> Co-authored-by: Yaron Schneider <[email protected]>
Description
Issue reference
#1167
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: