Skip to content

Commit

Permalink
Deployed 7d07e1e with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
MaartenGr committed Nov 27, 2023
1 parent c7f798b commit d66864a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -3214,9 +3214,10 @@ <h3><b><a href="https://maartengr.github.io/BERTopic/getting_started/representat
<span class="n">tokenizer</span><span class="o">=</span> <span class="n">tiktoken</span><span class="o">.</span><span class="n">encoding_for_model</span><span class="p">(</span><span class="s2">&quot;gpt-3.5-turbo&quot;</span><span class="p">)</span>

<span class="c1"># Create your representation model</span>
<span class="n">openai</span><span class="o">.</span><span class="n">api_key</span> <span class="o">=</span> <span class="n">MY_API_KEY</span>
<span class="n">client</span> <span class="o">=</span> <span class="n">openai</span><span class="o">.</span><span class="n">OpenAI</span><span class="p">(</span><span class="n">api_key</span><span class="o">=</span><span class="s2">&quot;sk-...&quot;</span><span class="p">)</span>
<span class="n">representation_model</span> <span class="o">=</span> <span class="n">OpenAI</span><span class="p">(</span>
<span class="n">model</span><span class="o">=</span><span class="s2">&quot;gpt-3.5-turbo&quot;</span><span class="p">,</span>
<span class="n">client</span><span class="p">,</span>
<span class="n">model</span><span class="o">=</span><span class="s2">&quot;gpt-3.5-turbo&quot;</span><span class="p">,</span>
<span class="n">delay_in_seconds</span><span class="o">=</span><span class="mi">2</span><span class="p">,</span>
<span class="n">chat</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
<span class="n">nr_docs</span><span class="o">=</span><span class="mi">4</span><span class="p">,</span>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit d66864a

Please sign in to comment.