Kind
Memory
Group
kagent.dev
Version
v1alpha1
apiVersion: kagent.dev/v1alpha1 kind: Memory metadata: name: example
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata object
spec object
MemorySpec defines the desired state of Memory.
apiKeySecretKey string
The key in the secret that contains the API key
apiKeySecretRef string
The reference to the secret that contains the API key. Can either be a reference to the name of a secret in the same namespace as the referencing Memory, or a reference to the name of a secret in a different namespace in the form <namespace>/<name>
pinecone object
The configuration for the Pinecone memory provider
indexHost string required
The index host to connect to
namespace string
The namespace to use for the Pinecone index. If not provided, the default namespace will be used.
recordFields []string
The fields to retrieve from the Pinecone index. If not provided, all fields will be retrieved.
scoreThreshold string
The score threshold of results to include in the context. Results with a score below this threshold will be ignored.
topK integer
The number of results to return from the Pinecone index
provider string required
The provider of the memory
enum: Pinecone
status object
MemoryStatus defines the observed state of Memory.
conditions []object required
lastTransitionTime string required
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format: date-time
message string required
message is a human readable message indicating details about the transition. This may be an empty string.
maxLength: 32768
observedGeneration integer
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
format: int64
minimum: 0
reason string required
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
minLength: 1
maxLength: 1024
status string required
status of the condition, one of True, False, Unknown.
enum: True, False, Unknown
type string required
type of condition in CamelCase or in foo.example.com/CamelCase.
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
maxLength: 316
observedGeneration integer required
format: int64
Copied!