mirror of
https://github.com/mii443/openai-api-rs.git
synced 2025-08-22 23:25:39 +00:00
Change name
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "openai-rs"
|
name = "openai-api-rs"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Dongri Jin <dongrify@gmail.com>"]
|
authors = ["Dongri Jin <dongrify@gmail.com>"]
|
||||||
|
@ -13,8 +13,8 @@ export OPENAI_API_KEY={YOUR_API}
|
|||||||
```
|
```
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use openai_rs::v1::completion::{self, CompletionRequest};
|
use openai_api_rs::v1::completion::{self, CompletionRequest};
|
||||||
use openai_rs::v1::api::Client;
|
use openai_api_rs::v1::api::Client;
|
||||||
use std::env;
|
use std::env;
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use openai_rs::v1::completion::{self, CompletionRequest};
|
use openai_api_rs::v1::completion::{self, CompletionRequest};
|
||||||
use openai_rs::v1::api::Client;
|
use openai_api_rs::v1::api::Client;
|
||||||
use std::env;
|
use std::env;
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
|
Reference in New Issue
Block a user