Parse markdown into an OpenAI chat completion request
This commit is contained in:
parent
3984cc6d39
commit
912fd23006
7 changed files with 357 additions and 0 deletions
21
crates/ai/Cargo.toml
Normal file
21
crates/ai/Cargo.toml
Normal file
|
@ -0,0 +1,21 @@
|
|||
[package]
|
||||
name = "ai"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[lib]
|
||||
path = "src/ai.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
editor = { path = "../editor" }
|
||||
gpui = { path = "../gpui" }
|
||||
|
||||
anyhow.workspace = true
|
||||
async-openai = "0.10.3"
|
||||
pulldown-cmark = "0.9.2"
|
||||
unindent.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
editor = { path = "../editor", features = ["test-support"] }
|
Loading…
Add table
Add a link
Reference in a new issue