Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed warnings#1526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SilasMarvin merged 1 commit intomasterfromsilas-fix-warnings
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed warnings
  • Loading branch information
@SilasMarvin
SilasMarvin committedJun 14, 2024
commitc7bfd54b94ec6edcb0785123d18ddc37fccfed71
7 changes: 7 additions & 0 deletionspgml-sdks/pgml/src/models.rs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,6 +8,7 @@ use crate::types::{DateTime, Json};
// A multi field pipeline
#[enum_def]
#[derive(FromRow)]
#[allow(dead_code)]
pub struct Pipeline {
pub id: i64,
pub name: String,
Expand All@@ -19,6 +20,7 @@ pub struct Pipeline {
// A model used to perform some task
#[enum_def]
#[derive(FromRow)]
#[allow(dead_code)]
pub struct Model {
pub id: i64,
pub created_at: DateTime,
Expand All@@ -29,6 +31,7 @@ pub struct Model {
// A text splitter
#[enum_def]
#[derive(FromRow)]
#[allow(dead_code)]
pub struct Splitter {
pub id: i64,
pub created_at: DateTime,
Expand DownExpand Up@@ -63,6 +66,7 @@ impl Document {
// A collection of documents
#[enum_def]
#[derive(FromRow)]
#[allow(dead_code)]
pub struct Collection {
pub id: i64,
pub created_at: DateTime,
Expand All@@ -74,6 +78,7 @@ pub struct Collection {
// An embedding
#[enum_def]
#[derive(FromRow)]
#[allow(dead_code)]
pub struct Embedding {
pub id: i64,
pub created_at: DateTime,
Expand All@@ -83,6 +88,7 @@ pub struct Embedding {

// A chunk of split text
#[derive(FromRow)]
#[allow(dead_code)]
pub struct Chunk {
pub id: i64,
pub created_at: DateTime,
Expand All@@ -93,6 +99,7 @@ pub struct Chunk {

// A tsvector of a document
#[derive(FromRow)]
#[allow(dead_code)]
pub struct TSVector {
pub id: i64,
pub created_at: DateTime,
Expand Down
1 change: 1 addition & 0 deletionspgml-sdks/pgml/src/pipeline.rs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -175,6 +175,7 @@ impl From<Json> for InvividualSyncStatus {
}

#[derive(Debug,Clone)]
#[allow(dead_code)]
pubstructPipelineDatabaseData{
pubid:i64,
pubcreated_at:DateTime,
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp