Skip to content

DOCSP-47958 -- langchain + langgraph natural language to mql notebook #19

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

Merged
merged 11 commits into from
May 16, 2025

Conversation

jvincent-mongodb
Copy link
Collaborator

No description provided.

@jvincent-mongodb jvincent-mongodb requested review from dacharyc and davidhou17 and removed request for dacharyc May 9, 2025 20:40
Copy link
Collaborator

@davidhou17 davidhou17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works swimmingly! LGTM after adding this metadata to the notebook to help ensure consistent environment and also use a different Python formatting that lets us use placeholder values (the standard python format renders anything wrapped with "<>" as empty)

"metadata": {
   "kernelspec": {
    "display_name": "Python 3",
    "language": "python",
    "name": "python3"
   },
   "language_info": {
    "codemirror_mode": {
     "name": "ipython",
     "version": 3
    },
    "file_extension": ".py",
    "mimetype": "text/x-python",
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
    "version": "3.10.12"
   }
  },
  "nbformat": 4,
  "nbformat_minor": 2
 }

"outputs": [],
"source": [
"os.environ[\"OPENAI_API_KEY\"] = '<api-key>'\n",
"ATLAS_CONNECTION_STRING = '<atlas-connection-string>'\n",
Copy link
Collaborator

@davidhou17 davidhou17 May 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

Suggested change
"ATLAS_CONNECTION_STRING = '<atlas-connection-string>'\n",
"ATLAS_CONNECTION_STRING = '<connection-string>'\n",

Copy link
Collaborator

@davidhou17 davidhou17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@jvincent-mongodb jvincent-mongodb merged commit d10e6dd into mongodb:main May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants