holoviz-topics / panel-chat-examples

Examples of Chat Bots using Panels chat features: Traditional, LLMs, AI Agents, LangChain, OpenAI etc
https://holoviz-topics.github.io/panel-chat-examples/
MIT License
104 stars 28 forks source link

Add Openai with memory and maintainence #108

Closed ahuang11 closed 6 months ago

ahuang11 commented 7 months ago

In recent times, I felt like contributing an example became too tedious.

There was too much undocumented things to do, e.g.

  1. add actual example
  2. change tests/ui/user.py to add example as a function and key to ACTION + ZOOM dicts
  3. run ALL of the recording/screenshot through pytest
  4. run postprocess_videos.py

Hopefully this simplifies the process a bit by dropping the need to add to action + zoom.

  1. add actual example
  2. change tests/ui/user.py to add example as a function
  3. run just the desired recording/screenshot through pytest with -k
  4. run postprocess_videos.py

Moves the thumbnail + video test to non-ui test.

Also, I removed Zoom, without a large monitor, it gets cropped.