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

Optimize conversation_id handling and enhance Dify chat-messages API … #263

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

cubxxw
Copy link
Contributor

@cubxxw cubxxw commented Sep 11, 2024

PR Description:

  • Updated explanation for generating and passing conversation_id, highlighting that it should be left empty for the first request to generate a new conversation_id.
  • Clarified that when passing an existing conversation_id, the inputs will be ignored, and only the query is processed.
  • Added details on how to use conversation variables to adjust logic or session-specific variables dynamically.
  • Example code remains unchanged, but clearer instructions on API usage have been provided.

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. documentation Improvements or additions to documentation labels Sep 11, 2024
@@ -72,13 +72,19 @@ print(response.text)
{% endtab %}
{% endtabs %}

### Conversational applications
### Conversational Applications

Choose a reason for hiding this comment

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

Conversational applications

Copy link

@KevinHuerta26 KevinHuerta26 left a comment

Choose a reason for hiding this comment

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

@AllenWriter AllenWriter merged commit bab5163 into langgenius:main Sep 13, 2024
@cubxxw cubxxw deleted the patch-1 branch September 23, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants