Skip to content

[Doc]: Missing interface format specification document #45

Closed

Description

@HuXin0817

Description

Missing Interface Format Specification Document

For example, I want to create a Memory using a dictionary-based approach:

Memory(config={
    "xxx": {
        "xxx": "xxx"
    }
})

I don't know which fields should be included.

Similarly, for some methods, such as Memory.search:

def search(
        self,
        query: str,
        user_id: Optional[str] = None,
        agent_id: Optional[str] = None,
        run_id: Optional[str] = None,
        filters: Optional[Dict[str, Any]] = None,
        limit: int = 30,
        threshold: Optional[float] = None,
    ) -> Dict[str, Any]:

I also don't know the format of the return value.

Documentation links

https://github.com/oceanbase/powermem/tree/main/docs/guides

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions