Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tiktoken override #6697

Merged
merged 3 commits into from
Jun 26, 2023
Merged

tiktoken override #6697

merged 3 commits into from
Jun 26, 2023

Conversation

hwchase17
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Jun 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Jun 25, 2023 7:05pm

@@ -170,6 +170,7 @@ class OpenAIEmbeddings(BaseModel, Embeddings):
request_timeout: Optional[Union[float, Tuple[float, float]]] = None
"""Timeout in seconds for the OpenAPI request."""
headers: Any = None
tiktoken_model_name: Optional[str] = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should add docstring for the reference

@bobmayuze
Copy link

Related to issue #2854

@dev2049 dev2049 merged commit e9877ea into master Jun 26, 2023
@dev2049 dev2049 deleted the harrison/tiktoken-override branch June 26, 2023 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants