update .gitignore to allow node package name
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -29,8 +29,6 @@ out
|
||||
vscode
|
||||
settings.json
|
||||
|
||||
node
|
||||
node_modules
|
||||
package-lock.json
|
||||
package.json
|
||||
.vscode
|
||||
|
||||
@@ -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();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* This package contains base data types used across Spring AI.
|
||||
*/
|
||||
package org.springframework.ai.node;
|
||||
Reference in New Issue
Block a user