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

Harrison/cohere params #1278

Merged
merged 2 commits into from
Feb 24, 2023
Merged

Harrison/cohere params #1278

merged 2 commits into from
Feb 24, 2023

Conversation

hwchase17
Copy link
Contributor

No description provided.

stepp1 and others added 2 commits February 24, 2023 07:21
As #798, this commit adds the option to truncate the user's inputs
larger than what the model can handle.

This defaults to None in the Cohere SDK instead of directly passing
"NONE", so I maintained the same default value (see:
https://github.com/cohere-ai/cohere-python/blob/7f30bfd40c98b88f7d08f8c05db5b91ddb1310d1/cohere/client.py#L127)


PS: I think that both this and #798 should default to the same value.
@hwchase17 hwchase17 merged commit 7e8f832 into master Feb 24, 2023
@hwchase17 hwchase17 deleted the harrison/cohere-params branch February 24, 2023 15:38
mpuig added a commit to mpuig/langchain that referenced this pull request Feb 25, 2023
* master: (28 commits)
  bump version to 0094 (langchain-ai#1280)
  feat: document loader for MS Word documents (langchain-ai#1282)
  cleanup (langchain-ai#1274)
  Harrison/cohere params (langchain-ai#1278)
  Harrison/logprobs (langchain-ai#1279)
  Harrison/fb loader (langchain-ai#1277)
  Harrison/errors (langchain-ai#1276)
  adding .ipynb loader and documentation Fixes langchain-ai#1248 (langchain-ai#1252)
  Harrison/source docs (langchain-ai#1275)
  Add Writer, Banana, Modal, StochasticAI (langchain-ai#1270)
  searx: add `query_suffix` parameter (langchain-ai#1259)
  fix bug with length function (langchain-ai#1257)
  docs: remove nltk download steps (langchain-ai#1253)
  added caching and properties docs (langchain-ai#1255)
  bump version to 0093 (langchain-ai#1251)
  Add DeepInfra LLM support (langchain-ai#1232)
  docs: add Graphsignal ecosystem page (langchain-ai#1228)
  fix to specific language transcript (langchain-ai#1231)
  add ifttt tool (langchain-ai#1244)
  Don't instruct LLM to use the LIMIT clause, which is incompatible with SQL Server (langchain-ai#1242)
  ...
zachschillaci27 pushed a commit to zachschillaci27/langchain that referenced this pull request Mar 8, 2023
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.

2 participants