Commit Graph

236 Commits

Author SHA1 Message Date
Logan Kilpatrick
f31fae1e0b Merge pull request #172 from eltociear/patch-1
fix typo in Gen_QA.ipynb
2023-03-03 13:20:30 -06:00
colin-openai
39802a24f7 Merge pull request #140 from kacperlukawski/qdrant-notebooks
Add Qdrant notebooks
2023-03-03 08:55:27 -08:00
Kacper Łukawski
bfea84538a Add custom prompt template example 2023-03-03 17:50:23 +01:00
Kacper Łukawski
f0e64a72e6 Fix typos and increase langchain version to 0.0.100 2023-03-03 16:19:51 +01:00
Ted Sanders
75166c9390 updates streaming example for chat models 2023-03-02 22:42:03 -08:00
Ikko Eltociear Ashimine
2c4ff6d49e fix typo in Gen_QA.ipynb
recieve -> receive
2023-03-03 15:14:09 +09:00
Ted Sanders
5b956ab602 adds examples of counting tokens for the ChatGPT API 2023-03-02 12:52:26 -08:00
Ted Sanders
d78bf7e5e0 Ted/chat api (#163)
* adds example for calling ChatGPT API

* updates table of contents with ChatGPT API
2023-03-01 10:00:07 -08:00
colin-openai
0c1912b8b8 Switching character chunking out for token-based chunking 2023-03-01 04:01:28 -08:00
colin-openai
9f2915b92c Pushing updated version with grammar changes 2023-03-01 03:31:26 -08:00
colin-openai
2e64a89e3e Notebook demonstrating approach to extracting entities from a long document 2023-02-20 02:25:42 -08:00
Kacper Łukawski
cf775e1823 Remove the output of pip install command 2023-02-16 18:35:41 +01:00
Kacper Łukawski
56cf33709e Add an example of how to use Langchain with Qdrant and OpenAI embeddings 2023-02-16 18:32:56 +01:00
Kacper Łukawski
c86180c5da Add "Getting started" notebook for Qdrant 2023-02-16 16:30:25 +01:00
Kacper Łukawski
97ed39cc28 Update Qdrant to 1.0.1 2023-02-16 10:50:24 +01:00
Filip Haltmayer
b2d5c21969 Add Milvus vector db
Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
2023-02-15 11:49:27 -08:00
colin-openai
7121e73514 Merge pull request #131 from Spartee/add-redis-example
Add Redis example notebooks and READMEs
2023-02-15 08:04:01 -08:00
Sam Partee
7de5f3e169 Add docker-compose and cleanup 2023-02-14 13:05:41 -08:00
Sam Partee
f387d9a8dd Add Redis example notebooks and READMEs 2023-02-13 18:08:24 -08:00
Ted Sanders
c8e9ea249c updates docker link to docker.com (#129) 2023-02-13 16:56:13 -08:00
colin-openai
01e0ff2161 Merging Weaviate notebooks to main (#122)
* updates Weaviate vector database Cookbook examples
2023-02-13 10:33:00 -08:00
Ted Sanders
32a597484e Merge pull request #100 from scottire/main
Add W&B embedding projector example
2023-02-09 10:35:03 -08:00
Scott Condron
221f5de9f8 Removing top from blurb 2023-02-09 18:33:15 +00:00
Scott Condron
20bff60b98 Add W&B Blurb 2023-02-09 15:39:03 +00:00
colin-openai
9637246ccc Merge pull request #121 from openai/colin
Fixed commented out vector
2023-02-09 02:15:15 -08:00
colin-openai
5b523fca95 Fixed commented out vector 2023-02-09 02:14:24 -08:00
jamescalam
89203df9ef added pinecone-openai gen qa example 2023-02-08 10:49:53 +04:00
Ted Sanders
52028fad93 Merge pull request #117 from Tobel158/patch-1
Update Question_answering_using_embeddings.ipynb
2023-02-07 09:23:24 -08:00
Tobel
480435aae5 Update Question_answering_using_embeddings.ipynb
remove typo
2023-02-06 19:53:18 -05:00
Filipe de Avila Belbute Peres
451581a2bd Fix weighted average 2023-02-06 13:51:06 -08:00
Ted Sanders
7de1f3c272 Merge pull request #105 from wa11breaker/main
docs: fix example code in fine-tuned_qa section 2.3
2023-02-06 09:37:27 -08:00
Ted Sanders
df53afe49b Merge pull request #95 from akshayvkt/patch-1
Updated a markdown in Clustering.ipynb
2023-02-06 09:26:05 -08:00
Ted Sanders
1b0f0fc1b1 Merge pull request #92 from Androbin/patch-1
Encode separator for completions endpoint
2023-02-06 09:24:42 -08:00
Ted Sanders
84abe38bf4 Merge pull request #56 from openai/colin
Initial commit of vector database example with new embeddings
2023-02-06 09:20:01 -08:00
colin-openai
98b0fd176d Pushing update to remove data loading 2023-02-06 03:48:31 -08:00
Akshay
f50d8a1813 docs: fix example code in fine-tuned_qa section 2.3 2023-02-04 11:10:15 +05:30
Scott
c22c048121 Add W&B embedding projector example 2023-02-01 13:52:08 +00:00
colin-openai
c8b7280ec5 Updated to align wording 2023-01-31 14:37:22 -08:00
Akshay Chintalapati
14e6caeb84 Update Clustering.ipynb
Updated the penultimate markdown to align with the code in the following cell
2023-01-30 00:26:15 -08:00
Robin Richtsfeld
b13e040443 Encode separator for completions endpoint
`SEPARATOR` is being used to construct a prompt for use with the completions endpoint
2023-01-29 02:13:55 +01:00
Ted Sanders
5c7e36f574 updates model name in text description of Q&A notebook 2023-01-27 16:27:26 -08:00
colin-openai
6d0203788c Tested notebook end to end 2023-01-26 11:11:23 -08:00
colin-openai
d93ce7bb48 Updated text to include Qdrant in guide 2023-01-25 16:42:33 -08:00
Bryan Ricker
7f3d4952f8 fix typo 2023-01-24 17:13:24 -08:00
Ted Sanders
6e346ac850 updates streaming guide with note about usage field 2023-01-20 14:38:12 -08:00
Ted Sanders
5c757fe90d updates rate limit notebook with links to parallel processing script 2023-01-20 14:30:55 -08:00
Ted Sanders
fe11592f6a adds parallel processing script 2023-01-20 14:07:18 -08:00
Ted Sanders
f90d5785c7 Merge pull request #77 from Pankaj-Baranwal/patch-1
Replaced non-existent model with the new version.
2023-01-19 14:38:35 -08:00
Filipe de Avila Belbute Peres
1670b76bac Convert back to list only after all np operations 2023-01-19 10:27:24 -08:00
Ted Sanders
77e104a0c7 normalizes averaged embeddings to length 1 2023-01-19 10:11:34 -08:00
Ted Sanders
0c4e0e2828 polishes text and re-runs notebook 2023-01-19 10:04:31 -08:00
Filipe de Avila Belbute Peres
448fbb2946 Print len instead of full array 2023-01-18 18:22:03 -08:00
Filipe de Avila Belbute Peres
6f274b4f5f Wrap error message to avoid saving all the trace to the notebook 2023-01-18 18:20:01 -08:00
Filipe de Avila Belbute Peres
2b9e3d65bd Change len_safe function signature + other changes 2023-01-18 18:16:22 -08:00
Filipe de Avila Belbute Peres
530757795d Rename file 2023-01-18 17:51:32 -08:00
Filipe de Avila Belbute Peres
dd75df48c1 Finish first draft 2023-01-18 17:50:31 -08:00
Kacper Łukawski
d9d71d092a Add Qdrant as another example of vector database 2023-01-18 11:15:36 +01:00
Filipe de Avila Belbute Peres
cebd6c68e1 Write initial draft 2023-01-17 18:17:39 -08:00
Ted Sanders
22baac6106 adds tiktoken example 2023-01-17 13:23:06 -08:00
Colin Jarvis
21d02a2c26 Updated wordings of headers 2023-01-16 07:47:58 -08:00
Colin Jarvis
ac7dcbf91f Updated title 2023-01-16 07:45:17 -08:00
Colin Jarvis
ec22962150 Updated document name to be more descriptive 2023-01-16 07:41:42 -08:00
Colin Jarvis
5ffd9e72ec Pushing updated version responding to PR comments 2023-01-16 07:41:10 -08:00
Pankaj
132597b19e 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
2023-01-16 12:46:24 +05:30
Ted Sanders
46b9e5cd62 Merge pull request #50 from cmurtz-msft/azure-openai-ga
Azure OpenAI GA
2023-01-13 19:57:21 -08:00
Ted Sanders
30ee4be069 updates Q&A example with latest embedding and completion models 2023-01-11 08:45:56 -08:00
Colin Jarvis
ed17c4c1b9 Added notes where users can consider adding thread pool to speed up upsert operation 2023-01-11 04:04:16 -08:00
Colin Jarvis
1912234327 Removed extra whitespace within Weaviate query function 2023-01-11 04:01:29 -08:00
Colin Jarvis
8998ee9325 Pushing updated Vector DB introduction notebook with PR changes 2023-01-11 03:55:23 -08:00
Ted Sanders
ec4bf58c85 updates # of dimensions in embedding visualization examples 2023-01-10 15:58:38 -08:00
Ted Sanders
fba3d8e343 updates embedding examples based on ada-002 2023-01-10 10:37:25 -08:00
Colin Jarvis
6d68bfe78e Merge branch 'main' into colin 2023-01-09 04:54:52 -08:00
Shyamal H Anadkat
dcd38bfbbc Merge pull request #46 from scottleibrand/patch-1
Only get_embedding once
2023-01-08 16:07:43 -08:00
Shyamal H Anadkat
a41b3805f1 Merge pull request #54 from oaosman84/patch-1
Remove obsolete reference to old embedding engines
2023-01-08 16:06:08 -08:00
gloryjain
b383b0692e Update notebook to point to form
Route rate limit increase requests to form instead of our support email
2023-01-06 12:05:16 -08:00
Colin Jarvis
95b562c4fe Initial commit of vector database example with new embeddings 2023-01-05 01:54:46 -08:00
Osman A. Osman
dda1041396 Remove obsolete reference to old embedding engines 2023-01-03 19:00:13 -08:00
Scott Leibrand
72b8e83b0c 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.
2022-12-23 12:30:26 -08:00
Christian Muertz
f460efd2b8 Update ad auth section 2022-12-22 11:03:39 +01:00
Christian Muertz
0fba046b9b Fix setup sections 2022-12-22 11:03:39 +01:00
Christian Muertz
31d6aa61d4 Fix typo 2022-12-22 11:03:39 +01:00
Christian Muertz
8edaf1ea86 Adjust finetuning setup section 2022-12-22 11:03:39 +01:00
Christian Muertz
381dde363f Add ad auth to embeddings example 2022-12-22 11:03:39 +01:00
Christian Muertz
268c37ae02 Fix completions notebook 2022-12-22 11:03:39 +01:00
Christian Muertz
68cbe97a1f Update metadata of azure notebooks 2022-12-22 11:03:39 +01:00
Christian Muertz
83a5e98f6e Simple example just for completions with davinci 2022-12-22 11:03:39 +01:00
Christian Muertz
83f359aa95 Fix finetuning example 2022-12-22 11:03:38 +01:00
Christian Muertz
26ab363c26 Update embeddings notebook
* Update api_version to 2022-12-01
* Fix some texts
2022-12-22 11:03:38 +01:00
Logan Kilpatrick
9b88defaf7 updates embedding examples with new embedding model 2022-12-15 09:58:37 -08:00
Arun Chandrasekhar
d0607ffb86 Added .default scope to URI to get token using DefaultAzureCredential
Fixing issue encountered when using this in some contexts (like virtual environments in notebooks).
2022-11-18 09:28:51 -08:00
Ted Sanders
e45c7a1182 adds unit test example 2022-11-15 13:24:11 -08:00
Stanislav Termosa
18bd018d27 Update olympics-1-collect-data.ipynb
Fix typo with duplicated "the the"
2022-11-06 16:54:54 +02:00
Ted Sanders
ccd1b69373 updates DALL-E API example 2022-11-04 18:32:32 -07:00
Ted Sanders
43b2030c8c fixes two broken links to embedding guide 2022-11-03 11:18:13 -07:00
Boris Power
2a5af82cbc Merge pull request #26 from colin-jarvis/main
Adding transaction classification notebooks
2022-10-26 17:50:49 -07:00
Colin Jarvis
a1aedd2a3f Removed helpers 2022-10-26 17:13:15 +01:00
Colin Jarvis
79212f538f Merge branch 'main' of https://github.com/colin-jarvis/openai-cookbook 2022-10-26 16:30:46 +01:00
Colin Jarvis
6d349e11de Resolved PR comments from Boris 2022-10-26 16:30:38 +01:00
Ted Sanders
89dceadda8 fixes broken link to QA notebook 2022-10-24 16:31:33 -07:00
Ted Sanders
55a23f4e85 updates warning formatting to HTML to improve display on GitHub 2022-10-24 14:03:11 -07:00
Ted Sanders
2d69641fc2 adds warning to QA example code 2022-10-24 13:46:57 -07:00
Ted Sanders
fd9c8587a0 Revert "removes old Q&A example now that a better alternative exists"
This reverts commit 02295444f7.
2022-10-24 13:28:47 -07:00
Colin Jarvis
f1033fdeb8 Merge branch 'openai:main' into main 2022-10-20 23:45:06 +01:00
Colin Jarvis
b10c99334b Added write-up to Clustering for transaction classification notebook 2022-10-20 23:42:19 +01:00
Colin Jarvis
309055fb6f Initial commit of transaction classification notebooks 2022-10-20 23:31:42 +01:00
Ted Sanders
0f533c0991 small updates to streaming example 2022-10-12 15:54:19 -07:00
Colin Jarvis
7141eeef87 Removed line from notebook 2022-09-29 18:30:29 +01:00
Colin Jarvis
fe8a38d09d Removed images from folder 2022-09-29 08:34:34 +01:00
Colin Jarvis
b82a59e98c Fixed Edits endpoint by applying new masking approach 2022-09-29 08:33:24 +01:00
Colin Jarvis
10a92863df Added Generations and Variations endpoint examples for DALL-E API. Edits endpoint example is included but is WIP, getting an error currently 2022-09-28 21:15:02 +01:00
Sorin Suciu
18843bdc63 Change scale_type in the create deployment examples 2022-09-19 14:42:29 +02:00
Ted Sanders
b20ba01fb5 removes old Q&A example now that a better alternative exists 2022-09-15 10:46:27 -07:00
Ted Sanders
2d8de299fd adds guide for how to handle rate limits 2022-09-12 16:55:35 -07:00
Ted Sanders
bd447969e2 adds streaming example 2022-09-02 12:15:34 -07:00
Boris Power
e6275da8ec update search example 2022-07-20 17:42:02 -07:00
Ted Sanders
848c00a55e updates azure examples 2022-07-20 17:39:56 -07:00
Ted Sanders
adc73134dd migrates Azure examples from openai-python library 2022-07-12 15:26:37 -07:00
Ted Sanders
d4b542f210 adds prefiltered data and precomputed embeddings to Customizing_embeddings.ipynb 2022-07-12 15:26:19 -07:00
Ted Sanders
247fda55db adds precomputing embeddings, changes engine name to match, fixes typo 2022-07-12 15:26:05 -07:00
Ted Sanders
2927cc86a1 adds data download from CDN with precomputed embeddings 2022-07-12 15:25:56 -07:00
Ted Sanders
ab92058214 moves dbpedia embeddings to data folder 2022-07-12 15:25:43 -07:00
Ted Sanders
a210e47e5c adds warning about needing to compute file with embeddings 2022-07-12 15:25:35 -07:00
Ted Sanders
a3268d9733 adds data download from CDN with precomputed embeddings 2022-07-12 15:25:23 -07:00
Ted Sanders
7add3ed84e adds data download from CDN with precomputed embeddings 2022-07-12 15:25:10 -07:00
Ted Sanders
3f4d23090d adds link to full dataset from AG 2022-07-12 15:24:54 -07:00
Ted Sanders
da8725cdd7 lint 2022-07-12 15:24:43 -07:00
Ted Sanders
0938a054b3 clarifies name of Classification example using embeddings 2022-07-12 15:24:27 -07:00
Ted Sanders
46c32a35fe lint 2022-07-12 15:23:26 -07:00
Ted Sanders
2a6855133a adds precomputed embeddings 2022-07-12 15:22:46 -07:00
Ted Sanders
295b1de8af adds data for Obtain_dataset.ipynb 2022-07-12 15:22:29 -07:00
Ted Sanders
8fe1761eed renames context_embeddings to document_embeddings 2022-07-12 15:21:44 -07:00
Mike Heaton
9cd664ddca Update Question_answering_using_embeddings.ipynb 2022-07-11 20:24:33 +03:00
Mike Heaton
35f209d764 minor renaming 2022-06-20 10:03:31 -07:00
Mike Heaton
ae156be8fb question answering using embeddings 2022-06-20 09:44:38 -07:00
Mike Heaton
2de41f7b91 draft 2022-06-10 16:58:15 -07:00
Boris Power
535f545be7 Initial commit 2022-06-03 12:56:03 -07:00