Comments (14)
HI, Which project did you fail to build, and what was the error?
from langchain-swift.
Because SPM uses git tags as versions, 0.7.0 and 0.16.0 are available versions, and 0.16.0 is newer than 0.7.0.
from langchain-swift.
I am using version 0.16.0 anf the error is LangChain module not found. One notable difference is that you are using LangChain in the Share app for the Share Extension. My use case is slightly different in that I want to use it directly from my app. I declare an NSObject class where I import LangChain. When I build I get the module not found error. In my langchain-swift package the LangChain.swift file only contains:
//
// File.swift
//
//
// Created by ι‘Ύθ³ε on 2023/6/11.
//
import Foundation
from langchain-swift.
BTW, thanks for the response much appreciated
from langchain-swift.
I am trygin to open the Writer project to see how you are using LangChain there but I am getting that you used a future version of xcode... probably beta. Please let me know what version of xcode I can use to view the Writer project. Thanks
from langchain-swift.
Sorry, I push writer_public using the local version of langchain-swift. BTW, if there is only one file in the dependent lc-swift you can try to delete and add it again.
from langchain-swift.
You can create a blank project and just depend on langchain-swift.
from langchain-swift.
Thanks ... I am passed the issues I was having after clearing cache and derived data etc.
from langchain-swift.
I try vision pro sim, so use
Version 15.0 beta 4 (15A5195m)
FYI
I didn't know that the xcode version also had an impact...
from langchain-swift.
OK good to know ... thanks
from langchain-swift.
Is there anything I can do to help?
from langchain-swift.
Yes... thank you.... I see the openai is using chatgpt 3.5 turbo... can I use chatgpt 4? I have more questions but this is good for now
from langchain-swift.
thanks
from langchain-swift.
sure,please use version 0.16.0+.
import OpenAIKit
let llm = OpenAI(model: Model.GPT4.gpt4)
from langchain-swift.
Related Issues (20)
- Bilibil jct and session move to env.txt
- Add Notion Loader
- Add RSS Loader
- TMdb Loader
- Pabbly Connect Support HOT 1
- calibre loader
- There are security issues with using env.txt. HOT 1
- Add swift-format and swift-lint
- Add FileStore
- Implement LocalFileStore allKeys function
- Upgrade swift-filestore versiom.
- Test for visionOS
- Ollama support HOT 4
- Gemini support
- LMStudio API support
- Is there a plan to replace OpenAIKit? HOT 15
- Not set cache when llm return nil.
- Get Location Tool can't access GPS location HOT 9
- generative-ai-swift and Gemini.swift fail HOT 4
- Issue with Async-http-client package for WatchOS app HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from langchain-swift.