(app_id: Optional[str] = None)
| 185 | |
| 186 | |
| 187 | def application(app_id: Optional[str] = None): |
| 188 | return ( |
| 189 | ApplicationBuilder() |
| 190 | .with_entrypoint("prompt") |
| 191 | .with_state(chat_history=[]) |
| 192 | .with_graph(graph) |
| 193 | .with_tracker(project="demo_chatbot_streaming") |
| 194 | .with_identifiers(app_id=app_id) |
| 195 | .build() |
| 196 | ) |
| 197 | |
| 198 | |
| 199 | # TODO -- replace these with action tags when we have the availability |
no test coverage detected