-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
docs: concepts folder #5576
Open
mendonk
wants to merge
22
commits into
main
Choose a base branch
from
docs-concepts-content
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
docs: concepts folder #5576
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
…ons and usage examples
… for cURL and Python
dosubot
bot
added
the
size:XL
This PR changes 500-999 lines, ignoring generated files.
label
Jan 7, 2025
github-actions
bot
added
documentation
Improvements or additions to documentation
and removed
documentation
Improvements or additions to documentation
labels
Jan 7, 2025
This was
linked to
issues
Jan 7, 2025
github-actions
bot
added
documentation
Improvements or additions to documentation
and removed
documentation
Improvements or additions to documentation
labels
Jan 9, 2025
edwinjosechittilappilly
requested changes
Jan 9, 2025
"output_type": "chat", | ||
"input_type": "chat", | ||
"tweaks": { | ||
"session_id": "YOUR_SESSION_ID" |
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 may not be correct! Might require testing
Component wise session id would be inside the tweaks of respective components.
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.
Like this:
curl -X POST "http://127.0.0.1:7860/api/v1/run/$FLOW_ID" \
-H 'Content-Type: application/json' \
-d '{
"tweaks": {
"session_id": "custom_session_123"
},
"input_value": "message",
"input_type": "chat",
"output_type": "chat"
}'
{"session_id":"801abb1e-19b9-4278-9632-179b6d84f126","outputs":[{"inputs":{"input_value":"message"},"outputs":[{"results":{"message":{"text_key":"text","data":{"timestamp":"2025-01-10 15:34:27","sender":"Machine","sender_name":"AI","session_id":"801abb1e-19b9-4278-9632-179b6d84f126","text":"Absolutely! It sounds like you're ready to dive into something exciting. What kind of project or idea do you have in mind? Whether it's a new app, a creative writing piece, or even a machine learning model, I'm here to help you brainstorm, plan, and get started. Let’s turn your vision into reality!","files":[],"error":"False","edit":"False","properties":{"text_color":"","background_color":"","edited":"False","source":{"id":"OpenAIModel-Uksag","display_name":"OpenAI","source":"gpt-4o-mini"},"icon":"OpenAI","allow_markdown":"False","positive_feedback":"None","state":"complete","targets":[]},
github-actions
bot
added
documentation
Improvements or additions to documentation
and removed
documentation
Improvements or additions to documentation
labels
Jan 9, 2025
github-actions
bot
added
documentation
Improvements or additions to documentation
and removed
documentation
Improvements or additions to documentation
labels
Jan 9, 2025
github-actions
bot
added
documentation
Improvements or additions to documentation
and removed
documentation
Improvements or additions to documentation
labels
Jan 9, 2025
github-actions
bot
added
documentation
Improvements or additions to documentation
and removed
documentation
Improvements or additions to documentation
labels
Jan 9, 2025
github-actions
bot
added
documentation
Improvements or additions to documentation
and removed
documentation
Improvements or additions to documentation
labels
Jan 9, 2025
github-actions
bot
added
documentation
Improvements or additions to documentation
and removed
documentation
Improvements or additions to documentation
labels
Jan 9, 2025
github-actions
bot
added
documentation
Improvements or additions to documentation
and removed
documentation
Improvements or additions to documentation
labels
Jan 10, 2025
github-actions
bot
added
documentation
Improvements or additions to documentation
and removed
documentation
Improvements or additions to documentation
labels
Jan 10, 2025
github-actions
bot
added
documentation
Improvements or additions to documentation
and removed
documentation
Improvements or additions to documentation
labels
Jan 10, 2025
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:XL
This PR changes 500-999 lines, ignoring generated files.
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 pull request includes significant changes to the documentation for components and the API pane.
Components Overview: The content from
components-overview.md
has been moved and expanded in a new fileconcepts-components.md
. This includes detailed explanations of component functionalities, menus, ports, and code examples. [1] [2]Component Code Example: Added a detailed example of a
RecursiveCharacterTextSplitterComponent
class, explaining its inputs, methods, and usage within a flow.