fix: update Basic Prompting and Vector Store RAG notes (#4644)

* refactor: update README content and add OpenAI API key note in Basic Prompting project

* cleanup-link

* refactor: improve performance of data processing functions

* remove-astradb-setup-notenode

* text-cleanup

* test-linking

* pin-notes

* pin-load-data

* openai-key-locations

* missed-comma

* resize-basic-prompting-readme

* height-and-description-vector-rag

* selected-false

* height-styling

* height

* refactor: update README content and add OpenAI API key note in Basic Prompting project

* cleanup-link

* refactor: improve performance of data processing functions

* remove-astradb-setup-notenode

* text-cleanup

* test-linking

* pin-notes

* pin-load-data

* openai-key-locations

* missed-comma

* resize-basic-prompting-readme

* height-and-description-vector-rag

* selected-false

* height-styling

* height

* basic-prompt

* style

* vector-rag-done
This commit is contained in:
Mendon Kissling 2024-11-19 09:38:44 -05:00 • committed by GitHub
commit a1fa8ec1b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 639 additions and 211 deletions

View file

@ -404,7 +404,7 @@
"tool_mode": false, "tool_mode": false,
"trace_as_input": true, "trace_as_input": true,
"type": "prompt", "type": "prompt",
"value": "Answer the user as if you were a pirate." "value": "Answer the user as if you were a GenAI expert, enthusiastic about helping them get started building something fresh."
} }
}, },
"tool_mode": false "tool_mode": false
@ -430,16 +430,16 @@
"data": { "data": {
"id": "undefined-emdQy", "id": "undefined-emdQy",
"node": { "node": {
"description": "### ✅ Basic System Prompting README\n\nExperiment with AI behavior control using system prompts. \n\n#### Component Overview\n- **Chat Input:** User message entry point\n- **System Message:** Sets AI personality/behavior\n- **OpenAI Model:** Processes both prompts and generates responses\n- **Chat Output:** Displays the AI response in the Playground\n\n#### Quick Start\n- Add your **OpenAI API key** to the **OpenAI Model**\n- Modify the **System Prompt** template to change AI behavior\n- Use the **Playground** to start chatting\n\nThe default prompt makes the AI respond like a pirate! Try changing it to create different AI personalities.\n\nFor more details, check the [system prompting guide](https://docs.langflow.org/guides/system-prompting).", "description": "## 📖 README\n\nPerform basic prompting with an OpenAI model.\n\n#### Quick Start\n- Add your **OpenAI API key** to the **OpenAI Model**\n- Open the **Playground** to chat with your bot.\n\n#### Next steps:\n Experiment by changing the prompt and the OpenAI model temperature to see how the bot's responses change.",
"display_name": "Read Me", "display_name": "Read Me",
"documentation": "", "documentation": "",
"template": { "template": {
"backgroundColor": "blue" "backgroundColor": "neutral"
} }
} }
}, },
"dragging": false, "dragging": false,
"height": 561, "height": 250,
"id": "undefined-emdQy", "id": "undefined-emdQy",
"position": { "position": {
"x": 66.38770028934243, "x": 66.38770028934243,
@ -450,14 +450,47 @@
"y": 749.744424427066 "y": 749.744424427066
}, },
"resizing": false, "resizing": false,
"selected": true, "selected": false,
"style": { "style": {
"height": 561, "height": 250,
"width": 600 "width": 600
}, },
"type": "noteNode", "type": "noteNode",
"width": 600 "width": 600
}, },
{
"data": {
"id": "note-e6K1n",
"node": {
"description": "### 💡 Add your OpenAI API key here 👇",
"display_name": "",
"documentation": "",
"template": {
"backgroundColor": "transparent"
}
},
"type": "note"
},
"dragging": false,
"height": 324,
"id": "note-e6K1n",
"position": {
"x": 1075.829573520873,
"y": 657.2057655038416
},
"positionAbsolute": {
"x": 1075.829573520873,
"y": 657.2057655038416
},
"resizing": false,
"selected": false,
"style": {
"height": 324,
"width": 324
},
"type": "noteNode",
"width": 324
},
{ {
"data": { "data": {
"description": "Generates text using OpenAI LLMs.", "description": "Generates text using OpenAI LLMs.",

File diff suppressed because one or more lines are too long