Commit Graph

420 Commits (ilan/assistants_api_overview)

Author SHA1 Message Date
Sebastian Witalec 3bd18cc07d
fix markdown typo on a link (#591) 12 months ago
Alex Dhillon 9dad13d05b
simplify pretty print (#575) 12 months ago
Yoav Farhi 5c1d46ade7
Update the actual number of results used in generating the final answer (#587)
The comment mentions 20, but it actually uses 5
12 months ago
Moiz Sajid e4c4d3baa9
Updated README.md in examples/vector_databases (#581)
Added the links to the missing vector databases
12 months ago
Ikko Eltociear Ashimine e983502569
Fix typo in QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb (#582)
futher -> further
12 months ago
Jason M cd62830788
Update How_to_call_functions_with_chat_models.ipynb (#545)
Updates "min" parameter to "multiplier". Should run the same.
12 months ago
liuchengshan-lcs 238ff54fce
Add getting started with PolarDB vector database and OpenAI example. (#489) 12 months ago
Douglas Blank 6d0ffe31a9
Added notebook example for visualizing embeddings in Kangas (#469)
* Added notebook example for visualizing embeddings in Kangas

Plots UMAP projection space, one per row, in open source Kangas DataGrid.

For more information about Kangas, see: https://github.com/comet-ml/kangas

* Moved notebook to third_party_examples
12 months ago
Eli bd91363afa
Enhancements and Refactoring of Python Code Extraction Methods (#467)
* Refactor and enhance code extraction methods.

* Use f-strings to print filepaths, improving readability.
12 months ago
Ted Sanders 17858f204f
fixes token counting in translate_latex_book.ipynb (#579)
* fixes token counting in translate_latex_book.ipynb

* adds back comment
12 months ago
sun zhun 950246dd08
Update How_to_handle_rate_limits.ipynb (#554)
Replace deprecated model "code-cushman-001" with "gpt-3.5-turbo".
1 year ago
Kacper Łukawski 3ce532c03c
Refactor Qdrant notebooks (#556)
* Upgrade Qdrant to 1.3.0

* Adapt the descriptions and run the missing cells
1 year ago
colin-openai bad59002d1
Splitting Vector Databases into individual cookbooks (#529)
* Initial commit of vector database cookbooks split out individually

* Moved notebooks to each provider's named folder and updated the README

* Removed vector DB overall cookbook in favour of individual directories
1 year ago
colin-openai f53a22e29f
Initial commit of reranking with cross-encoder cookbook (#483)
* Initial commit of reranking with cross-encoder cookbook

* Added logit bias for Yes and No in this case

* Reran end-to-end

* Updated based on Ted's comments

* Rerun with Ted's comments
1 year ago
Filip Haltmayer f4c67dff3c
update to token for zilliz (#552)
Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
1 year ago
prestontuggle 3170356cc2
Adds Whisper Prompting Guide (#551) 1 year ago
Elmira Ghorbani 28fef26cc9
create/check data dir for arxiv's papers (#531) 1 year ago
Michael Yuan 6798e1ca3a
Fix wget download updated parameters (#538) 1 year ago
Ted Sanders de3bd58434
Ted/update token counting 0613 (#541)
* updates tiktoken counting function

* slight rewording

* updates ChatGPT guide with new models
1 year ago
Avery Khoo 26978e9ed1
Update How_to_count_tokens_with_tiktoken.ipynb (#511)
Add support for gpt-3.5-*-0613 models
1 year ago
Stéphane G b587f9b3d5
Fix typo in Question_answering_using_a_search_API.ipynb (#539)
"This answer which will be used to..." --> "This answer will be used to..."
1 year ago
Simon Suo 411068e736
Add example notebook for financial document analysis with LlamaIndex (#481)
* add notebook

* add pypdf install

* move
1 year ago
Matthew 90ef0f25e5
fixed typo (#523) 1 year ago
Simón Posada Fishman a0e7352649
Merge pull request #519 from openai/simon/search_aug
Add search augmentation notebook
1 year ago
simonpfish af7239bfda rename image file 1 year ago
simonpfish 90863fe6d5 dummy key naming 1 year ago
simonpfish c1946c66b7 deduplicate search results 1 year ago
Ted Sanders 38c5742ce6 renames dummy key 1 year ago
Ted Sanders 953c57af01 cleaned up notebook 1 year ago
Ted Sanders 3b37ded49c change embedding dimensions 1 year ago
Ted Sanders 6d7954806a polishes text 1 year ago
Ted Sanders 6d7f52fee5 removes extra period from et al. 1 year ago
Ted Sanders 8058562b75 changes search date to June 2023 1 year ago
Ted Sanders 9fabb7fa9f joins run-on sentence 1 year ago
Ted Sanders 224d845c0f adds missing apostrophe 1 year ago
Ted Sanders 08d2cd6732 cuts trailing spaces 1 year ago
Ted Sanders 3e997b3214 adds comment for openai package 1 year ago
Ted Sanders a7d746a7f9 adds periods to list to be consistent with others 1 year ago
Ted Sanders 37746ff3ca rewrites intro points to be more consistent with one another 1 year ago
Ted Sanders 02833d22bb be -> feel 1 year ago
Ted Sanders 9ada754100 changes web URL to relative link 1 year ago
Ted Sanders d6bb1fb146 the model -> GPT 1 year ago
Ted Sanders 842e71ef3a the -> an 1 year ago
Ted Sanders dafd562811 makes title formatting consistent with other examples 1 year ago
Ted Sanders cb0da816f9 fixes link and removes empty cell 1 year ago
colin-openai 71a2414134
Merge pull request #417 from michaelskyuan/main
Add notebook with Redis hybrid VSS queries examples
1 year ago
simonpfish 8af8005866 address feedback 1 year ago
simonpfish 2a77e0d118 add search augmentation notebook 1 year ago
Ted Sanders 31a3a7b406
Ted/remove eval from function calling examples (#518)
* replaces eval with json.loads for better code safety

* fixes link to be relative, not URL
1 year ago
joe-at-openai 659c42e6f1 fix finish_reason 1 year ago
joe-at-openai a8e28c2f7f integrate improvements to original function calling notebook + factor out arxiv example into new notebook 1 year ago
colin-openai 60b12dfad1
Merge pull request #498 from pycui/pcui/fix-ask-db-func-spec
Fix ask_database in call functions with chat model example
1 year ago
joe-at-openai 41a5d394ca
Merge pull request #499 from openai/joe/remove-incorrect-model-name
fix incorrect model name
1 year ago
joe-at-openai 9943947cd9 fix incorrect model name 1 year ago
Piaoyang Cui 9079129d7b Fix ask_database in call functions with chat model example 1 year ago
Atty Eleti 817546f0d7
Fix `finish_reason` in function calling cookbook 1 year ago
Logan Kilpatrick 0084f4ce6b
Rename How_to_call_functions_with_Chat_models.ipynb to How_to_call_functions_with_chat_models.ipynb 1 year ago
colin-openai c5a7f7835d
Rename How_to_call_functions_with_chat_models.ipynb to How_to_call_functions_with_Chat_models.ipynb
Renaming file
1 year ago
Colin Jarvis f920c5f65f Removed papers 1 year ago
Colin Jarvis d9677ebb89 Merge branch 'function_calls' of https://github.com/openai/openai-cookbook into function_calls 1 year ago
Colin Jarvis 26b0c47d5c Fixed a couple small bugs in functions notebook 1 year ago
Ted Sanders 9ccb2a994f tool -> function in a few places 1 year ago
Ted Sanders 280f6ef03e fixes function name 1 year ago
Colin Jarvis f780772dc8 Commit of function calling notebook 1 year ago
Gerardo Lecaros 05cf8703ec
Adding cookbook for using DALL-E from Azure OpenAI (#491)
* Add dalle notebook

* Fix

* Some small adjustments

* Smaller adjustments

* change flow of the notebook

* feedback

* more

* readme

* fixing typo

---------

Co-authored-by: Christian Mürtz <t-cmurtz@microsoft.com>
1 year ago
Michael Yuan 32cddbef25 implemented batcher for openai embeddings 1 year ago
Domenico Manna a4c088d966 Add ability to store row-level metadata
This metadata field allows non API parameters to be stored which could
be useful for when the results need to be associated with an external
source. For example, if the user has several rows of text data within a
database, and they want to calculate embeddings for each row, they can
now use the metadata field to save the row id so that when they parse
the results back, they know which embedding corresponds to which
database row.
1 year ago
isabelaconstantin c71d7adc97
Fix mutable default argument in APIRequest class 1 year ago
Krista Pratico 33dc207afb
[Azure] add example snippet on how to refresh AAD tokens (#435)
* add how to refresh aad tokens example

* remove accidental config
1 year ago
Gerardo Lecaros 828a6c586e
Updating azure samples to point to the latest API version (#425)
* Updating to use api version 2023-05-15

* Removing authoring references from azure samples as it is not yet present.
1 year ago
Ted Sanders 610f730144
Merge pull request #411 from anshulsharmas/main
Added kusto vector database sample
1 year ago
arno756 83ba1e6f49
Adding SingleStoreDB as a vector database with Python notebook (#402)
* SingleStoreDB folder

* Readme

* Readme with notebook

* S2DB notebook

* Update README.md

* Delete OpenAI_wikipedia semantic_search.ipynb

* Add files via upload

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
1 year ago
Sebastian Witalec 6d77a1b93e
Add Generative Search to Weaviate examples + fix authentication examples (#398)
* add Weaviate authentication to client configuration

* add a cookbook for generative search

* fix name
1 year ago
Ted Sanders 88c24e4289
Merge pull request #437 from openai/ted/update-unit-testing-example
updates unit test writing example to use gpt-3.5-turbo
1 year ago
Ted Sanders f71e6a96a1 updates unit test writing example to use gpt-3.5-turbo 1 year ago
colin-openai 925dd22eea
Initial commit of DALL-E and Segment Anything notebook (#406)
* Initial commit of DALL-E and Segment Anything notebook

* Add example images and changed wording of the notebook

* Updated comments and added base images

* minor text amendments

* fix typo

* makes bullets more consistent

* converts title DALLE to DALL·E

* converts DALL-E to DALL·E

* update original DALL-E notebook title

* makes time of writing explicit

* makes intro bullets more consistent

* clarifies which version of Pytorch is appropriate

* moves setup instructions into setup section (to help clarify that they do not need to be done separately from the notebook)

* explains size of model checkpoint file

* code linting

* added more background info in the introduction for folks unfamiliar with segment anything

* adds period to sentence

* updates table of contents with new DALL·E guide

---------

Co-authored-by: Ted Sanders <ted@openai.com>
1 year ago
Changgeng Zhao 1000312934
Add Hologres as a vector database with python notebook example (#404)
Co-authored-by: 长更 <zhaochanggeng.zcg@alibaba-inc.com>
1 year ago
Ted Sanders b90f835fbe
Merge pull request #424 from jamescalam/gpt-4-example-fix
added data creation loop
1 year ago
Ted Sanders 40c39a28a9
Merge pull request #423 from eltociear/patch-4
docs: fix typo in QA_with_Langchain_Qdrant_and_OpenAI.ipynb
1 year ago
Michael Yuan 47046a1c86 Changes and additions in response to PR comments 1 year ago
Michael Yuan ea124a2db3 Changes and additions in response to PR comments 1 year ago
Michael Yuan f6b67799e9 Changes and additions in response to PR comments 1 year ago
James Briggs 1dd1c0ef33 added data creation loop 1 year ago
colin-openai edfbae1571
Merge pull request #415 from joeywhelan/feature-redisqna
Add Redis Q&A example
1 year ago
colin-openai 1eed317bbe
Merge pull request #408 from joeywhelan/feature-redisjson
Add Redis JSON w/VSS examples
1 year ago
Ikko Eltociear Ashimine cd42418444
docs: fix typo in QA_with_Langchain_Qdrant_and_OpenAI.ipynb
futher -> further
1 year ago
joeywhelan 77276df2b0 Fix redisqna 1 year ago
joeywhelan f69e8a4ace Fix redisjson 1 year ago
Ted Sanders 24782325d2
Merge pull request #374 from wangxuqi/analyticdb_langchain_example
Add QA with Langchain of AnalyticDB  vector store and OpenAI example.
1 year ago
Michael Yuan 95747294f5 Redis hybrid VSS queries notebook 1 year ago
joeywhelan b3ef4e3ad3 Add Redis Q&A example 1 year ago
Anshul Sharma 7634abf68d kusto vector sample added 1 year ago
joeywhelan d505735974 Add Redis JSON w/VSS examples 1 year ago
Ted Sanders c14432efe7 fixes grammar 1 year ago
xuqi.wxq d12cb6c43b Add QA with Langchain of AnalyticDB vector store and OpenAI example. 1 year ago
Ted Sanders 594fc6c952
Merge pull request #391 from joeywhelan/fix-redisclients
Fix Redis supported client list
1 year ago
aiqinxuancai 23bd266fef
Update How_to_count_tokens_with_tiktoken.ipynb (#368)
* Update How_to_count_tokens_with_tiktoken.ipynb

add c# tiktoken lib.

* Update How_to_count_tokens_with_tiktoken.ipynb

fix format.

* Update How_to_count_tokens_with_tiktoken.ipynb

fix format.
1 year ago
Ted Sanders b59f105ed1 polishes wording in a few places 1 year ago
joeywhelan 403b15893c Fix Redis supported client list 1 year ago
colin-openai 21d1834e5f
Merge pull request #390 from acatav/agent_with_langchain_pinecone_docs
[Pinecone]: Add link for creating Pinecone API key and environment variable to pinecone init
1 year ago
Amnon Catav 7164818de5 add links to pinecone and add env var to index 1 year ago
liuliu abdb53c9b1
fix: some typo and add execution command sample (#299)
* fix: some typo and add execution command sample

* fix: some typo and add execution command sample

1. hybrid-search-with-weaviate-and-openai.ipynb

* fix: some typo and add execution command sample

1. question-answering-with-weaviate-and-openai.ipynb
1 year ago
colin-openai 021604a0fb
Merge pull request #356 from openai/conversational_agent_with_tools
Merge conversational LLM with tools example using LangChain
1 year ago
Colin Jarvis e9d1a94e4c Made further wording changes 1 year ago
Colin Jarvis 97319dd69a Fixing merge issues 1 year ago
Colin Jarvis 257d0cd9e1 Fixing merge conflicts 1 year ago
Colin Jarvis 2e333c9423 Pushing renamed notebook with changed wording based on Ted's comments 1 year ago
Ted Sanders 8b049378cd
Merge pull request #361 from eltociear/patch-3
Update Getting_started_with_AnalyticDB_and_OpenAI.ipynb
1 year ago
qingdi 7fcba408f1
🌟 MyScale VectorStore Support (#377)
* add myscale notebook

* add myscale to vector database notebook
1 year ago
Ted Sanders 7ee1c6c0d1
Merge pull request #369 from wey-gu/patch-1
chore: fixed broken URL in markdown
1 year ago
jiangying 4d59bafe25
add jtokkit to How_to_count_tokens_with_tiktoken.ipynb 1 year ago
Wey Gu f8bf577df9
chore: fixed broken URL in markdown 1 year ago
Ted Sanders 54246459bd removes old references to query and doc models 1 year ago
Ted Sanders 793384ff3b
Merge pull request #336 from Hannibal046/patch-2
Fix bugs at api_request_parallel_processor.py
1 year ago
Ikko Eltociear Ashimine 0565b90ddc
Update Getting_started_with_AnalyticDB_and_OpenAI.ipynb
PostgresSQL -> PostgreSQL
1 year ago
joe-at-openai 2b6f6392b1 More updates to preamble and code comments 1 year ago
joe-at-openai 2965304e35 Update preamble and code comments 1 year ago
Alice Chen a8add5b4c6
[Fix] Typo and grammar fix in Question_answering_using_embeddings.ipynb 1 year ago
Colin Jarvis d8e5160ce5 Added wget URL for zipped podcasts 1 year ago
Colin Jarvis 19aefa9002 Initial commit of conversational agent with TODO remaining 1 year ago
Eugene Yan 4f67e0cf43
Update the section token count from 1,000 to 1,600
This resolves the mismatch between the values in markdown cell and code cell.
1 year ago
Ted Sanders 53a34ea1cc updates example command to be consistent with text 1 year ago
Ted Sanders 091e8e8579 updates README table of contents 1 year ago
Ted Sanders 3e854a3e82
Merge pull request #344 from openai/ted/update-qa-example
updates Q&A example to use gpt-3.5-turbo
1 year ago
Ted Sanders df88ad86d4 updates Q&A example to use gpt-3.5-turbo 1 year ago
Logan Kilpatrick 028b51f188
Merge pull request #341 from jasonbosco/add-typesense-readme
Add README for Typesense
1 year ago
colin-openai 9012742f38
Merge pull request #238 from liuliuOD/fix/vector_databases
fix: about spelling and command
1 year ago
Jason Bosco a98f0d27d7 Add README for Typesense 1 year ago
Hannibal046 ab0f7c1bd5
Update api_request_parallel_processor.py
fixed bug for non-serializable Error
1 year ago
Ted Sanders b658e8d1cc
Merge pull request #325 from bricker/patch-1
Typo fix in Multiclass_classification_for_transactions.ipynb
1 year ago
James Briggs b71a70a435 update wget to new langchain docs url 1 year ago
Bryan Ricker 32faca403c
Typo fix in Multiclass_classification_for_transactions.ipynb 1 year ago
Ted Sanders 4c31db4987
Merge pull request #321 from wangxuqi/add_analyticdb_vector_database_example
Add getting started with AnalyticDB distributed vector database example
1 year ago
xuqi.wxq 94acedc6ba Add getting started with AnalyticDB distributed vector database and OpenAI example. 1 year ago
Anton Troynikov 1deea48511
Add Chroma to Vector Database examples (#262)
* Vector store notebook

* HyDE with Chroma

* Cleaner text

* add swyx edits

* Cleaned up text / outputs

* Spelling nits

* Fixed comment format

---------

Co-authored-by: swyx <shawnthe1@gmail.com>
1 year ago
liuliu f15616cb20 fix: typo, grammar and link
1. examples/.../zilliz/Getting_started_with_Zilliz_and_OpenAI.ipynb
1 year ago
liuliu 8983cf7df7 fix: typo and grammar
1. examples/.../zilliz/Filtered_search_with_Zilliz_and_OpenAI.ipynb
1 year ago
liuliu be64945407 revert: spelling adjustment in examples/
1. a -> an in getting-started-with-redis-and-openai.ipynb
1 year ago
Andriy Mulyar 1c05442070
Visualizing Embeddings with Atlas (#152)
* Embedding visualization in Atlas

* Updated Atlas Visualization Example

* Atlas for Embedding Visualization: removed extra outputs

* Rename Atlas_for_visualizing_embeddings.ipynb to Visualizing_embeddings_with_Atlas.ipynb
1 year ago
Jason Bosco da19a7e3eb
Add Typesense example to vector databases (#277)
* Add Typesense example to vector databases

* Fix typo

* Add to intro section
1 year ago
Filip Haltmayer 5c94ed3b9e
Zilliz integration and Milvus bugfixes (#259)
* integrating zilliz and fixing milvus bugs

Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>

* Adding Milvus and Zilliz notebooks

Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>

* cleaned outputs of shared notebook

Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>

---------

Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
1 year ago
Christian Mürtz b2d2b57a34
[Azure] Chat completions example (#271)
* Added notebook for chat completions on Azure

* Added pointer from README
1 year ago
Ted Sanders 2eb3cc1fd5
Merge pull request #280 from jamescalam/pinecone-updates
Pinecone updates
1 year ago
dmitry-brazhenko be1f1187bd added sharptoken as exampel 1 year ago
Ted Sanders 7622aa1d20 updates description of token counting function 1 year ago
James Briggs 8b397868f3 added new notebooks 1 year ago
Ted Sanders d972e7482e updates chat guide with gpt-4 and updates token counting function 1 year ago
Ted Sanders b45d2b2346 updates token counting guide 1 year ago
James Briggs 8ef3729998 add colab link 1 year ago
James Briggs f71d2d23aa add pinecone readme 1 year ago