Conversation
openai: Rename MaxTokens to MaxCompletionTokens
examples: add openai-o1-example
optimize the mrkl prompt Co-authored-by: chensilun <chensilun@baidu.com>
Added missing Type method, interface OutputParser in documentation is now identical to the /schema/output_parser.go
The BooleanOutputParser requests the LLM to respond with a boolean, and gives examples such as `true` or `false`. However, it only parsed respones that include YES or NO. This commits adds more values for parsing and changes the tests to fit them.
The DefinedOutputParser prompted the LLM with a Typescript schema, but expected a json in response: https://github.com/tmc/langchaingo/blob/1975058648b5914fdd9dc53434c5b59f219e2b5c/outputparser/defined.go\#L65-69 Now it also requests a json.
Originally the MarkdownTextSplitter would split tables into chunks for each row (producing a header + single row) in each chunk. This change adds an option to join multiple rows into a single chunk. Fixes: tmc#938
* googleai: add support for JSONMode and ResponseMIMEType * llms: update comments to match linting rules
…mpletions api (tmc#986) openai: add support for structured output request
Vector range queries expect a radius rather than a score threshold.
milvus: add disableFlush option
outputparser: replace strings.Split with strings.Cut in structured parser
fix(bedrock): Handle unchecked error when stream channel is closed
* feat: add fake package
…example (tmc#969) replaced compose v1 with compose v2 in readme
* mongovector: Add mongo vectorstore implementation --------- Co-authored-by: Travis Cline <travis.cline@gmail.com>
* examples: Point examples to v0.1.13-pre.0 * examples: fix typo in o1
add image and text content example to openai
test: containerize mongovector tests
…ersion deps: update mistral go version
[dependency] Upgrade to mongo-go-driver v2.0.0
docs: Update Discord invite link in README
docs: Add mongovector README.md and example
Add ReasoningContent field for deepseek-reasoner model
fix docs publishing
fix docs publishing, use v3 of upload artifact
* fix discord link
…uman messages. (tmc#1141) * anthropic: Add support for multi content part in human messages. * examples: Add Anthropic Vision example * fix: move base64 encoding in the lib
* feat: implement StreamingReasoningFunc for resoning models * Using deepseek example for streaming reasoning content
# Conflicts: # chains/sequential.go # embeddings/embedding.go # examples/vertex-completion-example/go.sum # llms/googleai/googleai.go # llms/googleai/vertex/vertex.go # textsplitter/markdown_splitter_test.go
* chore: use slices and maps packages * chore: skip embedded type * chore: use fmt.Fprint instead * chore: use switch * chore: reorder imports * chore: add white lines * chore: use t.Setenv * chore: excplicitly omit non used param * chore: use t.TempDir * chore: use maps package * chore: migrate golangci-lint config file Run: "golangci-lint migrate -c .golangci.yaml --skip-validation" * chore: bump golangci-lint action to v7
# Conflicts: # chains/map_reduce.go # chains/map_rerank_documents.go # documentloaders/csv.go # examples/zep-memory-chain-example/main.go # outputparser/boolean_parser.go # vectorstores/chroma/chroma.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
memory: add interfaces for X, Yorutil: add whizzbang helpers).Fixes #123).golangci-lintchecks.