[package]
edition = "2021"
rust-version = "1.88"
name = "synaptic-prompts"
version = "0.2.9"
authors = ["Synaptic Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Prompt templates: ChatPromptTemplate, FewShotChatMessagePromptTemplate"
homepage = "https://dnw3.github.io/synaptic/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/dnw3/synaptic"
[lib]
name = "synaptic_prompts"
path = "src/lib.rs"
[[test]]
name = "chat_template"
path = "tests/chat_template.rs"
[[test]]
name = "example_selector"
path = "tests/example_selector.rs"
[[test]]
name = "few_shot"
path = "tests/few_shot.rs"
[[test]]
name = "few_shot_template"
path = "tests/few_shot_template.rs"
[[test]]
name = "partial_variables"
path = "tests/partial_variables.rs"
[[test]]
name = "placeholder"
path = "tests/placeholder.rs"
[[test]]
name = "prompt_template"
path = "tests/prompt_template.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.synaptic-core]
version = "0.2"
[dependencies.synaptic-embeddings]
version = "0.2"
[dependencies.synaptic-runnables]
version = "0.2"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.41"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"fs",
]
[dev-dependencies.tokio]
version = "1.41"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"fs",
]