update .gitignore to allow node package name

This commit is contained in:
Mark Pollack
2024-04-19 08:44:18 -04:00
parent 71c41341ef
commit 955e113a60
3 changed files with 22 additions and 2 deletions

2
.gitignore vendored
View File

@@ -29,8 +29,6 @@ out
vscode
settings.json
node
node_modules
package-lock.json
package.json
.vscode

View File

@@ -0,0 +1,18 @@
package org.springframework.ai.node;
import java.util.Map;
/**
* A simple data structure that contains content and metadata.
*
* @param <T> the type of content in the node
* @author Mark Pollack
* @since 1.0 M1
*/
public interface Node<T> {
T getContent();
Map<String, Object> getMetadata();
}

View File

@@ -0,0 +1,4 @@
/**
* This package contains base data types used across Spring AI.
*/
package org.springframework.ai.node;