-
Notifications
You must be signed in to change notification settings - Fork 15
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
Conversation
ab42525
to
22e9432
Compare
There was a problem hiding this 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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit
"ATLAS_CONNECTION_STRING = '<atlas-connection-string>'\n", | |
"ATLAS_CONNECTION_STRING = '<connection-string>'\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
No description provided.