artifacts: rewrite the entire artifact querying layer to create modular 'tools' and 'datasource's
This commit is contained in:
+3
-3
@@ -1,7 +1,7 @@
|
||||
use chrono::{DateTime, Duration, Utc};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::{artifacts::Artifact, prediction::{GeneratedResponses, PossibleResponse}, scene::conversation::ConversationEntry};
|
||||
use crate::{artifacts::{Track, archive::Archive}, prediction::{GeneratedResponses, PossibleResponse}, scene::conversation::ConversationEntry};
|
||||
|
||||
pub mod conversation;
|
||||
|
||||
@@ -36,8 +36,8 @@ impl Default for StageDirection {
|
||||
|
||||
#[derive(Debug, Default, Serialize, Deserialize, Clone)]
|
||||
pub struct Scenery {
|
||||
pub artifacts: Vec<Artifact>,
|
||||
pub current_playlist: Vec<Artifact>
|
||||
pub artifacts: Archive,
|
||||
pub current_playlist: Vec<Track>
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Clone, Serialize, Deserialize)]
|
||||
|
||||
Reference in New Issue
Block a user