Python: Update notebooks by pinning pip package and removing requirements.txt (#868)

### Motivation and Context

* Removing the requirements.txt and just pinning each notebook to a pip
package that should work.
Doing this allows users to run notebooks without error even if the code
in the core repo updates.
When a new pip package is released, we will bump the version number in
each notebook.
* Fix usage of context variables. Apps should avoid using anonymous
context variables and prefer using the context, to retain access to the
kernel internals during the orchestration.

---------

Co-authored-by: Alex Chao <[email protected]>
Co-authored-by: Devis Lucato <[email protected]>
This commit is contained in:
Alex Chao
2023-05-08 18:13:17 -07:00
committed by GitHub
co-authored by Alex Chao Devis Lucato
parent 36d31aa3b0
commit 7ed26eacaa
10 changed files with 1531 additions and 1596 deletions
+1
View File
@@ -97,6 +97,7 @@ Python notebooks:
* [Running AI prompts from file](../samples/notebooks/python/02-running-prompts-from-file.ipynb)
* [Creating Semantic Functions at runtime (i.e. inline functions)](../samples/notebooks/python/03-semantic-function-inline.ipynb)
* [Using Context Variables to Build a Chat Experience](../samples/notebooks/python/04-context-variables-chat.ipynb)
* [Introduction to planners](../samples/notebooks/python/05-using-the-planner.ipynb)
* [Building Memory with Embeddings](../samples/notebooks/python/06-memory-and-embeddings.ipynb)
# SK Frequently Asked Questions