Commit Graph

475 Commits (d25d32ed5f34e86b1f47de8a8194472badbfab64)

Author SHA1 Message Date
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
Herobs afa9436334
Add chat endpoint support (#244)
* add chat endpoint support

* supplement comment
1 year ago
Swastik Banerjee 3dde564948
fix iteration error (#208)
* fix iteration error

array iteration error: sentences up till max_len of token exceeds should be returned

* split list once instead of twice

split list once instead of twice and take parsed string up till max token length is exceeded
1 year ago
Ted Sanders feb53449e0
Merge pull request #250 from eltociear/patch-2
Fix typo in Embedding_long_inputs.ipynb
1 year ago
Ted Sanders a101157740 updates token counting function to work with gpt-4 1 year ago
Ikko Eltociear Ashimine 43d0ac230c
Fix typo in Embedding_long_inputs.ipynb
programatically -> programmatically
1 year ago
liuliu c7f3f31b2c docs: create a block to show how to export parameter to environment in terminal 1 year ago
liuliu 6faa0e16c9 fix: add space in block of python
1. !pip -> ! pip
1 year ago
liuliu dbb2c89539 fix: docker-compose up command
1. docker compose -> docker-compose
1 year ago
liuliu 662aefd480 docs: fix minor spelling issue 1 year ago
liuliu 9a8027d10b docs: create a block to show how to export parameter to environment in terminal 1 year ago
liuliu 0d55f254ea docs: create a block to show how to export parameter to environment in terminal 1 year ago
liuliu 5fac20f42c docs: highlight tool name and modify spell
1. highlight "Qdrant"
2. modify "REST" to "RESTful"
1 year ago
liuliu 8193d295b4 fix: remove unused package import
1. datetime is unused
1 year ago
liuliu afbf055b08 doc: highlight text and tool name
1. cannot: highlight to enhance the importance
2. Pinecone
1 year ago
liuliu 0421728133 docs: complete the missing symbol * that should be paired in pinecone/Gen_QA.ipynb 1 year ago
Ted Sanders 86c739bc46 fixes test/train bug 1 year ago
Ted Sanders 7b097669fe
Merge pull request #228 from MrZilinXiao/main
fix prompt list counter
1 year ago
Ted Sanders d87990fcbd
Merge pull request #227 from liuliuOD/fix/dalle
docs: update dalle example file
1 year ago
Ted Sanders 8c2d52eda4
Merge pull request #226 from liuliuOD/fix/fine-tuned_qa
fix: made some spelling and semantic adjustments
1 year ago
Ted Sanders d9c257c339
Merge pull request #192 from kacperlukawski/qdrant-in-docs
List Qdrant among the other vector databases
1 year ago
Zilin Xiao d2e343153c
fix prompt list counter 1 year ago
liuliu aa42182ae5 docs: update dalle/Image_generations_edits_and_variations_with_DALL-E.ipynb
1. add a terminal command sample about how to export OPENAI_API_KEY to environment
1 year ago
liuliu 23491928cc docs: correct the opposite meaning
1. "to increase the coherence of the text, and the frequency of breaks within the text." -> "to increase the coherence of the text, and decrease the frequency of breaks within the text."
1 year ago
liuliu e257a986cf docs: fix minor spelling issue
1. "to ensure that the examples from the traing set don't feature within the test set." -> "to ensure that the examples from the training set don't feature within the test set."
1 year ago
liuliu 869c745a3c Fix minor spelling issue
the examples from the traing set -> the examples from the training set
1 year ago
BasedLukas 5afbaf3140
Fix minor spelling issue
we check that he separator > we check that the separator
1 year ago
colin-openai c3b920f123
Merge pull request #202 from dandv/patch-1
Weaviate: update links, minor corrections
1 year ago
colin-openai fcc70e762c
Merge pull request #133 from filip-halt/milvus_merge
Adding Milvus vector db
1 year ago
Dan Dascalescu 1ceaa89f3a
Weaviate: update links, minor corrections 1 year ago
Logan Kilpatrick 0272e206f2
Merge pull request #194 from shizhediao/patch-1
Update Gen_QA.ipynb
1 year ago
shizhediao 35f765e218
Update Gen_QA.ipynb 1 year ago
Kacper Łukawski c8a8db7b94 List Qdrant among the other vector databases 1 year ago
ethanknights df79754e03 rm trailing cell 1 year ago
ethanknights f46e2c15b2 company typo 1 year ago
Logan Kilpatrick 38c84ede5f
Merge pull request #172 from eltociear/patch-1
fix typo in Gen_QA.ipynb
1 year ago
colin-openai bd03f796ee
Merge pull request #140 from kacperlukawski/qdrant-notebooks
Add Qdrant notebooks
1 year ago
Kacper Łukawski fa9fded505 Add custom prompt template example 1 year ago
Kacper Łukawski 98b639df22 Fix typos and increase langchain version to 0.0.100 1 year ago
Ted Sanders b92d7e7b92 updates streaming example for chat models 1 year ago
Ikko Eltociear Ashimine 916843f921
fix typo in Gen_QA.ipynb
recieve -> receive
1 year ago
Ted Sanders 8cd6b0f53b adds examples of counting tokens for the ChatGPT API 1 year ago
Ted Sanders 73a64ff7da
Ted/chat api (#163)
* adds example for calling ChatGPT API

* updates table of contents with ChatGPT API
1 year ago
colin-openai 6be0de50e5 Switching character chunking out for token-based chunking 1 year ago
colin-openai 7139df95c3 Pushing updated version with grammar changes 1 year ago
colin-openai 2131c770ea Notebook demonstrating approach to extracting entities from a long document 1 year ago
Kacper Łukawski c1f11dc8f7 Remove the output of pip install command 1 year ago
Kacper Łukawski cfdda833fd Add an example of how to use Langchain with Qdrant and OpenAI embeddings 1 year ago
Kacper Łukawski 878dd10d5c Add "Getting started" notebook for Qdrant 1 year ago
Kacper Łukawski d3da832448 Update Qdrant to 1.0.1 1 year ago
Filip Haltmayer 7198d48994 Add Milvus vector db
Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
1 year ago
colin-openai 9b17d00cab
Merge pull request #131 from Spartee/add-redis-example
Add Redis example notebooks and READMEs
1 year ago
Sam Partee d0dfca2b95 Add docker-compose and cleanup 1 year ago
Sam Partee 36cf06fc0a Add Redis example notebooks and READMEs 1 year ago
Ted Sanders 6b7e5f6695
updates docker link to docker.com (#129) 1 year ago
colin-openai 264bcb03dd
Merging Weaviate notebooks to main (#122)
* updates Weaviate vector database Cookbook examples
1 year ago
Ted Sanders 5b5f228121
Merge pull request #100 from scottire/main
Add W&B embedding projector example
1 year ago
Scott Condron f4c865cfef
Removing top from blurb 1 year ago
Scott Condron 5e0c3f92d3 Add W&B Blurb 1 year ago
colin-openai c31fe72f1a
Merge pull request #121 from openai/colin
Fixed commented out vector
1 year ago
colin-openai df570ceb4d Fixed commented out vector 1 year ago
jamescalam 7c43d6ab1a added pinecone-openai gen qa example 1 year ago
Ted Sanders fa3a64a3b8
Merge pull request #117 from Tobel158/patch-1
Update Question_answering_using_embeddings.ipynb
1 year ago
Tobel 1b9efd7726
Update Question_answering_using_embeddings.ipynb
remove typo
1 year ago
Filipe de Avila Belbute Peres d339859248 Fix weighted average 1 year ago
Ted Sanders 9f4bb5260a
Merge pull request #105 from wa11breaker/main
docs: fix example code in fine-tuned_qa section 2.3
1 year ago
Ted Sanders ac71280d5c
Merge pull request #95 from akshayvkt/patch-1
Updated a markdown in Clustering.ipynb
1 year ago
Ted Sanders 0acccd2ad4
Merge pull request #92 from Androbin/patch-1
Encode separator for completions endpoint
1 year ago
Ted Sanders 5ef1523014
Merge pull request #56 from openai/colin
Initial commit of vector database example with new embeddings
1 year ago
colin-openai 3ad0e718cb Pushing update to remove data loading 1 year ago
Akshay e894ddf315 docs: fix example code in fine-tuned_qa section 2.3 1 year ago
Scott e2106af5db Add W&B embedding projector example 1 year ago
colin-openai befe771b2c Updated to align wording 1 year ago
Akshay Chintalapati 5811e634a0
Update Clustering.ipynb
Updated the penultimate markdown to align with the code in the following cell
1 year ago
Robin Richtsfeld b34607ddb7
Encode separator for completions endpoint
`SEPARATOR` is being used to construct a prompt for use with the completions endpoint
1 year ago
Ted Sanders e3450242b2 updates model name in text description of Q&A notebook 1 year ago
colin-openai a37477f9bc Tested notebook end to end 1 year ago
colin-openai ea8a52d00b Updated text to include Qdrant in guide 1 year ago
Bryan Ricker c51a573f0d
fix typo 1 year ago
Ted Sanders ea6b4f1dd6 updates streaming guide with note about usage field 1 year ago
Ted Sanders 35aa675aef updates rate limit notebook with links to parallel processing script 1 year ago
Ted Sanders 23acf80aaf adds parallel processing script 1 year ago
Ted Sanders c9df23f7d0
Merge pull request #77 from Pankaj-Baranwal/patch-1
Replaced non-existent model with the new version.
1 year ago
Filipe de Avila Belbute Peres 2e59263390 Convert back to list only after all np operations 1 year ago
Ted Sanders d1165a7757 normalizes averaged embeddings to length 1 1 year ago
Ted Sanders 14262d47e8 polishes text and re-runs notebook 1 year ago
Filipe de Avila Belbute Peres ee69beb8cd Print len instead of full array 1 year ago
Filipe de Avila Belbute Peres f3289404b2 Wrap error message to avoid saving all the trace to the notebook 1 year ago
Filipe de Avila Belbute Peres ec564da44d Change len_safe function signature + other changes 1 year ago
Filipe de Avila Belbute Peres f259e82ab6 Rename file 1 year ago
Filipe de Avila Belbute Peres 85032e0831 Finish first draft 1 year ago
Kacper Łukawski 5ee5fecb76 Add Qdrant as another example of vector database 1 year ago
Filipe de Avila Belbute Peres cc6df3a8c3 Write initial draft 1 year ago
Ted Sanders 5050739cf1 adds tiktoken example 1 year ago
Colin Jarvis 225b9177c8 Updated wordings of headers 1 year ago
Colin Jarvis a367e11e39 Updated title 1 year ago
Colin Jarvis f20f6acfd1 Updated document name to be more descriptive 1 year ago
Colin Jarvis 80b8e5fc3f Pushing updated version responding to PR comments 1 year ago
Pankaj fdc0f42847
Replaced non-existent model with the new version.
davinci-instruct-beta-v2 model doesn't exist anymore.
It has been replaced by davinci-instruct-beta-v3
1 year ago
Ted Sanders 4adea8e4e2
Merge pull request #50 from cmurtz-msft/azure-openai-ga
Azure OpenAI GA
1 year ago
Ted Sanders df2758ac2e updates Q&A example with latest embedding and completion models 1 year ago
Colin Jarvis fb18b7f6c2 Added notes where users can consider adding thread pool to speed up upsert operation 1 year ago
Colin Jarvis 21ca5a9555 Removed extra whitespace within Weaviate query function 1 year ago
Colin Jarvis f2567b62a5 Pushing updated Vector DB introduction notebook with PR changes 1 year ago
Ted Sanders 49fca3f32e updates # of dimensions in embedding visualization examples 1 year ago
Ted Sanders 8b547fdb83 updates embedding examples based on ada-002 1 year ago
Colin Jarvis 73802cb7e1 Merge branch 'main' into colin 1 year ago
Shyamal H Anadkat 502429c7c8
Merge pull request #46 from scottleibrand/patch-1
Only get_embedding once
1 year ago
Shyamal H Anadkat c6fc1f2b2a
Merge pull request #54 from oaosman84/patch-1
Remove obsolete reference to old embedding engines
1 year ago
gloryjain 40e3a10417
Update notebook to point to form
Route rate limit increase requests to form instead of our support email
2 years ago
Colin Jarvis b7cb21689a Initial commit of vector database example with new embeddings 2 years ago
Osman A. Osman b2d9cd13d4
Remove obsolete reference to old embedding engines 2 years ago
Scott Leibrand ae45a48de3
Only get_embedding once
fd181ec78f updated what was previously two different get_embedding() calls w/ different models to be two identical calls. Rather than doing the same API call twice in a row, we can now just set the second variable to be equal to the first one.
2 years ago
Christian Muertz 934f4d863b Update ad auth section 2 years ago
Christian Muertz 0bd2dcfa5c Fix setup sections 2 years ago
Christian Muertz 9b3fd89a26 Fix typo 2 years ago
Christian Muertz 3708c28834 Adjust finetuning setup section 2 years ago
Christian Muertz ca628a18be Add ad auth to embeddings example 2 years ago
Christian Muertz 53a9891133 Fix completions notebook 2 years ago
Christian Muertz 7ce4de8467 Update metadata of azure notebooks 2 years ago
Christian Muertz 3eee35e24f Simple example just for completions with davinci 2 years ago
Christian Muertz 918c497ecd Fix finetuning example 2 years ago
Christian Muertz 7165609030 Update embeddings notebook
* Update api_version to 2022-12-01
* Fix some texts
2 years ago
Logan Kilpatrick fd181ec78f updates embedding examples with new embedding model 2 years ago
Arun Chandrasekhar 3c334e70dd
Added .default scope to URI to get token using DefaultAzureCredential
Fixing issue encountered when using this in some contexts (like virtual environments in notebooks).
2 years ago
Ted Sanders e00797e3e5 adds unit test example 2 years ago
Stanislav Termosa 1a8111e0ef
Update olympics-1-collect-data.ipynb
Fix typo with duplicated "the the"
2 years ago
Ted Sanders 1f62a62102 updates DALL-E API example 2 years ago
Ted Sanders d932a36398 fixes two broken links to embedding guide 2 years ago
Boris Power fe60d7f2af
Merge pull request #26 from colin-jarvis/main
Adding transaction classification notebooks
2 years ago
Colin Jarvis 0ad407b75a Removed helpers 2 years ago
Colin Jarvis d968557408 Merge branch 'main' of https://github.com/colin-jarvis/openai-cookbook 2 years ago
Colin Jarvis 209c1a12e8 Resolved PR comments from Boris 2 years ago
Ted Sanders e383e243c2 fixes broken link to QA notebook 2 years ago
Ted Sanders 75aceae6b8 updates warning formatting to HTML to improve display on GitHub 2 years ago
Ted Sanders e3d7091d70 adds warning to QA example code 2 years ago
Ted Sanders 37e0136ce0 Revert "removes old Q&A example now that a better alternative exists"
This reverts commit 02295444f7.
2 years ago
Colin Jarvis 381070fa4e
Merge branch 'openai:main' into main 2 years ago
Colin Jarvis 401f7c7ef0 Added write-up to Clustering for transaction classification notebook 2 years ago
Colin Jarvis b01900d5d9 Initial commit of transaction classification notebooks 2 years ago
Ted Sanders 1b211d2a87 small updates to streaming example 2 years ago
Colin Jarvis 32596ae85b Removed line from notebook 2 years ago
Colin Jarvis c951d099b9 Removed images from folder 2 years ago
Colin Jarvis 89de43faf4 Fixed Edits endpoint by applying new masking approach 2 years ago
Colin Jarvis 139af20193 Added Generations and Variations endpoint examples for DALL-E API. Edits endpoint example is included but is WIP, getting an error currently 2 years ago
Sorin Suciu 71cc3f4a9b Change scale_type in the create deployment examples 2 years ago
Ted Sanders 02295444f7 removes old Q&A example now that a better alternative exists 2 years ago
Ted Sanders 853264fc55 adds guide for how to handle rate limits 2 years ago
Ted Sanders bff53e71ed adds streaming example 2 years ago
Boris Power b40d006c7a update search example 2 years ago
Ted Sanders 4195d712cc updates azure examples 2 years ago
Ted Sanders edb02b8bc9 migrates Azure examples from openai-python library 2 years ago
Ted Sanders d987d2329a adds prefiltered data and precomputed embeddings to Customizing_embeddings.ipynb 2 years ago
Ted Sanders 65d0925e59 adds precomputing embeddings, changes engine name to match, fixes typo 2 years ago
Ted Sanders 2dc64b1567 adds data download from CDN with precomputed embeddings 2 years ago
Ted Sanders efa71942c6 moves dbpedia embeddings to data folder 2 years ago
Ted Sanders 04f7e93c62 adds warning about needing to compute file with embeddings 2 years ago
Ted Sanders bd061ad2d4 adds data download from CDN with precomputed embeddings 2 years ago
Ted Sanders 350b9a7333 adds data download from CDN with precomputed embeddings 2 years ago
Ted Sanders 6eae26d5cc adds link to full dataset from AG 2 years ago
Ted Sanders 7dfdb9aa05 lint 2 years ago
Ted Sanders b77e9b34e8 clarifies name of Classification example using embeddings 2 years ago
Ted Sanders cfe03038bd lint 2 years ago
Ted Sanders 8b2d68f031 adds precomputed embeddings 2 years ago
Ted Sanders 2515ddc7b8 adds data for Obtain_dataset.ipynb 2 years ago
Ted Sanders 25d641d21f renames context_embeddings to document_embeddings 2 years ago
Mike Heaton ac406fc126
Update Question_answering_using_embeddings.ipynb 2 years ago
Mike Heaton 7ffa01aeb2 minor renaming 2 years ago
Mike Heaton 711f87d6a3 question answering using embeddings 2 years ago
Mike Heaton 2d2569f4fd draft 2 years ago
Boris Power 535f545be7 Initial commit 2 years ago