-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update cache files for using_autogen_with_motleycrew_ipynb integratio…
…n test
- Loading branch information
User
committed
Jun 14, 2024
1 parent
58ea5b7
commit b1b45d7
Showing
43 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# filename: fetch_latest_gpt4_paper.py | ||
import requests | ||
from datetime import datetime | ||
|
||
def fetch_latest_paper(): | ||
# Define the API endpoint | ||
url = "http://export.arxiv.org/api/query" | ||
|
||
# Set the search parameters to find papers related to GPT-4 | ||
params = { | ||
"search_query": "all:GPT-4", | ||
"sortBy": "submittedDate", | ||
"sortOrder": "descending", | ||
"max_results": 1 | ||
} | ||
|
||
# Send a GET request to the API | ||
response = requests.get(url, params=params) | ||
|
||
if response.status_code == 200: | ||
# Parse the response XML | ||
from xml.etree import ElementTree as ET | ||
root = ET.fromstring(response.content) | ||
|
||
# Navigate to the entry element | ||
entry = root.find('{http://www.w3.org/2005/Atom}entry') | ||
if entry is not None: | ||
# Extract title and summary (abstract) | ||
title = entry.find('{http://www.w3.org/2005/Atom}title').text | ||
summary = entry.find('{http://www.w3.org/2005/Atom}summary').text | ||
published_date = entry.find('{http://www.w3.org/2005/Atom}published').text | ||
|
||
# Convert published date to a readable format | ||
published_datetime = datetime.strptime(published_date, '%Y-%m-%dT%H:%M:%SZ') | ||
|
||
print("Title:", title) | ||
print("Published Date:", published_datetime.strftime('%Y-%m-%d')) | ||
print("Abstract:", summary.strip()) | ||
else: | ||
print("No GPT-4 papers found.") | ||
else: | ||
print("Failed to fetch data from arXiv. Status code:", response.status_code) | ||
|
||
fetch_latest_paper() |
Binary file added
BIN
+5.58 KB
.../v1_chat_completions/03c2ee70c37b279ef88ecebd9c7f5a2171c8b6950f658ccdd4384db7e50ef444.pkl
Binary file not shown.
Binary file modified
BIN
+5.76 KB
(120%)
.../v1_chat_completions/09a763ab1b61a2d4b9e792d0bb4efbd47a48a3e2f5288528039edb8e1d5297e4.pkl
Binary file not shown.
Binary file added
BIN
+13.5 KB
.../v1_chat_completions/0e189a247addf749408f70a6505cbfbbf35fa94608c05c275796604d20ce7aea.pkl
Binary file not shown.
Binary file removed
BIN
-9.62 KB
.../v1_chat_completions/1343f8a5f538eea90f9da9b959b0bc1ad810a5e279472939e3cfc71f9e3c0be4.pkl
Binary file not shown.
Binary file removed
BIN
-11.2 KB
.../v1_chat_completions/20f50045111ca8433995c299f0be42bde7847275aa0ad35c18b79981a360eea9.pkl
Binary file not shown.
Binary file removed
BIN
-3.75 KB
.../v1_chat_completions/21a7bbf2b3727366c5d81f241469d5fa608dcb6b0ca143c3e2d9117b86aebe0b.pkl
Binary file not shown.
Binary file removed
BIN
-5.34 KB
.../v1_chat_completions/2a4301bed5475201fb73dbe2e6ceb5052f001891298a7f23bc5634d37ef1e4fc.pkl
Binary file not shown.
Binary file removed
BIN
-10.5 KB
.../v1_chat_completions/2ca64588ff5dd11c956fe0be21a4bfb5d6e7f52bd32b5a99cb447138f100f2e8.pkl
Binary file not shown.
Binary file removed
BIN
-109 KB
.../v1_chat_completions/354020a0b2f033fe638da266d8d006092ffd5683cec03b79ba8308372bad78fc.pkl
Binary file not shown.
Binary file removed
BIN
-10 KB
.../v1_chat_completions/36eb94ad998d30f14728f0f9934995c361e544b1aff56a0d9bfb1e648ad1daac.pkl
Binary file not shown.
Binary file added
BIN
+6.53 KB
.../v1_chat_completions/433d2e5d4a8650d3a2fcb419c70b311015fdd0d48c79604e8d22653484b60827.pkl
Binary file not shown.
Binary file renamed
BIN
+1.95 KB
...9028d4491d0597e1ce700b584d0a209c5a094.pkl → ...0a2ba5ebf9eab42ce73c370f830ca1f57854e.pkl
Binary file not shown.
Binary file added
BIN
+13.5 KB
.../v1_chat_completions/4974a421d775b6c07c4772eab14cd343ff0f359ec96279102c020a83082a37b1.pkl
Binary file not shown.
Binary file removed
BIN
-2.1 KB
.../v1_chat_completions/4a579a07cf65c937dca09fb7a292e8eb9226e1bce917ff9e449c961ce80a37e8.pkl
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../v1_chat_completions/4e3631037d58520ad9376f7c257a1128fbef11baa7fdb0ac67cff84eef941f07.pkl
Binary file not shown.
Binary file removed
BIN
-2 KB
.../v1_chat_completions/51cc92b420941935071e0f42c753272efc29613dc7efcd35744996f13025b757.pkl
Binary file not shown.
Binary file added
BIN
+12.2 KB
.../v1_chat_completions/66ce2c56b77ef277a86351c33199dbcbbb7bb396df02fb904844800f0c78b298.pkl
Binary file not shown.
Binary file removed
BIN
-4.06 KB
.../v1_chat_completions/6fe067b5a743382ad84e606724a293e1fb0181f13601c429aeba0055c10bf47a.pkl
Binary file not shown.
Binary file removed
BIN
-2.06 KB
.../v1_chat_completions/7a73303c97a4874877130b88a29cd199ef813f7bb67b6aeaa57266a1eddd4314.pkl
Binary file not shown.
Binary file added
BIN
+4.26 KB
.../v1_chat_completions/7c9c7289f7c5aa94088b5aca7857f26e80e7e5875566d73e212af618eb2d1160.pkl
Binary file not shown.
Binary file added
BIN
+8.55 KB
.../v1_chat_completions/917d6aedd3a9a03058f8dab4a52119d3f90a611cc411dae649d0b558af4ecc88.pkl
Binary file not shown.
Binary file added
BIN
+113 KB
.../v1_chat_completions/944aa8c264cbe4f9803219931fedd20b19d22985449cf11918204c6809e4c739.pkl
Binary file not shown.
Binary file added
BIN
+7.83 KB
.../v1_chat_completions/9b1d118287e86b73144306b575a22b21f8a77efa60883aaf683d68743abdf492.pkl
Binary file not shown.
Binary file added
BIN
+6.37 KB
.../v1_chat_completions/9b7372626af807097e14e7dba248caa95974efde9a2f04e9b0c5f73c9b4930aa.pkl
Binary file not shown.
Binary file removed
BIN
-9.96 KB
.../v1_chat_completions/a1298f1d27e94bab539d3c920f8a6ac7d1801a45e2a825f50e9c4cc318a13934.pkl
Binary file not shown.
Binary file removed
BIN
-3.98 KB
.../v1_chat_completions/a672a69dec2bd56bb8e4473589d18cecf050e43cf409b2acae7cbb253d80a3d6.pkl
Binary file not shown.
Binary file renamed
BIN
+1.89 KB
...86dcab96c83aee8deae53bd1fe297a496f38f.pkl → ...64d254f7c2197633e976a8c0f1ae1c122898c.pkl
Binary file not shown.
Binary file removed
BIN
-6.24 KB
.../v1_chat_completions/b273660f7db52c6844a45507906701314377d6814aa6757a8b5e69922d988706.pkl
Binary file not shown.
Binary file added
BIN
+10.4 KB
.../v1_chat_completions/b3baf59466b101b5884407714597124acfb4cc25829fb0c11cc83ce84ded159d.pkl
Binary file not shown.
Binary file added
BIN
+4.5 KB
.../v1_chat_completions/ba6e041401f96964a8d869f26c9fa9bd13d0dbbd2b06c4d6c232599ad1b2a496.pkl
Binary file not shown.
Binary file added
BIN
+11.2 KB
.../v1_chat_completions/baf47b6ca77c1453e13701123a1b28f947cd674045937cff363d2c14639c7776.pkl
Binary file not shown.
Binary file removed
BIN
-108 KB
.../v1_chat_completions/d08298be494469b424a1d3f013c533bc2dcc87e099341e6a78f81cc76a8c0f65.pkl
Binary file not shown.
Binary file added
BIN
+114 KB
.../v1_chat_completions/e30217e25a9d8461af500bdbf7f460947e0181e10b4582527a46a7838561cf6d.pkl
Binary file not shown.
Binary file added
BIN
+3.66 KB
.../v1_chat_completions/e7801821379c6db5cd5110f8934cc5849183cd72363101b157f6874b6abe7eec.pkl
Binary file not shown.
Binary file removed
BIN
-8.87 KB
.../v1_chat_completions/f26a2d003b106ea80f3520fb7cdbd9f8d6241a030a2653bcb1d1d6a82a4f7a0b.pkl
Binary file not shown.
Binary file removed
BIN
-9.18 KB
.../v1_chat_completions/f2b330eb447660b095672d2712d22e59dd3c373c6c735808aa15ea227b519e5f.pkl
Binary file not shown.
Binary file removed
BIN
-5.07 KB
.../v1_chat_completions/f942806dc5bbf89e6cca71939fc67f80e1fce9dd4cf0b1c7f27542eea3a7af7e.pkl
Binary file not shown.
Binary file modified
BIN
+37 Bytes
(100%)
...ipynb/duckduckgo.com/09c46902b83e877017adf4c2055eb1e86106822691fdddc3eea7ef9cfe3facbc.pkl
Binary file not shown.
Binary file removed
BIN
-40.6 KB
....duckduckgo.com/d.js/d0f667c663a42297d127a826f30d465b51be31b1e2a78931e354ff38fe6f9dbd.pkl
Binary file not shown.
Binary file added
BIN
+40 KB
....duckduckgo.com/d.js/d5dc035c009286931a9232ede5ed25fe89123a9126c8707b02037d2df003d5f4.pkl
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
tests/itest_golden_data/using_autogen_with_motleycrew_ipynb.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"" | ||
"The first general-purpose digital computer was ENIAC (Electronic Numerical Integrator and Computer), which was built by the United States during World War II and completed in 1946. It could execute different instructions based on data values, marking a significant milestone in computing history.\n\nHowever, while ENIAC is often recognized as the first general-purpose digital computer, Charles Babbage, an English mathematician, invented the concept of a programmable computer in the early 19th century with his designs for the analytical engine. Although it was never completed, Babbage's Analytical Engine was intended to use punched cards to program calculations, an idea that was very advanced for its time and laid the groundwork for modern computing.\n\n" |