Skip to content

Commit

Permalink
feat: added functionality to customize prompt (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdylanross authored Mar 14, 2024
1 parent 2ec5869 commit e29c2a1
Show file tree
Hide file tree
Showing 12 changed files with 515 additions and 51 deletions.
260 changes: 260 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ opentelemetry_sdk = { version = "0.21.1", features = ["rt-tokio", "logs"] }
opentelemetry-otlp = { version = "0.14.0", features = ["tonic", "metrics", "logs"] }
opentelemetry-semantic-conventions = { version = "0.13.0" }
axum-tracing-opentelemetry = "0.16.0"
liquid = "0.26.4"

[build-dependencies]
anyhow = "1.0.75"
Expand Down
4 changes: 4 additions & 0 deletions example/history_template.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% for item in items -%}
{{ item.identity }}{% if item.name %} {{ item.name }}{% endif %}: {{ item.content }}
{% endfor -%}
ASSISTANT:
Loading

0 comments on commit e29c2a1

Please sign in to comment.