This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import autogen | |
from user_proxy_webagent import UserProxyWebAgent | |
import asyncio | |
config_list = [ | |
{ | |
"model": "gpt-3.5-turbo", | |
# "api_key": "<YOUR KEY HERE>" | |
} | |
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Script originally sourced from Peter Baumgartner | |
here: https://gist.github.com/pmbaumgartner/adb33aa486b77ab58eb3df265393195d | |
and then modified by Lynn Cherny to allow a corpus file, | |
any gensim w2v model file, and make or read a counts file before the | |
UMAP display. | |
The counts are used to focus on the most common words, and more | |
frequent words show as lighter colors in the UMAP display Peter made. | |
NOTE: Pip install umap-learn not umap; the import method below fixes a bad install/umap issue. | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Binary tree - Level Order Traversal */ | |
#include<iostream> | |
#include<queue> | |
using namespace std; | |
struct Node { | |
char data; | |
Node *left; | |
Node *right; | |
}; |