Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cleanup Python client and add auto-documentation #1493

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all 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
8 changes: 8 additions & 0 deletions docs/docs/client/local_client.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
::: memgpt.client.client.LocalClient
options:
group_by_category: true





8 changes: 8 additions & 0 deletions docs/docs/client/rest_client.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
::: memgpt.client.client.RESTClient
options:
group_by_category: true
group_by: "category"




52 changes: 52 additions & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
site_name: "MemGPT API Reference"

theme:
name: "material"
features:
- navigation.instant
- navigation.footer
- navigation.indexes
- navigation.sections
- navigation.tabs
- navigation.tabs.sticky
- navigation.top

nav:
- Data Models: data_models.md
- Client:
#- Overview: index.md
- RESTClient: client/rest_client.md
- LocalClient: client/local_client.md
plugins:
- mkdocstrings:
handlers:
python:
options:
group_by_category: true
show_category_heading: true

#site_name: "MemGPT API Reference"
#
#theme:
# name: "material"
# features:
# - navigation.instant
# - navigation.footer
# - navigation.indexes
# - navigation.sections
# - navigation.tabs
# - navigation.tabs.sticky
# - navigation.top
#
#nav:
# - Data Models: data_models.md
# - Client: index.md
#plugins:
#- mkdocstrings
# # custom_templates: templates
# # default_handler: python
# # handlers:
# # python:
# # options:
# # show_source: false
#
Loading